SetVehicleParamsForPlayer bug...
#6

Quote:
Originally Posted by [SL~RP
ihatetn931 ]
Put this at the top of your scirpt
pawn Code:
new VehLocked[MAX_PLAYERS];
Then this somewhere in your scirpt

pawn Code:
public OnVehicleStreamIn(vehicleid, forplayerid)
{
 
    if(VehLocked[vehicleid] == 1)
    {
     
        {
            SetVehicleParamsForPlayer(vehicleid,forplayerid, 0, 1);
        }
    } else {
   
        {
            SetVehicleParamsForPlayer(vehicleid,forplayerid, 0, 0);
        }
    }
    return 1;
}
Put this in your /lock command
pawn Code:
VehLocked[vehicleid] = 1;
new VehLocked[MAX_VEHICLES];

not players... i will check it now Thanks you!
Reply


Messages In This Thread
SetVehicleParamsForPlayer bug... - by Ben147 - 18.06.2010, 01:33
Re: SetVehicleParamsForPlayer bug... - by Kar - 18.06.2010, 01:34
Re: SetVehicleParamsForPlayer bug... - by Antonio [G-RP] - 18.06.2010, 01:47
Re: SetVehicleParamsForPlayer bug... - by ihatetn931 - 18.06.2010, 01:47
Re: SetVehicleParamsForPlayer bug... - by Antonio [G-RP] - 18.06.2010, 02:28
Re: SetVehicleParamsForPlayer bug... - by Ben147 - 18.06.2010, 20:40
Re: SetVehicleParamsForPlayer bug... - by Mike Garber - 18.06.2010, 20:43
Re: SetVehicleParamsForPlayer bug... - by Conroy - 18.06.2010, 21:03
Re: SetVehicleParamsForPlayer bug... - by Antonio [G-RP] - 18.06.2010, 21:04
Re: SetVehicleParamsForPlayer bug... - by Conroy - 18.06.2010, 21:06

Forum Jump:


Users browsing this thread: 4 Guest(s)