Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock StateChange(playerid)
- {
- if(tInfo[playerid][tloaded])
- {
- if(Settings[detection][VEHICLERELATEDTAYLOR])
- {
- tInfo[playerid][SCTime]++;
- if(tInfo[playerid][CurrentState] == PLAYER_STATE_DRIVER && tInfo[playerid][LastState] == PLAYER_STATE_DRIVER)
- {
- PunishForType(playerid, VEHICLERELATEDTAYLOR);
- return 0;
- }
- else if(tInfo[playerid][SCTime] > 3)
- {
- PunishForType(playerid, VEHICLERELATEDTAYLOR);
- return 0;
- }
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement