16.05.2010, 06:54
how do i make MY OWN /jail command?
i got no idea lol
i got no idea lol
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/jail", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid,x,y,z); // At x,y,z put coordinates of jail place there ...
return 1;
}
return 0;
}
Originally Posted by [A51
suicider ]
is this command JUST for lvl 5 admins or how can i change this(to a different level admin)? can i make the command just for 1 player only? and were do i put the code? after OnPlayerCommandText? |
If IsPlayerAdmin
and were do i put the code? |
OnPlayerCommandText
Originally Posted by BigM
pawn Код:
|