30.09.2011, 17:58
pawn Код:
if(strcmp(cmdtext, "/spawn", true) == 0) // Teleporte Spawn
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid, 2107.0806,987.8856,10.8203);
SetPlayerFacingAngle(playerid,0.0);
new spawn[110], nome[24]; GetPlayerName(playerid, nome, 24);
format(spawn, sizeof(spawn), "%s foi para o Spawn. (/spawn)", nome);
SendClientMessageToAll(COR_BRANCA, spawn);
return 1;
}