04.09.2015, 12:36
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
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