Aimcac

Simple Siren Script

Aug 30th, 2015
1,051
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.38 KB | None | 0 0
  1. addEventHandler("onVehicleEnter",root,function(player,seat)
  2.    if(player)and(seat==0)then
  3.         if getPlayerTeam(source, getTeamFromName("State Police") then
  4.               addVehicleSirens(source,3,7)
  5.          elseif getPlayerTeam(source, getTeamFromName("Police Department") then
  6.                addVehicleSirens(source,3,7)
  7.              end      
  8.           end
  9.        end
  10. end)
Advertisement
Add Comment
Please, Sign In to add comment