How to send a cmd as a player
#4

He wants to call a command as if the player typed it when he didn't. So if you wanted to kill a player, and for whatever reason didn't want to just set his health to 0, you could do something like this.

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


Messages In This Thread
How to send a cmd as a player - by John_Cooper - 27.04.2011, 04:01
Re: How to send a cmd as a player - by Backwardsman97 - 27.04.2011, 04:25
Re: How to send a cmd as a player - by Steven82 - 27.04.2011, 04:47
Re: How to send a cmd as a player - by Backwardsman97 - 27.04.2011, 05:10

Forum Jump:


Users browsing this thread: 1 Guest(s)