OnPlayerEnterVehicle [+Rep]
#1

Well I've made this thing but aint working. If player enters turismo or infernus and he/she doesnt have 50+ score then he/she will be removed from the vehicle. I've made a code but aint working at all.

PHP код:
    if(GetVehicleModel(vehicleid) == 451)
    {
        if(
GetPlayerScore(playerid) <50) return RemovePlayerFromVehicle(playerid);
        return 
1;
    } 
So if player doesnt have 50 score he will be removed from the vehicle
If he have the required score he/she wont be removed.
Reply


Messages In This Thread
OnPlayerEnterVehicle [+Rep] - by Twinki1993 - 07.02.2012, 21:25
Re: OnPlayerEnterVehicle [+Rep] - by genesis87 - 07.02.2012, 21:33
Re: OnPlayerEnterVehicle [+Rep] - by _ReloadeD_ - 07.02.2012, 21:34
Re: OnPlayerEnterVehicle [+Rep] - by Nonameman - 07.02.2012, 21:38
Re: OnPlayerEnterVehicle [+Rep] - by Twinki1993 - 07.02.2012, 21:38
Re: OnPlayerEnterVehicle [+Rep] - by Nonameman - 07.02.2012, 21:43
Re: OnPlayerEnterVehicle [+Rep] - by iTorran - 07.02.2012, 21:43
Re: OnPlayerEnterVehicle [+Rep] - by Twinki1993 - 07.02.2012, 21:58
Re: OnPlayerEnterVehicle [+Rep] - by Tanush123 - 07.02.2012, 22:32
Re: OnPlayerEnterVehicle [+Rep] - by Nonameman - 08.02.2012, 13:52

Forum Jump:


Users browsing this thread: 4 Guest(s)