Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - deanosim1

Pages: [1]
1
Modification Help / Re: Torque Console Commands
« on: June 25, 2010, 12:22:36 PM »
Console only accepts two-lined codes...

function ServerCmdHelloWorld(%c){if(%c.isAdmin){MessageAll(' ',"HELLO WORLD!");}else{MessageAll(' ',"Hello World!");}echo(%c.name SPC "says Hello World!");}

And for %c.name, use %c.getPlayerName()

Is it possible in this bit MessageAll(' ',"HELLO WORLD!");} after the Hello World to have the players name?

Pages: [1]