
xXMADEXx
Members-
Posts
2,718 -
Joined
-
Last visited
Everything posted by xXMADEXx
-
He means in SQL. I would just use INT.
-
Is he hosting the server on his PC or is it a hosted server?
-
when the player logins, trigger an event to set the login panel visible state to false.
-
You have to add the object yourself, it creates the sound, not object. use: createObject attachElements
-
put it in: \mods\deathmatch\resources\race\modes
-
Well, I can't be entirely sure, but I think that parts is a table, so try this: setElementData(vehCol,"Parts_inVehicle",math.random(0,#parts))
-
You can't add font to MTA, but you can script in some fonts with: dxCreateFont guiCreateFont
-
I didn't know that it was possible either, but, well, okay....
-
You cant use Cleo scripts in MTA, Cleo and Asi files are just for single player. Common Sense Actually, Cleo is for SAMP
-
But look at the bottom of the Screen it said San Andreas Lol, it's GTA Online of GTA V. I thought you would've noticed the graphics lol. It says San Andreas because GTA V is based in San Andreas as well.
-
It looks like it's really just made out of dx functions and variables.
-
The error means "needparts" is return nothing, but to simply fix it use tostring() local w = dxGetTextWidth(tostring(parts).."/"..tostring(needparts).." Tank Parts",1.02,"default-bold")
-
The scripts are outdated, they need to be recompiled @ https://luac.multitheftauto.com. If you don't have the un-compiled version, you need to contact the developers.
-
function antinj ( p ) local occupied = getVehicelController ( source ) if ( isElement ( occupied ) ) then cancelEvent() outputChatBox("Tā nav labi darīt!", p ) end end addEventHandler ( "onVehicleStartEnter", getRootElement(), antinj )
-
Contact the developer, we can't do anything with a compiled script.
-
Hm, any errors in debugscript?
-
Rather than doing fadeCamera, you can just make a black rectangle with dxDrawRectangle.
-
Try this: local show = false local tick = getTickCount ( ) local endTick = nil addEventHandler("onClientRender", root, function ( ) if ( getTickCount ( ) - tick >= 300000 ) then show = true endTick = getTickCount ( ) + 30000 if ( getTickCount ( ) >= endTick ) then show = false tick = getTickCount ( ) end end if ( show ) then dxDrawImage((sWidth/2)-250, sHeight-sHeight-15, 160, 140, ":Jack/images/HubbubGames.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage((sWidth/2)+90, sHeight-sHeight-15, 160, 140, ":Jack/images/HubbubGames.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawLine((sWidth/2+120), sHeight-sHeight+65, (sWidth/2-120), sHeight-sHeight+65, tocolor(255, 255, 255, 255), 1, false) dxDrawText("Welcome To", (sWidth/2), 0, (sWidth/2), 31, tocolor(255, 255, 255, 255),1.00, "bankgothic", "center", "top", false, false, false) dxDrawText("Hubbub Games", (sWidth/2), 31, (sWidth/2), 62, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "top", false, false, false) dxDrawText("New Forum Adress:", (sWidth/2), 72, (sWidth/2), 89, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "top", false, false, false) dxDrawText("www.HubbubGames.com", (sWidth/2), 89, (sWidth/2), 106, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "top", false, false, false) end end )
-
function Camera() local x, y, z, _, _, _ = getCameraMatrix ( ) setCameraMatrix ( x, y+5, z, x, y, z ) end addEventHandler ( "onClientRender", root, Camera)
-
You can try this: https://community.multitheftauto.com/ind ... ls&id=4600
-
setTimer and fadeCamera
-
Try: dbHandler = dbConnect( "mysql", "dbname=******;host=localhost;port=3306", "*********", "**********", "share=1" )
-
Chances are your dbConnect might be setup wrong.. This is what I use to connect my database: local dbData = { db = "db_name", host="localhost", port=3306, user="root", pass="" } db = dbConnect( "mysql", "dbname="..dbData.db..";host="..dbData.host..";port="..dbData.port, dbData.user, dbData.pass, "share=1;autoreconnect=1;" );