You need 20.000$ to enter in Hydra
#2

pawn Код:
public OnPlayerStateChange(playerid,newstate,oldstate)
{
    if (newstate == PLAYER_STATE_DRIVER && oldstate == PLAYER_STATE_ONFOOT)
    {
        new veh = GetVehicleModel(GetPlayerVehicleID(playerid));
        if (veh == hydra)
        {
            new m = GetPlayerMoney(playerid), cost = 20000;
            if (m < cost) RemovePlayerFromVehicle(playerid);
            else if(m > cost) GivePlayerMoney(playerid,-cost);
        }
        return 0;

    }
    return 1;
}
Reply


Messages In This Thread
You need 20.000$ to enter in Hydra - by Face9000 - 18.12.2010, 15:53
Re: You need 20.000$ to enter in Hydra - by admantis - 18.12.2010, 16:02
Re: You need 20.000$ to enter in Hydra - by blackwave - 18.12.2010, 16:05
Re: You need 20.000$ to enter in Hydra - by admantis - 18.12.2010, 16:06
Re: You need 20.000$ to enter in Hydra - by akis_tze - 18.12.2010, 16:06
Re: You need 20.000$ to enter in Hydra - by blackwave - 18.12.2010, 16:10
Re: You need 20.000$ to enter in Hydra - by admantis - 18.12.2010, 16:10
Re: You need 20.000$ to enter in Hydra - by akis_tze - 18.12.2010, 16:14
Re: You need 20.000$ to enter in Hydra - by Mr.Jvxmc - 18.12.2010, 16:22
Re: You need 20.000$ to enter in Hydra - by Steven82 - 18.12.2010, 17:08

Forum Jump:


Users browsing this thread: 3 Guest(s)