toribio

toribio

Sep 13th, 2008
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.47 KB | None | 0 0
  1. public OnPlayerStateChange(playerid, newstate, oldstate)
  2. {
  3. //
  4.     if(newstate == PLAYER_STATE_DRIVER)
  5.     {
  6.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 432 || GetVehicleModel(GetPlayerVehicleID(playerid)) == 520)
  7.         {
  8.             if(LVL[playerid] <10)
  9.             {
  10.                 RemovePlayerFromVehicle(playerid);
  11.                 SendClientMessage(playerid, 0xFF0000AA, "Somente Para Vip�s!");
  12.             }
  13.         }
  14.     }
  15. //
  16.     return 1;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment