Help with GetPlayerScore
#1

PHP код:
    else if(gPlayerClass[playerid] == AIRFORCE)//This is for the Air Force class.
    
{
        if (
GetPlayerScore(playerid) >= 5500 && GetPlayerScore(playerid) <= 7000)
        {
            
TogglePlayerControllable(playerid1);
            
ResetPlayerWeapons(playerid);
            
SpawnVehicleForPlayer(447playerid);
        }
        if (
GetPlayerScore(playerid) >= 7000 && GetPlayerScore(playerid) <= 7500)
          {
            
TogglePlayerControllable(playerid1);
            
ResetPlayerWeapons(playerid);
            
SpawnVehicleForPlayer(425playerid);
        }
        if (
GetPlayerScore(playerid) >= 7500 && GetPlayerScore(playerid) <= 9000)
          {
            
TogglePlayerControllable(playerid1);
            
ResetPlayerWeapons(playerid);
            
SpawnVehicleForPlayer(520playerid);
        }
        if (
GetPlayerScore(playerid) >= 9000 && GetPlayerScore(playerid) <= 9500)
          {
            
TogglePlayerControllable(playerid1);
            
ResetPlayerWeapons(playerid);
            
SpawnVehicleForPlayer(592playerid);
        }
    } 
Any mistake why is the vehicle not spawned for them if they spawn.
Reply


Messages In This Thread
Help with GetPlayerScore - by jaami - 17.09.2012, 15:17
Re: Help with GetPlayerScore - by ViniBorn - 17.09.2012, 15:28
Re: Help with GetPlayerScore - by Black Wolf - 17.09.2012, 15:29
Re: Help with GetPlayerScore - by jaami - 18.09.2012, 00:03
Re: Help with GetPlayerScore - by Black Wolf - 18.09.2012, 01:39

Forum Jump:


Users browsing this thread: 1 Guest(s)