Sending a command withing the script
#2

pawn Код:
CallLocalFunction("OnPlayerCommandText", "is", playerid, "/yourcommand");
I believe this also would work:

pawn Код:
OnPlayerCommandText(playerid, "/mycommand");
Reply


Messages In This Thread
Sending a command withing the script - by [L3th4l] - 18.10.2010, 23:31
Re: Sending a command withing the script - by LarzI - 18.10.2010, 23:36
Re: Sending a command withing the script - by [L3th4l] - 18.10.2010, 23:42
Re: Sending a command withing the script - by LarzI - 19.10.2010, 00:12

Forum Jump:


Users browsing this thread: 1 Guest(s)