17.09.2012, 15:17
PHP код:
else if(gPlayerClass[playerid] == AIRFORCE)//This is for the Air Force class.
{
if (GetPlayerScore(playerid) >= 5500 && GetPlayerScore(playerid) <= 7000)
{
TogglePlayerControllable(playerid, 1);
ResetPlayerWeapons(playerid);
SpawnVehicleForPlayer(447, playerid);
}
if (GetPlayerScore(playerid) >= 7000 && GetPlayerScore(playerid) <= 7500)
{
TogglePlayerControllable(playerid, 1);
ResetPlayerWeapons(playerid);
SpawnVehicleForPlayer(425, playerid);
}
if (GetPlayerScore(playerid) >= 7500 && GetPlayerScore(playerid) <= 9000)
{
TogglePlayerControllable(playerid, 1);
ResetPlayerWeapons(playerid);
SpawnVehicleForPlayer(520, playerid);
}
if (GetPlayerScore(playerid) >= 9000 && GetPlayerScore(playerid) <= 9500)
{
TogglePlayerControllable(playerid, 1);
ResetPlayerWeapons(playerid);
SpawnVehicleForPlayer(592, playerid);
}
}