04.01.2013, 15:05
pawn Код:
CMD:spawn(playerid,params[])
{
//new id;
if(sscanf(params, "u", params[0]))
return SendClientMessage(playerid, COLOR_WHITE, "comando errado, use /spawn [id]");
else if(params[0] == INVALID_PLAYER_ID)
SendClientMessage(playerid,COLOR_RED,"jogador invalido.");
else
{
SpawnPlayer(params[0]);
}
return 1;
}