16.06.2015, 02:26
tente isso:
PHP код:
CMD:start(playerid)
{
if(Player[playerid][Admin] >= 1)
{
SendClientMessageToAll(cor_branco," [A/D]{00BFFF}Round{FFFFFF} Iniciado! Aguarde a liberaзгo de um Administrador!");
for(new yeyeplayerid, e = GetMaxPlayers(); yeyeplayerid != e; ++yeyeplayerid)
{
ComandoBloqueado[yeplayerid] = true;
ResetPlayerWeapons(yeplayerid);
SetPlayerHealth(yeplayerid,100);
SetPlayerArmour(yeplayerid,100);
GivePlayerWeapon(yeplayerid,24,999);
GivePlayerWeapon(yeplayerid,27,999);
GivePlayerWeapon(yeplayerid,31,999);
TogglePlayerControllable(yeplayerid,0);
PlayerPlaySound(yeplayerid, 1057, 0,0,0);
TaNoRound[yeplayerid] = 1;
if(pTeam[yeplayerid] == TEAM_ALPHA)
{
SetPlayerInterior(yeplayerid,10);
SetPlayerPos(yeplayerid,-975.975708,1060.983032,1345.671875);
}
if(pTeam[yeplayerid] == TEAM_BETA)
{
SetPlayerInterior(yeplayerid,10);
SetPlayerPos(yeplayerid,-1130.8983,1057.7444,1346.4141);
}
}
}
return 1;
}