checkbelt
#2

Add on top of FS or GM:new bool:sb[MAX_PLAYERS];
And when he use SB,the command to put seat belt,add inside:sb[playerid] = true;
And on player connect,add:sb[playerid] = false;
And on player state change to on foot,add:sb[playerid] = false;
Then the command checksb,put codes and use this:if(sb[targetid] == true) return SCM(playerid,-1,"SB on");
And if(sb[targetid] == false) returb SCM(playerid,-1,"SB off");
Enjoy
Reply


Messages In This Thread
checkbelt - by alexanderjb918 - 04.09.2015, 11:42
Re: checkbelt - by Roberto80 - 04.09.2015, 12:36
Re: checkbelt - by Nour1 - 04.09.2015, 13:27

Forum Jump:


Users browsing this thread: 1 Guest(s)