Jump to content

gokalpfirat

Members
  • Posts

    314
  • Joined

  • Last visited

Everything posted by gokalpfirat

  1. Give the full code because there isnt GUIEditor_Grid[1] , there isnt any gridlist made.
  2. I cant see a the gridlist you made but if you are showing a part of your code then. for index, weapon in pairs(weaponsTable) do Returns table then you should use this. local weaponsTable = { {"Sniper",10,1200} } function setweps () for k, v in pairs(weaponsTable) do for index, weapon in pairs(v) do local row = guiGridListAddRow(GUIEditor_Grid[1]) guiGridListSetItemText (GUIEditor_Grid[1], row, 1, tostring(weapon[1]), false, true) guiGridListSetItemText (GUIEditor_Grid[1], row, 2, tostring(weapon[2]), false, true) guiGridListSetItemText (GUIEditor_Grid[1], row, 3, tostring(weapon[3]), false, true) end end end addEventHandler ( "onClientResourceStart", getThisResource(), setweps )
  3. theWindow = guiCreateWindow(420, 210, 433, 320, "Jetpack giver By Robbster", false) guiWindowSetSizable(theWindow, false) theButton = guiCreateButton(122, 123, 188, 87, "Give yourself Jetpack", false, theWindow) guiSetVisible(theWindow,false) function openWin() if guiGetVisible(theWindow) then guiSetVisible(theWindow, false) showCursor(false) else guiSetVisible(theWindow, true) showCursor(true) end end bindKey("F5", "down", openWin) Try this.
  4. +1
  5. Transparent background and doing with gui didnt change you steal thing and button image.
  6. I think you should make a video because this pic. didnt made me believe.
  7. ıf your mybb db is localhost it doesnt works.
  8. You must change databese in script.
  9. There is a web browser script in community some players says it doesnt works in their comments but you can look https://community.multitheftauto.com/index.php?p= ... ls&id=2984
  10. I see you need tester 50p
  11. There arent any output thing you want to day debug string?
  12. https://community.multitheftauto.com/index.php?p= ... ls&id=6436 viewtopic.php?f=148&t=47889 viewtopic.php?f=148&t=38344
  13. Nope it checks when a vehicle dameges. But i dont make it harder like if vehicle disappers blip disappears too i dont do this only when a vehicle get damage and has <250 health then it make a blip to there.
  14. function check() if (getElementHealth(source) < 250) then local x,y,z = getElementPosition(source) createBlip(x,y,z,0) end end addEventHandler("onVehicleDamage", getRootElement(), check)
  15. Waiting for it because old version has got old functions and has some bugs
  16. yes No you dont want to say this I think because of you are making a rocket script for race? And when car shots rocket you want it to wait 5 second?
  17. You must write the isfeuerwehr function and loeschen function too.
  18. And in the MTA:SE syntax checker. You are talking about this https://forum.multitheftauto.com/viewtop ... 7&p=338194 ?
  19. Because setTimer with every 1 sec. makes lag if there is lot player.
  20. Use string.find to get possible maps and find string that you write in cmd
  21. Try this function bindKeys() if isfeuerwehr ( source ) then bindKey(source, "lctrl", "down", loeschen) end end addEventHandler("onPlayerJoin", getRootElement(), bindKeys)
  22. The basic missing end or missing closing things like " or ) are always be in debugscript
  23. If 50p saying true then you should use if loop that if it is a vehicle getVehicleOccupant(target)
  24. Why use Timer? We can use onVehicleDamage to trigger this function am I right 50p?
  25. Then good luck because I am waiting a script like this too much I know there is dx_gui but it hard
×
×
  • Create New...