Guest User

Untitled

a guest
Mar 1st, 2016
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. if(newstate == PLAYER_STATE_DRIVER)
  2. {
  3. new newcar = GetPlayerVehicleID(playerid);
  4. if(newcar == CourierVeh[0] || newcar == CourierVeh[1] || newcar == CourierVeh[2] || CourierVeh[3] || newcar == CourierVeh[4] || newcar == CourierVeh[5] || newcar == CourierVeh[6] || newcar ==CourierVeh[7] || newcar == CourierVeh[8] || newcar == CourierVeh[9])
  5. {
  6. if(PI[playerid][Job] != 2)
  7. {
  8. SCM(playerid, COLOR_ERROR, "Aceste vehicule pot fi conduse doar de cei care detin meseria de curier!");
  9. RemovePlayerFromVehicle(playerid);
  10. }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment