08.09.2012, 23:16
Basicamente sim, vou dar exemplo:
Usada com variбveis....Sem..
pawn Код:
public OnPlayerSpawn(playerid)
{
if(gTeam[playerid] == Aztecas)
{
SetPlayerColor(playerid, CorAztecas);
SetPlayerPos(playerid, 2232.2813,-1158.4985,29.7969);
SetPlayerInterior(playerid, 0);
}
if(gTeam[playerid] == Grove)
{
SetPlayerColor(playerid, CorGrove);
SetPlayerPos(playerid, 2531.0586,-1666.2322,15.1678);
SetPlayerInterior(playerid, 0);
}
return 1;
}