mcer
Members-
Posts
145 -
Joined
-
Last visited
Everything posted by mcer
-
Try this --Values GUIEditor = {} local timeB = getRealTime() local rRoot = resourceRoot local monthday = timeB.monthday local month = timeB.month local year = timeB.year function drawUserpanel() GUIEditor.sidebar = guiCreateStaticImage(0.84, 0.00, 0.16, 1.00, "img/sidebar.png", true) --Clock labels GUIEditor.clockHoursLabel = guiCreateLabel(0.00, 0.00, 0.797, 0.12, "Hours", true, GUIEditor.sidebar) GUIEditor.clockMinutesLabel = guiCreateLabel(0.00, 0.00, 1.197, 0.12, "Minutes", true, GUIEditor.sidebar) GUIEditor.dateLabel = guiCreateLabel(0.08, 0.09, 0.89, 0.03, ""..monthday.."."..month.."."..year.."", true, GUIEditor.sidebar) setTimer ( function() local timeC = getRealTime() local minutes = timeC.minute local hours = timeC.hour guiSetText ( GUIEditor.clockHoursLabel, ""..hours..":") guiSetText ( GUIEditor.clockMinutesLabel, " "..minutes.."") end, 50, 0 ) end addEventHandler("onClientResourceStart", rRoot,drawUserpanel)
-
Thanks!, That is what i wanted!.
-
It can't help me, I need to set a max value.
-
I want to make a player name detector, BUT with a max number of characters.
-
What I want to do is a smooth transition from one color to another.
-
I want to make a little animation for a text, I want to change the color of a text but, with an animation. Example: TEXT in a second = TEXT.
-
When i use the setTimer, It only appear when you scroll the mouse and disappear in less than a second.
-
What I would like to make is something like when you change the radio station. A text appears for a few seconds. But, what would appear in this case would be a set of DXimages and DXText for (example); 5 seconds and after that it disappears.
-
Can you make an example?. I used "setTimer" before making this post.
-
Sorry, fixed ._. What I want is: That function has multiple DXtext and DXimages. Appear over a period of time.
-
When someone changes his weapon, I want to start a function, and that over a period of time this function have to finish. I tried with this "onClientPlayerWeaponSwitch" but when I tried to use it, the function only has ended in a period of less than 1 second. Can anyone help me?.
-
Thanks
-
Please if you know how to do this, Reply .
-
It is for 3D. I want to do the animation for a 2D Image.
-
Gui objects, like images.
-
Example: Start End Win an animation. I only want to learn how to do this. Please help .
-
function WeapStats() local Aplayers = getAlivePlayers () for index, players in ipairs( Aplayers ) do setPedStat(players, 69, 0) setPedStat(players, 70, 0) setPedStat(players, 71, 0) setPedStat(players, 72, 0) setPedStat(players, 73, 0) setPedStat(players, 74, 0) setPedStat(players, 75, 0) setPedStat(players, 76, 0) setPedStat(players, 77, 0) setPedStat(players, 78, 0) setPedStat(players, 79, 0) end end addEventHandler ( "onResourceStart", getRootElement(), WeapStats )
-
Your weapon isn't removed by this... This script only set stats.
-
Okay, The post is ended. I recreated this for serverside. Thanks everyone!.
-
I made it server side-Did you switch the type in the meta? Yes.
-
I know, that's why I want to do this serverside.