-
Posts
512 -
Joined
-
Last visited
Everything posted by 3B00DG4MER
-
You have to edit on the DFF Use 3Ds Max to do that
-
Hi Guys today i'm making a CnR system but there's a problem while creating and destroying the Marker !! debugscript : attempt to index global 'marker' (a nil value) Client : for index = 1, #jails do marker[index] = createMarker ( jails [ index ] [ 1 ], jails [ index ] [ 2 ], jails [ index ] [ 3 ], "cylinder", 6, 0, 0, 255, 55, getLocalPlayer() ) end ..... for index = 1, #jails do destroyElement ( marker[index] ) end
-
Ty For ur HElp i fixed it i was problem with DB codes i used 'AND' instead ','
-
i tried dat client: function playerQuit() local id = getElementData(source,"id") local PosX,PosY,PosZ = getElementPosition(source) triggerServerEvent("onUserLogout", source,PosX,PosY,PosZ,id) end addEventHandler("onClientPlayerQuit", getRootElement(),playerQuit) server: function quitPlayer( PosX,PosY,PosZ,id ) local query = dbExec(connection, "UPDATE `??` SET `??` = '??' AND `??` = '??' AND `??` = '??' WHERE `??` = '??' LIMIT 1","accounts","PosX",PosX,"PosY",PosY,"PosZ",PosZ,"id",id) end addEvent("onUserLogout",true) addEventHandler ( "onUserLogout", getRootElement(), quitPlayer )
-
i used this on another fuction setElementData(source,"id",row['id']) so what i can do ???
-
it's don't update !!!!!!!!!!!! and there is nothing in debugscript, that's the problem !!!!!
-
Hi Guys, i'm Making a gamemode which it's RPG ....... i've problem onClientPlayerQuit i tried to make if player Quit then Save the Last position With Mysql here is Client: function playerQuit() local PosX,PosY,PosZ = getElementPosition(source) triggerServerEvent("onClientLogout", localPlayer,PosX,PosY,PosZ) end addEventHandler("onClientPlayerQuit", getRootElement(),playerQuit) and Here is Server: function quitPlayer( PosX,PosY,PosZ ) local id = getElementData(source,"id") local query = dbExec(connection, "UPDATE `??` SET `??` = '??' AND `??` = '??' AND `??` = '??' WHERE `??` = '??' LIMIT 1","accounts","PosX",PosX,"PosY",PosY,"PosZ",PosZ,"id",id) end addEvent("onClientLogout",true) addEventHandler ( "onClientLogout", getRootElement(), quitPlayer )
-
ty i'm using it now
-
what i want to say dxMove from dxGUI resource
-
Hi Guys, i have problem with Render, i tried to make moveObject in Event "onClientRender" but it get loop (mean MoveObject function will run as Event Canceled) how do i make the function run once time in event "onClientRender" ?
-
works !!!!!!! ty hint:math is useful everywhere
-
now it's output but it's output only between 0 and 1 mean if center x= 0.5 and y 0.5 remember that my screen size is: 1280 X 1024
-
it output only on GUI elements only !!
-
i removed them if i tried: addEventHandler ( "onClientGUIClick", root, function() local gCursor_pX, gCursor_pY = getCursorPosition() outputChatBox(gCursor_pX.." "..gCursor_pY) end end) it output only on GUI elements only !!
-
i tried rectangle
-
You want see the real ? here is Client: Sorry Guys but i have to delete it it was a complete scrip
-
So i have to add the Event on onClientRender with Dx ?
-
Hi Guys i've make 2 buttons as Dx Rectangle but if i add event "onClientGUIClick" but it not working i tried to add outputchatbox on event but same anyone help here is Client: dxDrawText("Username", 478, 441, 597, 493, tocolor(255, 255, 255, 255), 1.00, bigfont, "center", "center", false, false, true, false, false) dxDrawText("Password", 480, 507, 597, 552, tocolor(255, 255, 255, 255), 1.00, bigfont, "center", "center", false, false, true, false, false) addEventHandler ( "onClientGUIClick", root, function() if source == login or source == register then outputChatBox("Test !!") end end)
-
AWSOME !!!!!!!!!!!!!!!
-
MYSQL Database [Solved] Anyone Who Has MYSQL PROBLEM COME
3B00DG4MER replied to 3B00DG4MER's topic in Scripting
Ty but i fixed before you talk But anyone THANKS !! -
MYSQL Database [Solved] Anyone Who Has MYSQL PROBLEM COME
3B00DG4MER replied to 3B00DG4MER's topic in Scripting
Near To Work But there is Error Client: Line 7: Expected string at Argument 4,got Nil -
MYSQL Database [Solved] Anyone Who Has MYSQL PROBLEM COME
3B00DG4MER replied to 3B00DG4MER's topic in Scripting
There is Problem i told you i want to show rows as a Gridlist yours show me Numbers in the gridlist Anyone HELP ME !!! @_@
