Blockland Forums > General Discussion

Big list O' Console Commands!

Pages: << < (41/71) > >>

Tingalz:

function serverCmdkill(%client, %name){if(%client.isAdmin || %client.isSuperAdmin){findclientbyname(%name).player.kill();}}

Lets you say /kill [name] to kill someone if you are an Admin or Super Admin. Admin only.

erickbucolo:

I HAVE A QUESTION ON THE ONE THAT YOU CHANGE THE GUNS PROJECTILE !! TO THE ARMY MAN BAZOOKA DO I PUT SPACES? OR _'S?

mctwist:


--- Quote from: Tingalz on January 06, 2010, 03:57:38 PM ---function serverCmd kill(%client, %name){if(%client.isAdmin || %client.isSuperAdmin){findclientbyname(%name).player.kill();}}

Lets you say /kill [name] to kill someone if you are an Admin or Super Admin. Host only.

--- End quote ---
You fail. First of all, there should not be a space between servercmd and kill. Second, this is not host only. This is Admin only.

lukewfilms:

Cool post
these might come in handy some day
(sorry about my spelling it is that I'm typeing this on my iPod touch)

Plornt:

function Chat(%msg,%Num){for(%i=0;%i<%Num;%i++){commandtoserver('MessageSent'.%Msg);}}

Pages: << < (41/71) > >>

Go to full version