17.08.2013, 15:30
pawn Код:
CMD:respawn(playerid, params[])
{
new Tipo;
if (sscanf(params, "d", Tipo))
return SendClientMessage(playerid, 0xFF0000FF, "Uso correto: /respawn [1 - 2]");
if (Tipo < 0 || Tipo > 2)
return SendClientMessage(playerid, 0xFF0000FF, "Tipos: 1 e 2");
if (Tipo == 1)
SetPlayerPos(playerid, -1117.5160, -1013.9244, 129.2188);
if (Tipo == 2)
SetPlayerPos(playerid, -2125.8049, -361.9627, 34.8744 );
return 1;
}