Jump to content

mcer

Members
  • Posts

    145
  • Joined

  • Last visited

Everything posted by mcer

  1. mcer

    Weird thing

    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)
  2. I want to make a player name detector, BUT with a max number of characters.
  3. mcer

    How can i do this?

    What I want to do is a smooth transition from one color to another.
  4. 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.
  5. mcer

    How can i do this?

    When i use the setTimer, It only appear when you scroll the mouse and disappear in less than a second.
  6. mcer

    How can i do this?

    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.
  7. mcer

    How can i do this?

    Can you make an example?. I used "setTimer" before making this post.
  8. mcer

    How can i do this?

    Sorry, fixed ._. What I want is: That function has multiple DXtext and DXimages. Appear over a period of time.
  9. 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?.
  10. Please if you know how to do this, Reply .
  11. It is for 3D. I want to do the animation for a 2D Image.
  12. Example: Start End Win an animation. I only want to learn how to do this. Please help .
  13. 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 )
  14. Your weapon isn't removed by this... This script only set stats.
  15. mcer

    help me

    The team is "NoTeam"?
  16. Okay, The post is ended. I recreated this for serverside. Thanks everyone!.
  17. I made it server side-Did you switch the type in the meta? Yes.
  18. I know, that's why I want to do this serverside.
  19. Still not working.
×
×
  • Create New...