Jump to content

mjau

Members
  • Posts

    589
  • Joined

  • Last visited

Everything posted by mjau

  1. There is no command called "add"
  2. Why would we give u a server for free to get subowner when we could just be owner of the server ourselfs ? i think you need to pay a scripter or learn lua... https://wiki.multitheftauto.com/wiki/Scr ... troduction Good luck
  3. iiyama use killPed instead
  4. That is sad i must say i enjoyed the one month of hosting i had from u so gameservers4you is shutting down for ever ?
  5. mjau

    trigger problem

    oh create the labels in another function and use guiSetText
  6. mjau

    trigger problem

    function refreshWithTimer() triggerServerEvent("GUIwins",getLocalPlayer()) triggerServerEvent("GUIpoints",getLocalPlayer()) triggerServerEvent("GUIsecond",getLocalPlayer()) triggerServerEvent("GUIthird",getLocalPlayer()) triggerServerEvent("GUIrank",getLocalPlayer()) end setTimer(refreshWithTimer, 10000, 0) addEvent ( "GUIwins", true ) addEventHandler ( "GUIwins", root, function ( wins ) if ( wins ) then GUIEditor_Label[10] = guiCreateLabel ( 49,72,246,21,"" ..wins.. "",false,GUIEditor_Tab[1]) end end ) addEvent ( "GUIpoints", true ) addEventHandler ( "GUIpoints" ,root, function ( points ) if ( points ) then GUIEditor_Label[11] = guiCreateLabel ( 54,101,246,21,"" ..points.. "",false,GUIEditor_Tab[1]) end end ) addEvent ( "GUIsecond", true ) addEventHandler ( "GUIsecond",root, function ( second ) if ( second ) then GUIEditor_Label[12] = guiCreateLabel ( 98,131,246,21,"" ..second.. "",false,GUIEditor_Tab[1]) end end ) addEvent ( "GUIthird", true ) addEventHandler ( "GUIthird", root, function ( third ) if ( third ) then GUIEditor_Label[13] = guiCreateLabel ( 88,160,246,21,"" ..third.. "",false,GUIEditor_Tab[1]) end end ) addEvent ( "GUIrank", true ) addEventHandler ( "GUIrank", root, function ( rank ) if ( rank ) then GUIEditor_Label[14] = guiCreateLabel ( 49,188,246,21,"" ..rank.. "",false,GUIEditor_Tab[1]) end end ) Here timers are really simple
  7. mjau

    SQL Table

    ok tnx local tIdRequest = executeSQLQuery ( " SELECT * FROM vehicles WHERE id = '" .. idCode .. "'" ) this was what i was looking for tnx
  8. mjau

    SQL Table

    well idk how to find the id yet but i dont understand why u want the owner to have no vehicles before u check if the id is in the table ? To find the id i will just do math.random or a loop wich counts until it ifnds a number not in table...
  9. mjau

    SQL Table

    so the check for owner is really not needed ? I could just do this ? if not executeSQLQuery ( " SELECT * FROM vehicles WHERE id = '" .. idCode .. "'" ) then
  10. mjau

    SQL Table

    you dont understand me i mean when you do this if not executeSQLQuery ( " SELECT * FROM vehicles WHERE owner = 'Kenix' AND id = '" .. idCode .. "'" ) then doesnt that mean that if not owner = kenix ? like dont u check if kenix is not the owner there ?
  11. mjau

    SQL Table

    look i got a table with all vehicles wich has been bought in server and when i get them i do executeSQLQuery ( " SELECT * FROM vehicles WHERE owner = 'Kenix' but if u put if not infront of it it will check all the vehicles in the table wont it ?
  12. mjau

    SQL Table

    if not executeSQLQuery ( " SELECT * FROM vehicles WHERE owner = 'Kenix' AND id = '" .. idCode .. "'" ) then Eh will that get the vehicles from owner or will it not since u used if not ... ?
  13. mjau

    SQL Table

    kenix that will check if not owner = to kenix too wont it ?
  14. mjau

    SQL Table

    ok i see but how to ensure a 2 cars dont get same id
  15. The servers arent down and i have only had one problem with this hosting since i got it, that is that my server sometimes shuts down or something and when i go in control panel it says query failure. but ima search trough my scripts maybe one of them shuts down the server but i can remember i scripted that ...
  16. mjau

    SQL Table

    How do i ensure noone of cars gets same id ? and still how can the scipt find the vehicle with that id when the player selects one in the gridlist ?
  17. mjau

    SQL Table

    Hi if i make a sql table wich i fill with vehicles players buy and when they go to storage to execute a action on them i need to find the right vehicle of all the vehicles that player owns to ensure i only get the clients vehicles i check his acc name with the acc name in db anyway if a player got 23 infernuses how the heck do i ensure the action he is trying to do on the gridlist gets done on the right car in the table ?
  18. mjau

    question

    Thats because elementdata is not permanent use account data instead setAccountData getAccountData
  19. mjau

    World Objects

    https://wiki.multitheftauto.com/wiki/OnClientClick use the parameters to see where he clicked...
  20. Same here ima buy a SSD soon
  21. Post your windows exepereince index here To find it go to start menu right click computer then settings or whatever it says and you will find the way yourself from there Mine:
  22. 600er dont be afraid to contact me on skype as u did before... i will help u do wahtever u are trying to...
  23. tnx solidsnake ill try this tomorrow im to tired now ive been watching c++ tutorials all day ...
  24. u can use gamemontior to show that http://www.game-monitor.com/search.php?game=mta
  25. i think you didnt get me right I have one resource called SQL wich i export every sql function i need from and i aleready got that part done then when i create another resource and use the exported function i got the table in that resource too so i dont need help with my SQL part of the script i just need help turning the vehicleIDs from the table i returned to vehicle names and add them as rows in a gridlist...
×
×
  • Create New...