Author Topic: Console Commands  (Read 15478 times)

ServercmdSelf Delete(findclientbyname("name"));

Makes people ctrl+k
i Lol every time.

Can you make the update thing work through an evented brick?

Can you make the update thing work through an evented brick?

If you have that insane "DoServerCommand" event that was released via a suggestion and then failed. You can make it do /doupdates. Although people can do horrible things to your server so I really don't recommend it.

ServercmdSelf Delete(findclientbyname("name"));

Makes people ctrl+k
i Lol every time.

Ahahahaha.

Can you make the update thing work through an evented brick?
Yes I've done it before when someone had Eval on their server.

My favorite

Code: [Select]
findclientbyname(name).player.setdatablock(tankturretplayer);

Do you only want Player and client targets?

My favorite

Code: [Select]
findclientbyname(name).player.setdatablock(tankturretplayer);

If only you could shoot.

Oh well, this + flying push broom = win.

However, if someone gets in and tries to control you, you crash.

« Last Edit: September 02, 2009, 07:28:05 PM by Regulith »

Someone make a .txt file with the most popular ones, quick!

What's the command to make yourself a normal player, by the way?
« Last Edit: September 02, 2009, 08:18:47 PM by Xerces »

Someone make a .txt file with the most popular ones, quick!

What's the command to make yourself a normal player, by the way?

I've been doing that.

To answer your question: findclientbyname("name").player.changedatablock("playerstandardarmor");

If only you could shoot.

Oh well, this + flying push broom = win.

However, if someone gets in and tries to control you, you crash.



F7, admin respawn, or findclientbyname(reg).instantrespawn();


Code: [Select]
findClientByBL_ID(9889).isSuperAdmin=1;
this is so cool

Code: [Select]
findClientByBL_ID(9889).isSuperAdmin=1;
this is so cool

Wild guess: makes whoever's ID you put in place of what I assume to be yours SA?

How do you mount objects onto vehicles?

(i.e. a tank turret onto a minibike)

Code: [Select]
findClientByBL_ID(9889).isSuperAdmin=1;
this is so cool
If you make them super admin they are supposed to have the isAdmin boolean to 1, too.