King12
-
Posts
437 -
Joined
-
Last visited
Posts posted by King12
-
-
it seems that serial numbers are randomizing after the recent 1.6 update, some players are already complaining about it.
-
I'm still waiting for an answer. It seems random to me @Azmoon.
-
hi, i have had the same system for a long time. few days ago i relaunched the game and my serial number changed. could you please assist me with swapping it back?
my new serial is: 26709E3960F64E13D031B8FEDB70EE53
my old serial is: F5A03854B9FB94E781BA8654449542A1
this is the 2nd time this thing happened to me. (note: i asked here before and got it back)
-
12 hours ago, ccw said:
I don't think setMoonSize(0) removes the moon and stars
If the stars and moon was removed via a custom timecyc.dat, then that will no longer work
Actually they weren't showing before the update (even with a default timecyc.dat), but now they do. There has to be an option to enable/disable them.
-
10 hours ago, ccw said:
A recent update included blocking customised timecyc.dat
Do you use a custom timecyc.dat ?
I don't know about the thread poster, but I tried installing a fresh GTA:SA and they still appear.
-
On 19/07/2019 at 22:53, ccw said:
Do you use a custom timecyc.dat ?
This happened after recent updates. I see some stars, and the moon too.
-
Posted the same issue a year ago and it didn't get any attention, looks like this one will be the same.
-
Hello there,
I've been facing this issue for roughly 2 years, but never cared about it, and it's getting a bit annoying now. The problem is, that my game takes 30 seconds to start and load correctly.
Also, I always get this message when the game starts. http://prntscr.com/l3n1n3
MTADiag: https://pastebin.mtasa.com/297658147
-
Hello there,
I don't know what is wrong but my vps isn't allowing clients to download files such as [map scripts, songs etc..]
HTTP server file mismatch (freeroam) fr_client.lua [Got size:57088 MD5:A2FADFBEAEC9C87916AA217E82E8DEAC, wanted MD5:92D420578F6D170C6796A5F70FBA4A6D] Download error: HTTP server file mismatch (freeroam) fr_client.lua [Got size:57088 MD5:A2FADFBEAEC9C87916AA217E82E8DEAC, wanted MD5:92D420578F6D170C6796A5F70FBA4A6D] Download error: Error downloading requested files. HTTP response code said error. [The requested URL returned error: 404 Not Found] [music.mp3]
All ports are opened (obviously). Also, files are unzipped and cached inside resource-cache.
Server IP: 95.156.228.8:69
-
addEventHandler("onClientResourceStart", resourceRoot, function() setPlayerHudComponentVisible( "crosshair", false ) end )
and for the meta:
<meta> <script src="client.lua" type="client"/> </meta>
It's better to have the resource on a separate folder, I don't recommend adding it to editor gamemode.
-
-- Client side setPlayerHudComponentVisible ( "crosshair", false ) -- or this to hide every HUD component setPlayerHudComponentVisible ( "all", false )
-
1 hour ago, Justin|X5| said:
Idk.
I even replaced the default .TXD with a transparent .PNG and it won't disappear it just goes white.
So long story short, I think the actual parachute canopy ID is 3060 but it doesn't work when replacing.
And the parachute backpack is ID 371.
I was gonna suggest turning the default parachute transparent and using AttachElements but, since it remains white you're out of luck.
You can currently change the shaders of the default canopy and that's it.
If I'm not mistaken, the guy in the video has CLEO mod installed.
paracx.txd
Maybe the .DFF is named something weird, but I couldn't find anything, idk man.
Since shaders allow you to change them according to names instead of ID's, as far as I know this is all you've got.It's the fact that I want to replace the dff model of the canopy itself, and I actually tried a shader to make the parachute disappear but failed, since I really don't know anything about shaders. As you can see sometimes it disappears and sometimes not.
struct PSInput { float4 Diffuse : COLOR0; }; float4 PixelShaderFunction( PSInput PS ) : COLOR0 { float4 color = PS.Diffuse; color.a = 0; return color; } technique { pass p0 { AlphaBlendEnable = TRUE; DestBlend = INVSRCALPHA; SrcBlend = SRCALPHA; PixelShader = compile ps_2_0 PixelShaderFunction(); } }
- 1
-
In order to poll the password you have to do it this way:
SERV_LAUNCH_PW = exports.db:sqlQuery("SELECT server_launch_pw FROM server_vars") local result = dbPoll (SERV_LAUNCH_PW, -1) if #result > 0 then local password = SERV_LAUNCH_PW[1].server_launch_pw; outputChatBox(password) end
for the dbPoll, you can try this:
-- use the database connection variable in (connection). function _Query (...) if connection then local queryS = dbQuery(connection, ... ) local result = dbPoll(queryS,-1) return result else return false end end -- Usage: local SERV_LAUNCH_PW = _Query ('SELECT server_launch_pw FROM server_vars') if ( #SERV_LAUNCH_PW > 0 ) then local password = SERV_LAUNCH_PW[1].server_launch_pw; outputChatBox(password) end
- 1
-
14 hours ago, Justin|X5| said:
I downloaded this and it seems to be no different from any other model replacement, if you know the .TXD for the default parachute you should have the model ID.
So try replacing it the same as you would with a vehicle model DFF and TXD.The problem is, I couldn't find the dff ID for the parachute canopy (or something that changes it).
-
local gRow = guiGridListGetSelectedItem ( gridlist1 ) if gRow >= 0 then -- player selected something else end
guiGridListGetSelectedItem will return -1 for Row if an item wasn't selected.
-
Hello there, I have looked everywhere but couldn't find anything. Does anyone have an idea about the parachute canopy dff model ID? or a way to replace it instead of .png shaders?
-
This is the dump file, if you are interested.
-
Hello there, lately I've been facing an annoying issue with my client, it takes like 30-60 seconds to startup the game. It started happening after I installed Corsair Utility Engine (A tool to control your keyobard).
My MTADiag: https://pastebin.mtasa.com/366419670
-
GUIEditor = { label = {}, window = {}, edit = {}, staticimage = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.staticimage[1] = guiCreateStaticImage(0.22, -0.02, 0.55, 0.99, "images/news.png", true) guiSetVisible(GUIEditor.staticimage[1],false) GUIEditor.staticimage[2] = guiCreateStaticImage(0.17, 0.03, 0.67, 0.97, "images/hand.png", false, GUIEditor.staticimage[1]) GUIEditor.edit[1] = guiCreateEdit(46, 36, 308, 22, "", false, GUIEditor.window[1]) end ) addEventHandler("onClientGUIClick", resourceRoot, function() if source == GUIEditor.staticimage[2] then setTimer(triggerServerEvent, 1000 * tonumber(guiGetText(GUIEditor.edit[1])) or 1000, 1, "send", localPlayer) end end )
addEvent("send",true) addEventHandler("send",getRootElement(), function () local x,y,z = getElementPosition ( client ) createExplosion ( x,y,z,0 ) createExplosion ( x,y,z,0 ) end)
-
Just now, Wormen said:
هل ذا فيه أخطاء
addEvent("send",true) addEventHandler("send",getRootElement(), function () local x,y,z = getElementPosition ( source ) createExplosion ( x,y,z,0 ) createExplosion ( x,y,z,0 ) end)
لن أنا بحط رقم ما يصير شييء في الدي بق
ولا يحصل أنفجار حتيأنت ماعرفت ال source
من راح يكون عليه الانفجار؟
-
1 minute ago, Wormen said:
WARNING: bomb/client:4: Bad usage @ 'setTimer' [Interval is below 50]
نفس المشكلة
GUIEditor = { label = {}, window = {}, edit = {}, staticimage = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.staticimage[1] = guiCreateStaticImage(0.22, -0.02, 0.55, 0.99, "images/news.png", true) guiSetVisible(GUIEditor.staticimage[1],false) GUIEditor.staticimage[2] = guiCreateStaticImage(0.17, 0.03, 0.67, 0.97, "images/hand.png", false, GUIEditor.staticimage[1]) GUIEditor.edit[1] = guiCreateEdit(46, 36, 308, 22, "", false, GUIEditor.window[1]) end ) addEventHandler("onClientGUIClick", resourceRoot, function() if source == GUIEditor.staticimage[2] then setTimer(triggerServerEvent, 1000 * tonumber(guiGetText(GUIEditor.edit[1])) or 1, 1, "send", resourceRoot) end end ) -- server side addEvent("send", true) addEventHandler("send", resourceRoot, function () -- blabla.. end )
التايمر يبدأ من 50 جزء من الثانية وأنت تحط رقم 1, صححت الكود بحيث أنه لو حطيت رقم 1 راح يخليه ثانيه وكذا..
-
addEventHandler("onClientGUIClick", resourceRoot, function () if source == button1 then local gRow, gColumn = guiGridListGetSelectedItem ( gridList ) if gRow >= 0 then guiSetVisible ( gui, false) end end end )
-
4 minutes ago, Wormen said:
ي أخي أقولك يجيب التايمر من edit
ما أنتبهت لكلامك, تفضل:
GUIEditor = { label = {}, window = {}, edit = {}, staticimage = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.staticimage[1] = guiCreateStaticImage(0.22, -0.02, 0.55, 0.99, "images/news.png", true) guiSetVisible(GUIEditor.staticimage[1],false) GUIEditor.staticimage[2] = guiCreateStaticImage(0.17, 0.03, 0.67, 0.97, "images/hand.png", false, GUIEditor.staticimage[1]) GUIEditor.edit[1] = guiCreateEdit(46, 36, 308, 22, "", false, GUIEditor.window[1]) end ) addEventHandler("onClientGUIClick", resourceRoot, function() if source == GUIEditor.staticimage[2] then setTimer(triggerServerEvent, tonumber(guiGetText(GUIEditor.edit[1])) or 100, 1, "send", resourceRoot) end end ) -- server side addEvent("send", true) addEventHandler("send", resourceRoot, function () -- blabla.. end )
-
-- Client side addEventHandler("onClientResourceStart", resourceRoot, function() window1 = guiCreateWindow(509, 175, 311, 452, "Revive Panel", false) guiWindowSetSizable(window1, false) guiSetVisible( window1 ,false) gridlist = guiCreateGridList(13, 26, 288, 341, false, window1) guiGridListAddColumn(gridlist, "Players", 0.9) Button1 = guiCreateButton(17, 379, 139, 63, "Revive Player", false, window1) Button2 = guiCreateButton(166, 379, 135, 63, "Close", false, window1) guiGridListClear(gridlist) end ) addCommandHandler('rp', function () guiSetVisible(window1,not guiGetVisible(window1)) showCursor(guiGetVisible(window1)) changeGridListToPlayers ( gridlist, 1 ) end ) -- Close button addEventHandler ( "onClientGUIClick",root, function () if (source == Button2) then guiSetVisible( window1 ,false) showCursor(false) end end ) -- Health button addEventHandler ( "onClientGUIClick", resourceRoot, function () if (source == Button1) then local gRow, gColumn = guiGridListGetSelectedItem ( gridlist ) if gRow >= 0 then local PlayerName = guiGridListGetSelectedItemText ( gridlist ) local target = getPlayerFromName(PlayerName) triggerServerEvent("onPlayerHealed", resourceRoot, target) guiSetVisible( window1 ,false) showCursor(false) else outputChatBox("Select a player to heal!", 0, 255, 0) end end end) -- [[ Useful functions ]] -- function guiGridListGetSelectedItemText ( gridList, column ) local item = guiGridListGetSelectedItem ( gridList ) if item then return guiGridListGetItemText ( gridList, item, column or 1 ) end return false end function changeGridListToPlayers ( gridlist, column ) if type ( column ) == 'number' and type ( range ) == 'number' and getElementType ( gridlist ) == 'gui-gridlist' then guiGridListClear ( gridlist ) for i,v in ipairs ( getElementsByType ( 'player' ) ) do if ( v ~= localPlayer ) then local row = guiGridListAddRow ( gridlist ) return guiGridListSetItemText ( gridlist, row, column, getPlayerName ( v ), false, false ) end end else return false end end
-- Server side. addEvent("onPlayerHealed", true) addEventHandler("onPlayerHealed", resourceRoot, function (target) if isElement (target) then outputChatBox( getPlayerName(target) .. " has been healed.", client, 0, 255, 0) setElementHealth( target, 100 ) end end)
- 1
my serial number has been changed.
in Client
Posted
i didn't know about that, but just launched mta today and still have the new serial.