Seatbelt?
#1

removed - was hacked.
Reply
#2

wut?
Reply
#3

You make a new variable, new seatbelt[MAX_PLAYERS];
Then, on command /sb put seatbelt [playerid] = 1;
When they remove the belt (at OnPlayerExitVehicle, for example), put seatbelt[playerid] = 0;

Then comes this:
Код:
if(seatbelt[playerid] == 0 && !IsADMVCar(vehicle) && !IsADMVHeli(vehicle) && !IsABicycle(vehicle))
{
	SCM(playerid, COLOR_LIGHTGREEN,"Your seatbelt is not on type /sb to put your seatbelt on.");
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)