• Content count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About OGF

  • Rank
  • Birthday 12/08/1994


  • Gang
    Full Theft Auto
  • Location
    Chicago, USA
  • Interests
    Big booty hoes.
  1. Destroy createFires

  2. [Help]Ped Click

    onClientClick https://wiki.multitheftauto.com/wiki/OnClientClick 8th argument The example should give you an idea how it's done
  3. Refresh the gridlist.

    watup Chaz, how you been? What you could also do to update the panel playerlist on events such as onClientPlayerJoin, onClientPlayerQuit, and onClientPlayerChangeNick. That way when you have the panel opened it just updates it automatically instead of opening and closing just so it refreshes.
  4. The Official Quote Wall

  5. Head Rotation

    a Timer? are you crazy?
  6. Help,Please

    viewtopic.php?f=91&t=63269&p=601460#p601460 bindKey unbindKey
  7. Help,Please

    Someone already wrote a script for you on how to stop animations with spacebar. Use it and learn from it.
  8. trigger client event from server

    addEvent ( "startWindow", true ) addEventHandler("startWindow", root, function() GUIEditor.window[1] = guiCreateWindow(166, 96, 545, 402, "credits", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible(GUIEditor.window[1],false) GUIEditor.staticimage[1] = guiCreateStaticImage(16, 31, 152, 127, "banshee.png", false, GUIEditor.window[1]) end ) -- server function player_Spawn ( posX, posY, posZ, spawnRotation, theTeam, theSkin, theInterior, theDimension ) triggerClientEvent ( "startWindow", source ) end addEventHandler ( "onPlayerSpawn", getRootElement(), player_Spawn ) what are you trying to do with the bindKey exactly?
  9. Script Error

    well that ruined the learning experience
  10. Script Error

    setPedAnimation(localPlayer,false) Just remember localPlayer = getLocalPlayer() ---this function is only used when you are scripting on the client side.
  11. Script Error

    That one is for the client. and I know it's working fine.
  12. Script Error

    function relax() setPedAnimation (localPlayer, "BEACH", "Lay_Bac_Loop") if isTimer ( hpTimer ) then return end hpTimer = setTimer ( function() if getElementHealth ( localPlayer ) < 200 then setElementHealth ( localPlayer, getElementHealth ( localPlayer ) + 10 ) else killTimer ( hpTimer ) end end, 10000, 0 ) end addCommandHandler ("relax", relax) Try this. as for the animation i'll leave that to you.
  13. Script Error

    @ bssol pls learn the difference between client and server you also liOneLMeSsIshoT. isPedDead is a server only function.... so you are running this script clientside
  14. Script Error

    You're not using this clientsided are you?