08.09.2012, 23:13
O que seria isso ? й para definir onde o player nascerб ?
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;
}
public OnPlayerSpawn(playerid)
{
PlayerPlaySound(playerid,1098, 0.0, 0.0, 0.0);
if(gTeam[playerid] == Grove)
{
SetPlayerColor(playerid, CorGrove);
SetPlayerPos(playerid, 2531.0586,-1666.2322,15.1678);
SetPlayerInterior(playerid, 0);
}
if(gTeam[playerid] == Ballas)
{
SetPlayerColor(playerid, CorBallas);
SetPlayerPos(playerid, 1153.6738,-1181.1735,32.8187);
SetPlayerInterior(playerid, 0);
}
if(gTeam[playerid] == Aztecas)
{
SetPlayerColor(playerid, CorAztecas);
SetPlayerPos(playerid, 2232.2813,-1158.4985,29.7969);
SetPlayerInterior(playerid, 0);
}
if(gTeam[playerid] == Vagos)
{
SetPlayerColor(playerid, CorVagos);
SetPlayerPos(playerid, 2752.3999,-1970.7333,17.3203);
SetPlayerInterior(playerid, 0);
}
return 1;
}
KRL MANO, TU JБ FEZ MAIS DE 50 POST HOJE NЙH?
LOOOOOOOOOOOOOOOOL, VAI ESTUDAR E PARA DE FICAR FAZENDO POST! |
KRL MANO, TU JБ FEZ MAIS DE 50 POST HOJE NЙH?
LOOOOOOOOOOOOOOOOL, VAI ESTUDAR E PARA DE FICAR FAZENDO POST! |