Some Script Bugging
#10

You could try locking the doors so they can't even attempt. By locking the doors when the vehicle is streamed in.

Код:
public OnVehicleStreamIn(vehicleid, forplayerid)
{
    switch( GetVehicleModel(vehicleid) )
    {
        case 599, 596, 597, 598, 497, 520, 528, 425, 427, 532, 490:
        {
            if (!AccInfo[forplayerid][Police])
                SetVehicleParamsForPlayer(vehicleid, forplayerid, 0, 1);
            else
                SetVehicleParamsForPlayer(vehicleid, forplayerid, 0, 0);
        }	
    }
    return 1;
}
Tidied up a bit by using switch.
Reply


Messages In This Thread
Some Script Bugging - by Harith - 06.09.2015, 04:56
Re: Some Script Bugging - by Amizone - 06.09.2015, 05:05
Re: Some Script Bugging - by Harith - 06.09.2015, 05:11
Re: Some Script Bugging - by Harith - 06.09.2015, 05:13
Re: Some Script Bugging - by iggy1 - 06.09.2015, 05:50
Re: Some Script Bugging - by Harith - 06.09.2015, 06:17
Re: Some Script Bugging - by Harith - 06.09.2015, 06:21
Re: Some Script Bugging - by iggy1 - 06.09.2015, 06:31
Re: Some Script Bugging - by Harith - 06.09.2015, 06:54
Re: Some Script Bugging - by iggy1 - 06.09.2015, 07:04

Forum Jump:


Users browsing this thread: 1 Guest(s)