I'm looking for a simple script...
#2

add Engine to your enum then you should add something like vehicleinfo[vehicleid][Engine] = 0;

And when a players enters a vehicle make a check like this

for(new i; i < MAX_VEHICLES; i++)
{
ifvehicleinfo[i][Engine] == 0)
{
// freeze the player here
}
else
{
unfreeze
}
}
Reply


Messages In This Thread
I'm looking for a simple script... - by 06leachr - 05.12.2010, 13:49
Re: I'm looking for a simple script... - by Hornet600 - 05.12.2010, 14:18
Re: I'm looking for a simple script... - by 06leachr - 05.12.2010, 14:20
Re: I'm looking for a simple script... - by Hornet600 - 05.12.2010, 14:21
Re: I'm looking for a simple script... - by 06leachr - 05.12.2010, 16:28

Forum Jump:


Users browsing this thread: 4 Guest(s)