Jump to content

Gandon

Members
  • Posts

    8
  • Joined

  • Last visited

Gandon's Achievements

Newbie

Newbie (4/54)

0

Reputation

  1. ooh but where's the download link?
  2. yes only they can open the panel
  3. Strange both of them doesn't work it only teleport if player is on foot
  4. Hi guys I'm just lazy so I don't have time to do what I wanted but don't worry I'll pay Here's what I need: I need a GUI that opens only for admins and if admins press like B then there's a panel that shows what vehicle do you want to spawn and near it you can chooses like for who (Account, ACL Group, Team) and then when he press spawn it will spawn the vehicle where he was standing. As I said don't worry I pay
  5. Here's a script that I've done but the problem is that if the player is in a vehicle then he can't be teleported function Teleport() marker_areabase_gate_in = createMarker(2492.8999023438,2773.3000488281,9.6000003814697,"cylinder",7, 91, 0, 0, 26 ) marker_areabase_gate_out = createMarker(2502.1999511719,2773.3000488281,9.6000003814697,"cylinder",7, 91, 0, 0, 26 ) end addEventHandler ("onResourceStart",resourceRoot,Teleport) function teleport_areabase_gate1(thePlayer, hitElement) local skin = getElementModel (thePlayer) if ( skin == 130 or skin == 160) then if source == marker_areabase_gate_in then setElementPosition ( thePlayer, 2509.3999023438, 2773.5, 11,false) end end end addEventHandler ("onMarkerHit",getRootElement(),teleport_areabase_gate1) function teleport_areabase_gate2(thePlayer, hitElement) local skin = getElementModel (thePlayer) if ( skin == 130 or skin == 160) then if source == marker_areabase_gate_out then setElementPosition ( thePlayer, 2485.6999511719, 2773.5, 11,false) end end end addEventHandler ("onMarkerHit",getRootElement(),teleport_areabase_gate2)
×
×
  • Create New...