-
Posts
314 -
Joined
-
Last visited
Everything posted by gokalpfirat
-
Give the full code because there isnt GUIEditor_Grid[1] , there isnt any gridlist made.
-
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 )
-
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.
-
Transparent background and doing with gui didnt change you steal thing and button image.
-
I think you should make a video because this pic. didnt made me believe.
-
ıf your mybb db is localhost it doesnt works.
-
You must change databese in script.
-
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
-
[Outdated] Unofficial MTA Script Editor 0.3 (4851) RELEASED!
gokalpfirat replied to 50p's topic in Scripting
I see you need tester 50p -
There arent any output thing you want to day debug string?
-
https://community.multitheftauto.com/index.php?p= ... ls&id=6436 viewtopic.php?f=148&t=47889 viewtopic.php?f=148&t=38344
-
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.
-
function check() if (getElementHealth(source) < 250) then local x,y,z = getElementPosition(source) createBlip(x,y,z,0) end end addEventHandler("onVehicleDamage", getRootElement(), check)
-
Waiting for it because old version has got old functions and has some bugs
-
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?
-
You must write the isfeuerwehr function and loeschen function too.
-
And in the MTA:SE syntax checker. You are talking about this https://forum.multitheftauto.com/viewtop ... 7&p=338194 ?
-
Because setTimer with every 1 sec. makes lag if there is lot player.
-
Use string.find to get possible maps and find string that you write in cmd
-
Try this function bindKeys() if isfeuerwehr ( source ) then bindKey(source, "lctrl", "down", loeschen) end end addEventHandler("onPlayerJoin", getRootElement(), bindKeys)
-
The basic missing end or missing closing things like " or ) are always be in debugscript
-
If 50p saying true then you should use if loop that if it is a vehicle getVehicleOccupant(target)
-
Why use Timer? We can use onVehicleDamage to trigger this function am I right 50p?
-
Then good luck because I am waiting a script like this too much I know there is dx_gui but it hard
