Can you send me the script for I work on it ?
Nop i dont send my menu⊠Question de principe je veux pas quâil se partage partout avant la releaseâŠ
Yeah can you send your code on pastbine âluaâ because we canât see your script what do you do like we see just the menu
I understand my friend ;). I guess we need to talk on discord or teamspeak for understand what do you try to do.
Its not because the script of your ID card needs to be linked to your DB?
Whatâs age
? Youâre not actually setting it anywehere in the code youâve sent.
Hello, you use the file civilmenu.lua from FailyV as a base.
Since then, for a moment I am turning to the forum, sharing is not an easy thing here.
Message Removed dude ! thx the fucking community for no respect for my work
try
age = tonumber.result[1].age
Did you add the function server.lua for execute ?
Message Removed dude ! thx the fucking community for no respect for my work
Think that your script have to be in an other part :
RegisterNetEvent('Somethingyouhavetofill')
AddEventHandler(SomethingYouhavetofill', function(result)
print("coucou2")
age = result[1].age
COND1 = not COND1
end)
function SomethingYouhavetofill()
local id = GetPlayerServerId()
local player = GetPlayerFromServerId(id)
local name = GetPlayerName(player)
DrawRect(0.91,0.40,0.175,0.50,0,0,0,150)
SetTextFont( 4 )
SetTextScale( 1.0, 1.0 )
SetTextColour( 255, 255, 255, 255 )
SetTextOutline()
SetTextEntry( "STRING" )
AddTextComponentString( "Carte d'identité" )
DrawText( 0.85, 0.5)
SetTextFont( 0 )
SetTextScale( 0.35, 0.35 )
SetTextColour( 255, 255, 255, 255 )
SetTextOutline()
SetTextEntry( "STRING" )
AddTextComponentString( "Age : " .. age)
DrawText( 0.825, 0.25 )
end
Wait⊠what is Cond1 and with ur code when i click on the button the menu does not appears⊠its not logic
Do you fill this line with your scripts/function name ?
RegisterNetEvent(âSomethingyouhavetofillâ)
AddEventHandler(SomethingYouhavetofillâ, function(result)
and
function SomethingYouhavetofill()
?
Hello Friend !
Iâm not my home actually but I script that to you try it