Help with a single command
#5

yes, i got it, lua-style is like this:

(example command, but works)

setTimer(function()setElementHealth(root,1000) end, 1000,30)

it sets a timer for 1 second which runs for 30 times, and sets everything's health to 1000 (vehicles, robots, players).

in lua, you need to write the first as a small one.
setTimer
setElementHealth
setElementPosition
outputChatBox (same as SendClientMessage in samp)

um, this was MTA.
Reply


Messages In This Thread
Help with a single command - by Stryp - 25.03.2011, 19:38
Re: Help with a single command - by MadeMan - 25.03.2011, 19:40
Re: Help with a single command - by Stryp - 25.03.2011, 19:41
Re: Help with a single command - by [ProX]BlueFire - 25.03.2011, 19:47
Re: Help with a single command - by Stryp - 25.03.2011, 19:52
Re: Help with a single command - by [ProX]BlueFire - 25.03.2011, 19:58
Re: Help with a single command - by Stryp - 25.03.2011, 20:00
Re: Help with a single command - by [ProX]BlueFire - 25.03.2011, 20:08

Forum Jump:


Users browsing this thread: 1 Guest(s)