Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. I don't get what do you mean..
  2. Yeah well, i guess he wants the Special versions i made for some servers
  3. He didn't anything, i sent him the old code.. i guess he edited something wrong (like ever)
  4. Castillo

    Teams

    For anything you got to script it yourself or pay someone to make it for you (which is hard at this days)
  5. ye u mi550 no imperio hes not cookie he meant maybe if you are cookie?
  6. Not needed to post all this, just a "thank you it works" its enough. i help everyone and they help me thats how it works or 100$ wtf??
  7. maybe go back to mta wiki and re-think all again?
  8. you are doing the script client side right? cause setElementCollisionsEnabled function its only client side.
  9. give us more information, do you get any error? warning anything? /debugscript 3 in game to put debug on.
  10. Castillo

    DD/DM loses

    your element data maybe is nil or something like that.
  11. Not needed to post all this, just a "thank you it works" its enough. i help everyone and they help me thats how it works
  12. maybe make 2 new functions? lock, unlock? local lock = 0 function lock() lock = 1 end function unlock() lock = 0 end when execute your function add, setTimer ( lock, 50, 1 ) setTimer ( unlock, 6000, 1 ) and also check if time its 1 if lock == 1 then outputChatBox("ERROR: You can fix once every 6 seconds.",255,0,0) and that should work?
  13. uhm you forgot a comma after "!" function wb ( playerSource, command, who ) outputChatBox ("# 808080 <# 00FFFF" .. getPlayerName (playerSource).."# 808080> Welcome Back, ".. getPlayerName (playerSource) .." ! ",getRootElement (), 255, 255, 255, true) end addCommandHandler ( "wb", wb )
  14. I think you didn't understand DMC post.
  15. try this maybe, addEventHandler("onPlayerJoin",getRootElement(), function () lifttargy = CreateObject(1301,-682.98144531,1017.06542969,10.673,0.00000000,0.00000000,0.00000000) liftmarkerje = createMarker(-682.98144531,1017.06542969,12,'cylinder',3,0,0,0,0) addEventHandler ('onMarkerHit', liftmarkerje, liftfel) addEventHandler ("onMarkerLeave",liftmarkerje, liftle) end) function liftfel (hitPlayer,matchingDimension) local skin = getElementModel (hitPlayer) if skin == 0 or skin == 285 then moveObject (lifttargy,10000,-682.98162842,1017.06610107,511.943,0.00000000,0.00000000,0.00000000) else killPed (hitPlayer) end end function liftle (hitPlayer,matchingDimension) moveObject (lifttargy,10000,-682.98144531,1017.06542969,10.673,0.00000000,0.00000000,0.00000000) end
  16. addEventHandler("onPlayerJoin",getRootElement(), function () lifttargy = CreateObject(1301,-682.98144531,1017.06542969,10.673,0.00000000,0.00000000,0.00000000) liftmarkerje = createMarker(-682.98144531,1017.06542969,12,'cylinder',3,0,0,0,0) end) function liftfel (hitPlayer,matchingDimension) local skin = getElementModel (hitPlayer) if skin == 0 or skin == 285 then moveObject (lifttargy,10000,-682.98162842,1017.06610107,511.943,0.00000000,0.00000000,0.00000000) else killPed (hitPlayer) end end addEventHandler ('onMarkerHit', liftmarkerje, liftfel) function liftle (hitPlayer,matchingDimension) moveObject (lifttargy,10000,-682.98144531,1017.06542969,10.673,0.00000000,0.00000000,0.00000000) end addEventHandler ("onMarkerLeave",liftmarkerje, liftle) you put wrong syntax at function.
  17. hey, i made a script that when you exit a vehicle it sets a timer and when you enter it kills it but the problem is this, all working fine but i'm using mabako's spray script and when he enters garage changes color etc it won't respawn, i have tryed setting colour via admin panel and that has no problem.
  18. dunno if its needed to put the object into a function, i ever made it without function
  19. well, the event must go after function not in function body, and also got a question, why you do onPlayerJoin make the object? addEventHandler("onPlayerJoin",getRootElement(), function () lifttargy = CreateObject(1301,-682.98144531,1017.06542969,10.673,0.00000000,0.00000000,0.00000000) liftmarkerje = createMarker(-682.98144531,1017.06542969,12,'cylinder',3,0,0,0,0) end) function liftfel (hitPlayer,matchingDimension)) local skin = getElementModel (hitPlayer) if skin == 0 or skin == 285 then moveObject (lifttargy,10000,-682.98162842,1017.06610107,511.943,0.00000000,0.00000000,0.00000000) else killPed (hitPlayer) end end addEventHandler ('onMarkerHit', liftmarkerje, liftfel) function liftle (hitPlayer,matchingDimension) moveObject (lifttargy,10000,-682.98144531,1017.06542969,10.673,0.00000000,0.00000000,0.00000000) end addEventHandler ("onMarkerLeave",liftmarkerje, liftle)
  20. Castillo

    I miss this

    Why not play GTA:SA? it has better graphics more stuff etc, its better in my opinion.
  21. Yeah, everyone keeps changing their nicks so would be nice to dectect their serial or something like that
  22. nobody of you seems to understand (the last 2 persons) i have fixed it already, and what i wanted was to disable ALL teams friendy fire can close topic before it starts a fight
×
×
  • Create New...