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

I'm looking for a simple script... which I can easily add to my gamemode.

I want the script to require you to do /engine upon entering a vehicle, before allowing it to move.
I also want a /seatbelt script, and a /checkbelt script for LEOs.

If anyone can put me in the right direction I would appreciate it.

Thanks.
Reply
#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
#3

Sorry, but I'm a complete noob. Can someone show me how to do this step-by-step?
Reply
#4

You could download a pre made script and learn with it.
Reply
#5

Yes that's a good idea, thank you for your help.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)