08.05.2014, 00:41
Quote:
|
When i type /rob or /rape or /kidnap or every command that need ID player to do it he say type the ID of player.
what to do ? |
pawn Код:
YCMD:rape(playerid, params[], help)
{
if(help) return SCM(playerid, COLOR_GREY, "Not supported");
new pid;
if(sscanf(params, "d", pid)) return SCM(playerid, -1, "USAGE: /rape [playerid]");
// code goes here
return 1;
}



?