Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. You don't understand, does the resource "exp_system" have the functions that are being exported?
  2. And script has the functions?
  3. Does the resource export these functions?
  4. Then how do you expect it to work? you're trying to load a client side script on a server side script, doesn't make any sense.
  5. You're using loadstring client or server side?
  6. What do you mean by "from server side to a loaded script in client side"?
  7. Why don't you just use my latest script?
  8. Why do you need to post something without even knowing what you're talking about? the second argument of moveObject is the TIME, not the model ID, why would it need a model ID?
  9. Just after you finish loading the code with loadstring, you do: triggerEvent ( "onClientResourceStart", resourceRoot )
  10. After the script was loaded, you can trigger the 'onClientResourceStart' event from the resource you loaded the code.
  11. No, that's not what I meant.
  12. Castillo

    Medics Chat

    You're making a MySQL query every time you use that chat? that's really inefficient.
  13. There's no point on creating a function to move it back, you can use moveObject with the timer. local gate = createObject ( 3115, -1456.8000488281, 501.39999389648, 9.8999996185303, 0, 0, 0 ) function moveGate ( psource ) local Deadusergroup = getAccountName ( getPlayerAccount ( psource ) ) if isObjectInACLGroup ( "user."..Deadusergroup, aclGetGroup ( "Admin" ) ) then moveObject ( gate, 8000, -1456.8000488281, 501.39999389648, 16.9 ) setTimer ( moveObject, 20000, 1, 8000, -1456.8000488281, 501.39999389648, 9.8999996185303 ) end end addCommandHandler ( 'carrier1', moveGate )
  14. Castillo

    [HELP] GUI

    We don't accept requests here, learn to do it by yourself.
  15. First, stop DOUBLE/TRIPLE posting, because is annoying. Second, you can add a second value to your levels table, defining the name of the level.
  16. Was reported cuz I paid you for this "exclusive" resource, then I told you it had bugs and you answer me, ":O you, its your problem i got the money ill re-sell to other" -.- Want to continue scamming more people with this resource? for people interested: Take care if u wanna buy something from this guy. Who the hell r u!? stop lying.. Please close this post and BTW ban this guy I've seen some of the proof, and it looks like he's telling the truth. Still, I'll lock the topic.
  17. "upgrade" no es para eso, es para upgradear los recursos que usan funciones viejas.
  18. I already understood what setCursorIcon did, and I already said it's useless, because you can do it with scripting functions.
  19. setCursorIcon > Useless, you can set cursor alpha to 0 and draw your own. guiButtonColour > I don't understand this, do you mean the text of the button or the actual button color? guiTabColour > Why would you want to set a tab colour? cancelAnimations > What is this for?
  20. Castillo

    index

    You're welcome.
  21. I really didn't understand what you said, explain yourself.
  22. function moveVehicle ( vehicle ) outputChatBox ( "First part", getRootElement(), 255, 0, 0, true ) local vehicle = getPedOccupiedVehicle ( source ) local x, y, z = getElementPosition( source ) outputChatBox ( "vehicle: ".. tostring ( source ) ) if ( vehicle ) then setElementPosition ( vehicle, x, y, z - 100 ) end end addEvent ( "onPlayerRaceWasted", true ) addEventHandler ( "onPlayerRaceWasted" , getRootElement(), moveVehicle )
  23. He'll have to trigger to the server side to give the money. triggerServerEvent
  24. The functions you have to use already got examples on the wiki, but you obviously ignore them.
  25. Castillo

    index

    Depends on the table, 'for' is used for loops in general, not just for tables with player elements.
×
×
  • Create New...