HappyMeal
Members-
Posts
21 -
Joined
-
Last visited
Everything posted by HappyMeal
-
Like this timer = {} --------------------------- -- Repair vehicle --------------------------- function repairVehicle() local vehicle = getPedOccupiedVehicle(g_Me) if vehicle then if not isTimer(timer[g_Me]) then -- local remaining, executesRemaining, totalExecutes = getTimerDetails(timer) timer[g_Me] = setTimer(function() timer[g_Me] = nil end,30000,1) server.fixVehicle(vehicle) local time_left_ms, executes_lesft, total_executes_count = getTimerDetails(timer[g_Me]) if (remaining and executesRemaining and totalExecutes) then outputChatBox("#006400• Vehicle successfully repaired", 0, 100, 0,true) else errMsg("• Please wait at least "..time_left_ms.." seconds before repairing again.") end end end end addCommandHandler('repair', repairVehicle) addCommandHandler('rp', repairVehicle)
-
Like this timer = {} --------------------------- -- Repair vehicle --------------------------- function repairVehicle() local vehicle = getPedOccupiedVehicle(g_Me) if vehicle then if not isTimer(timer[g_Me]) then -- local remaining, executesRemaining, totalExecutes = getTimerDetails(timer) timer[g_Me] = setTimer(function() timer[g_Me] = nil end,30000,1) server.fixVehicle(vehicle) local time_left_ms, executes_lesft, total_executes_count = getTimerDetails(timer[g_Me]) if (remaining and executesRemaining and totalExecutes) then outputChatBox("#006400• Vehicle successfully repaired", 0, 100, 0,true) else errMsg("• Please wait at least "..time_left_ms.." seconds before repairing again.") end end end end addCommandHandler('repair', repairVehicle) addCommandHandler('rp', repairVehicle)
-
To set in this script hex guiSetProperty(theImage, "ImageColours", "tl:FFD7D7D7 tr:FFD7D7D7 bl:FFD7D7D7 br:FFD7D7D7")
-
Please tell me how to make rgb to hex and to set this.
-
Explain me how to set it red.
-
How it's possible to set color to a guiCreateStaticImage
-
Already fixed . Thx for help
-
IM not oussezzzz!!!! Im not that dumbass
-
do you saw my parenthesis '' '' ? And im not dumbsezz
-
I'm Not oussez. I dont have that stupid enlish. "Me maked this script help me fixe it. Im pro than..."
-
I'm asking for help not for unknown accusations.
-
Hey i've made this code that checks players acl and it set to an setElementData and then to draw image bit it wont work. addEventHandler( 'onPlayerLogin', root, function ( ) local account = getPlayerAccount( source ) if account and not isGuestAccount( account ) then local accountName = getAccountName( account ); if isObjectInACLGroup ( "user." .. accountName, aclGetGroup ( "Admin" ) ) then setElementData( source, "Classicon", tostring( ":experience/class/classicon_admin.png" ) ); elseif isObjectInACLGroup ( "user." .. accountName, aclGetGroup ( "Moderator" ) ) then setElementData( source, "Classicon", tostring( ":experience/class/classicon_mod.png" ) ); else setElementData( source, "Classicon", tostring( ":experience/class/classicon_player.png" ) ); end end end );
