Jump to content

Wei

Members
  • Posts

    814
  • Joined

  • Last visited

Everything posted by Wei

  1. Wei

    car save

    ok. 1 question more. How can add on gridlist vehicle IDs. I know that I need to make some kind of table.
  2. Wei

    car save

    how can I save the all cars?
  3. this is my sample. Just edit guiSetAlphat to guiSetPosition. bindKey("F3","down",function() guiSetVisible(window,not guiGetVisible(window)) guiSetAlpha( window, 0) setTimer( function() guiSetAlpha( window, 0.1 ) end , 100, 1) setTimer( function() guiSetAlpha( window, 0.2 ) end , 2000, 1) setTimer( function() guiSetAlpha( window, 0.3 ) end , 300, 1) setTimer( function() guiSetAlpha( window, 0.4 ) end , 400, 1) setTimer( function() guiSetAlpha( window, 0.5 ) end , 500, 1) setTimer( function() guiSetAlpha( window, 0.6 ) end , 600, 1) setTimer( function() guiSetAlpha( window, 0.7 ) end , 700, 1) setTimer( function() guiSetAlpha( window, 0.8 ) end , 800, 1) setTimer( function() guiSetAlpha( window, 0.9 ) end , 900, 1) setTimer( function() guiSetAlpha( window, 1 ) end , 1000, 0) showCursor(guiGetVisible(window)) end)
  4. setTimer guiSetPosition
  5. wich of that i need to use ? "weapon_range" - float "target_range" - float "accuracy" - float "damage" - int "maximum_clip_ammo" - int "move_speed" - float "flags" - int (specify a flag to toggle it on/off) See Weapon Flags "anim_loop_start" - float "anim_loop_stop" - float "anim_loop_bullet_fire" - float "anim2_loop_start" - float "anim2_loop_stop" - float "anim2_loop_bullet_fire" - float "anim_breakout_time" - float
  6. Can I ask if I can set the stat for minigun (like have 2 miniguns)?
  7. Wei

    problem

    I mean disable not to hide it. Just like in login systems
  8. Wei

    problem

    how can I make that when player open the window it disable chat ?
  9. Wei

    problem

    what i need to make there at triggerServerEvent addEventHandler("onClientGUIClick", guiRoot,function(button) if (button == "left") then if (source == kickButton) then guiSetVisible( adminWindow, false) showCursor(false) elseif ( source == setWantedLevelButton ) then local playerName = guiGridListGetItemText ( gridListOfPlayers, guiGridListGetSelectedItem ( gridListOfPlayers ), 1 ) local wlGet = guiGetText ( tonumber (wantedLevelEdit) ) triggerServerEvent ( button ,playerName, wlGet ) end end end,true)
  10. Wei

    problem

    why when I move the mouse to other button it beeps ? CODE: addEventHandler( "onClientMouseEnter", ButtonPlay, function() playSound("beep.mp3") end )
  11. Wei

    How

    thanks.
  12. Wei

    How

    How can I detect is player is pointing (with mouse) on a label ? And set color to it.
  13. Wei

    I need help

    attachElements -- To attach the guns on a car.
  14. Wei

    timer

    THANK YOU!
  15. Wei

    timer

    how can I make that player need to wait 60 minutes to type command again CODE: function setTimerToNextCommand(thePlayer) local chance = math.random (1, 5) local rand = math.random ( 1000, 7000 ) if (chance == 1) then outputChatBox( "YEAH! you've got $" tonumber (rand), thePlayer, 0, 255, 0) givePlayerMoney(thePlayer, rand) else outputChatBox( "Failed", thePlayer, 0, 255, 0) end addCommandHandler("lottery buy", setTimerToNextCommand)
  16. Wei

    timer

    how can i getTickCount transver to chat box ?
  17. Wei

    timer

    I'll try... I will report again if I won't know
  18. Wei

    timer

    how... I know that functions. Can you give me a sample? I need to have getTickCount too...
  19. Wei

    timer

    how can I make that all players on server cannot do a command like the most system on rober of ammunation and it output chat box ammunation has been allready robbed. You need to wait (seconds) to rob it again.
  20. Wei

    Question

    Thanks both ...
  21. Wei

    Question

    how can I make when i draw the dxDrawText it will show and after 10 seconds will disaphere ? how? Thanks, blazy
×
×
  • Create New...