SA-MP Forums Archive
I need some help.. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: I need some help.. (/showthread.php?tid=465885)



I need some help.. - sansk - 24.09.2013

Is there a way to make something like /forcecommand [playerid] [command]

And i know this is possible but i don't remember how to..:
/dance [1-5]


Re: I need some help.. - Pottus - 24.09.2013

You can call any callback directly this means all you need to do is call OnPlayerCommandText() with the forced command parameters.


Re: I need some help.. - sansk - 24.09.2013

oh ofc.. thanks xD