Jump to content

Spajk

Members
  • Posts

    285
  • Joined

  • Last visited

Everything posted by Spajk

  1. Spajk

    Multi-server

    You can do it via callRemote. https://wiki.multitheftauto.com/wiki/CallRemote
  2. Spajk

    Cascade delete

    I guess you could make an sql trigger to delete those related rows.
  3. Spajk

    string format

    I dont know if this is going to work, but you can try the combination of onClientGUIFocus, onClientGUIBlur and onClientKey with cancelEvent()
  4. I believe that its possible to do it via fetchRemote, overwriting script files and then doing restartResource.
  5. @BieHDC I didnt mean on the built in events @J.S. Just what I was asking, thanks. EDIT: Would it be ok to destroy the dummy element after the event has been triggered?
  6. From what I know, it cant be ignored.
  7. Quite simple question, as source is an required argument, what should I do when a certain event is not tied/related to any element?
  8. I never tried this function, but I think you should try it: https://wiki.multitheftauto.com/wiki/WasEventCancelled
  9. Spajk

    SQL

    I think this is more SQL related then MTA related, you should be able to find it on google
  10. They wont know it, models magicly appeared >
  11. The mst basic thing would be changing skin textures.
  12. I have no idea about the limit, but I do have a solution for your problem. Your racetracks should be created client side only for the people who are currently using it.
  13. Use of element data here is quite bad, passing the skin id as function argument thru timer would be much better.
  14. Spajk

    Few questions

    @Castillo I know about that, but that will just cancel the effect when the water hits the player, what I need is a way to disable it completely ( No water coming out of the turret) @myonlake Hmmm, I will try something
  15. Spajk

    Few questions

    Actually, only 2 questions 1. Disabling water cannon Is there a way to disable the water cannon and when player tries to use it, do something else? 2. Is there a way to change the speed of player's cursor?
  16. You have no idea what I have created in the past, I AM NOT A NAB SCRIPTER. TAKE ME SERIOUSLY!@! -_-" dude, i'll never help if i dont know the problem if you dont tell me about "debugscript 3" He's trying to tell you that he isnt a newbie and that debugscript doesnt show anything...
  17. Spajk

    Question

    I think he's asking for a function like "isVehicleDestroyed(vehicle)" to check if vehicle has blown. I am not sure whats the best way to do it, but, this is how I would do it: First I would create an empty table called isVehicleDestroyed = {} Then I would add an event handler for "onVehicleExplode" and inside it, I would do "isVehicleDestroyed[source] = true" After that, I would add an event handler for " onElementDestroy" and do "isVehicleDestroyed[source] = nil" Then somewhere inside code I could use isVehicleDestroyed[vehicle] to check if its blown or not. Ofcourse, this way is really bad, because it doesnt detect if fixVehicle() was used and I am sure that there's a muvh simpler way using getElementHealth(), but I dont have time to experiment with it. Sorry for typing mistakes, I used my phone to type this.
  18. Spajk

    Problem

    Hmm, daj IP servera da vidimo dal je do tebe ili ne.
  19. This suggestion is really short, please read it. In my opinion, XML system should only work using strings instead of files, reading and writing xml files should be done using file system not XML. So, XML parsing shouldnt be directly connected with files, but file system and its functions should be used as connection. Functions that we should have: xmlLoad(string xml) - Should load the xml structure from string and return the first node xmlSave(node) - Should return the string content of the node and its childern xmlLoadFile wouldnt be needed as we could use file system to open the file and xmlLoad to create nodes from it. Same goes for other xml functions related to files.
  20. http://www.mediafire.com/?l53q521il35a7qh try it
  21. Well yea, it only lets you choose the first time you login with your account. When should it appear? It doesnt change the skins. If you want it to change skins, tell me the skin ID's for males and females.
  22. Nice work you got there, I too made some resources, 99% not finished because I just lose motivation and delete everything
×
×
  • Create New...