Jump to content

Dimmitry007

Members
  • Posts

    145
  • Joined

  • Last visited

Everything posted by Dimmitry007

  1. i've created team called Admins And when i set my self Admin it works ofc it works :3 but when i reconnect i find my self not in the admins team i typed /oduty still nothing
  2. okay i made another one i maked it with command but it's not working function Team( thePlayer ) setPlayerTeam ( thePlayer, Admins ) end addCommandHandler ( "oduty", Team )
  3. hello i made a script that when player join and if he's admin he must be in Admins team But it's not working here's my code function team( player ) local accName = getAccountName(getPlayerAccount(player)) if isObjectInACLGroup ( "user." ..accName, aclGetGroup ( "Admin") ) then setPlayerTeam ( player, Admins ) end end
  4. addEventHandler ( "onVehicleStartExit", getRootElement(), exitVehicle )
  5. did you spawn cars from admin pane'? if you did it will not respawn you should change internal.db AND NEVER SPAWN CARS FROM ADMIN PANEL!
  6. maybe you can't change CJ skin :3
  7. cilent txd = engineLoadTXD ( "filename.txd" ) engineImportTXD ( txd, 0 ) dff = engineLoadDFF ( "filename.dff", 0 ) engineReplaceModel ( dff, 0 ) meta "filename.txd" /> "filename.dff" /> "cilent" type="client" />
  8. oh u mean u want to remove the exploded cars ok then try this -- 1 seg = 1000 local tiempoparadesaparecer = 5000 -- Function function desaparecer() setTimer(destroyElement, tiempoparadesaparecer, 1, source) end -- Event addEventHandler("onVehicleExplode", getRootElement(), desaparecer)
  9. this video is helpful watch it
  10. function dAllC(thePlayer) accountname = getAccountName(getPlayerAccount(thePlayer)) if isObjectInACLGroup("user." .. accountname, aclGetGroup("Admin")) then vehicles = getElementsByType("vehicle") for i,v in ipairs(vehicles) do destroyElement(getElementData(v, "parent")) destroyElement(v) outputChatBox("Cars have been deleted !",thePlayer, 255, 0, 0, false) end end end addCommandHandler("dallvehs", dAllC) try it
  11. evolutoin host is cheap and good
  12. here is an example local gate1 = createObject(980, 2610.001953125, 1918.07421875, 11.0234375) --the gate pos local Status = "closed" function Gate1() if (Status == "closed") then moveObject(gate1, 2000, 2637.943359375, 1920.3759765625, 11.0234375, 0, 0, 0)-- this is when the gate close position Status = "open" elseif (Status == "open") then moveObject(gate1, 2000, 2610.001953125, 1918.07421875, 11.0234375, 0, 0, 0)-- this is when gate open position Status = "closed" end end addCommandHandler ("gate", Gate1) -- to open the gate
×
×
  • Create New...