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. HUNGRY:3

    [HELP] Script

    How do you want us to help we don't even understand your problem
  3. What are you waiting for? just put it in server side
  4. I bet you used it in client side
  5. 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
  6. Because you should use "onClientRender" Event for Dx functions!
  7. 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)
  8. 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)
  9. function unlockHouse() if button6 == source then guiSetEnabled(button4, true) guiSetEnabled(button5, true) outputChatBox("House Unlocked", 246, 8, end end addEventHandler("onClientGUIClick", button6, unlockHouse, false)
  10. HUNGRY:3

    [HELP] Script

    As i understand you mean if the muted player has ttt he can't get un muted ?
  11. because giveWeapon is server side! you need to trigger
  12. 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)
  13. Same Drawing manga is awesome
  14. 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)
  15. function lol() setElementModel(source,0) end addEventHandler("onPlayerSpawn",root,lol) Server side
  16. sorry but we ain't gonna help you bruh!
  17. You call this multi gamemode? There's only 2 gamemodes
  18. https://wiki.multitheftauto.com/wiki/Character_Skins
×
×
  • Create New...