Score Vehicle Pass [NEED HELP]
#5

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    if(GetVehicleModel(vehicleid) == 425 || GetVehicleModel(vehicleid) == 432)
    {
        if(GetPlayerScore(playerid) < 500)
        {
            TogglePlayerControllable(playerid,0);
            TogglePlayerControllable(playerid,1);
        }
    }
    return 1;
}
I prefer that IMHO...

anyways I'll explain what others will do:

1st one will stop the engine for the specific player when they pretty much press the enter button...
2nd one will let the player step out the car right after he entered the car and closed the door
my way will just stop the player from entering when he presses enter...

I think the 2nd one is the most acurate still I prefer my way...
Reply


Messages In This Thread
Score Vehicle Pass [NEED HELP] - by Sting. - 21.10.2011, 18:25
Re: Score Vehicle Pass [NEED HELP] - by austin070 - 21.10.2011, 18:53
Re: Score Vehicle Pass [NEED HELP] - by AeroBlast - 21.10.2011, 18:56
Re: Score Vehicle Pass [NEED HELP] - by austin070 - 21.10.2011, 19:21
Re: Score Vehicle Pass [NEED HELP] - by knackworst - 21.10.2011, 19:27
Re: Score Vehicle Pass [NEED HELP] - by [MWR]Blood - 21.10.2011, 19:31

Forum Jump:


Users browsing this thread: 3 Guest(s)