Jump to content

HUNGRY:3

Members
  • Posts

    395
  • Joined

  • Last visited

Everything posted by HUNGRY:3

  1. "TOPBASS" version="1.5" name="Avtosalon by.TOPBASS" type="script" />
  2. show meta
  3. HUNGRY:3

    [HELP] Script

    How do you want us to help we don't even understand your problem
  4. viewtopic.php?f=148&t=38203
  5. What are you waiting for? just put it in server side
  6. I bet you used it in client side
  7. addEventHandler( "onClientPlayerStuntFinish", getRootElement( ), function() addEventHandler("onClientRender",root,lol) end ) function lol( stuntType, stuntTime, distance ) dxDrawText("You finished stunt: " .. stuntType ..", Time: " .. tostring( stuntTime ).. ", Distance: " .. tostring( distance ), screenW * 0.2219, screenH * 0.7935, screenW * 0.8839, screenH * 0.8963, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "left", "top", false, false, false, false, false); end
  8. Because you should use "onClientRender" Event for Dx functions!
  9. function blahblah(thePlayer) setElementData(thePlayer, "normalSkin",getElementModel(thePlayer)) setElementModel(thePlayer,280) giveWeapon(thePlayer,22,100) giveWeapon(thePlayer,3,1) end addCommandHandler("duty",blahblah) function offduty(thePlayer) setElementModel(thePlayer,getElementData(thePlayer,"normalSkin")) takeWeapon(thePlayer,22) takeWeapon(thePlayer,3) end addCommandHandler("offduty",offduty)
  10. HUNGRY:3

    Help

    local avaible_skin = { [280]=true, [281]=true, [282]=true, [283]=true, [284]=true } function blahblah(thePlayer,_,id) if ( avaible_skin[tonumber(id)] ) then setElementData(thePlayer, "normalSkin",getElementModel(thePlayer)) setElementModel(thePlayer,id); return true; end return false; end addCommandHandler("duty",blahblah) function offduty(thePlayer) setElementModel(thePlayer,getElementData(thePlayer,"normalSkin")) end addCommandHandler("offduty",offduty)
  11. function unlockHouse() if button6 == source then guiSetEnabled(button4, true) guiSetEnabled(button5, true) outputChatBox("House Unlocked", 246, 8, end end addEventHandler("onClientGUIClick", button6, unlockHouse, false)
  12. Haha! Cool!
  13. HUNGRY:3

    [HELP] Script

    As i understand you mean if the muted player has ttt he can't get un muted ?
  14. because giveWeapon is server side! you need to trigger
  15. HUNGRY:3

    [HELP] Script

    i really don't understand function mute () setElementData(source, "ttt", getElementData(source, "ttt")+ 1) end addEventHandler("onPlayerMute", root, mute) function unmute() setElementData(source, "ttt",getElementData(source, "ttt")- 1) end addEventHandler("onPlayerUnmute", root, unmute)
  16. Same Drawing manga is awesome
  17. HUNGRY:3

    [HELP] Script

    not sure what do you mean but try this lol function poop () setElementData(source, "ttt", (getElementData(source, "ttt") or 0) + 1) end addEventHandler("onPlayerMute", getRootElement(),poop)
  18. function lol() setElementModel(source,0) end addEventHandler("onPlayerSpawn",root,lol) Server side
  19. sorry but we ain't gonna help you bruh!
  20. Nice looks awesome
  21. use setTimer
  22. You call this multi gamemode? There's only 2 gamemodes
  23. https://wiki.multitheftauto.com/wiki/Character_Skins
×
×
  • Create New...