15.06.2015, 23:21
Opa , fui testar esse comando й apenas o team_alpha й setado , o outro simplesmente nгo acontece nada :/
qual й o erro ?
Att Moda
PHP код:
CMD:start(playerid)
{
if(Player[playerid][Admin] >= 1)
{
if(pTeam[playerid] == TEAM_ALPHA)
{
SetPlayerInterior(playerid,10);
SetPlayerPos(playerid,-975.975708,1060.983032,1345.671875);
}
if(pTeam[playerid] == TEAM_BETA)
{
SetPlayerInterior(playerid,10);
SetPlayerPos(playerid,-1130.8983,1057.7444,1346.4141);
}
SendClientMessageToAll(cor_branco," [A/D]{00BFFF}Round{FFFFFF} Iniciado! Aguarde a liberaзгo de um Administrador!");
ComandoBloqueado[playerid] = true;
ResetPlayerWeapons(playerid);
SetPlayerHealth(playerid,100);
SetPlayerArmour(playerid,100);
GivePlayerWeapon(playerid,24,999);
GivePlayerWeapon(playerid,27,999);
GivePlayerWeapon(playerid,31,999);
TogglePlayerControllable(playerid,0);
PlayerPlaySound(playerid, 1057, 0,0,0);
TaNoRound[playerid] = 1;
}
return 1;
}
Att Moda