How to send a cmd as a player
#1

How to send a cmd as a player like when someone joins make them type a cmd?
Reply
#2

You can't do commands that are built-in like '/q' but you can just do this for all others.

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

I dont quite understand this topic...
Reply
#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


Forum Jump:


Users browsing this thread: 1 Guest(s)