How to kick someone out of car...
#1

How could i make if a player is not a certain skin they cant enter the car then like 2 seconds later it kicks them out?? ex.( a civilian trys to enter PD car but will get kicked out when they get in.)
Reply
#2

pawn Код:
public OnGameModeInit() {
   SetTimer("RespawnAllVehicles", 86400000, 1);
}

forward RespawnAllVehicles();
public RespawnAllVehicles() {
   for(new v = 0; v < MAX_VEHICLES; v ++ ) {
      SetVehicleToRespawn(v);
   }
}
Yes 86400000 is 24 hours.

http://www.******.com/search?hl=en&s...n+mil&gs_rfai=
Reply
#3

Thank you very much you are a life saver xD.
Reply
#4

Quote:
Originally Posted by Steven82
Thank you very much you are a life saver xD.
No problem. :P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)