/seatbelt on vehicle exit?
#4

I don't know what command processor you use, but if you have the /seatbelt command coded in ZCMD, something like this could work:

pawn Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
    // You should perform a check here to see if they have the seatbelt on, I added an example below.
    if(pSeatbelt[playerid] == 1) return cmd_seatbelt(playerid, params);
    return 1;
}
Reply


Messages In This Thread
/seatbelt on vehicle exit? - by Vataglio - 23.01.2011, 02:15
Re: /seatbelt on vehicle exit? - by Gabe - 23.01.2011, 02:37
Re: /seatbelt on vehicle exit? - by Vataglio - 23.01.2011, 02:44
Re: /seatbelt on vehicle exit? - by Scenario - 23.01.2011, 03:00
Re: /seatbelt on vehicle exit? - by Steven82 - 23.01.2011, 03:51

Forum Jump:


Users browsing this thread: 1 Guest(s)