Jump to content

Evil-Cod3r

Members
  • Posts

    370
  • Joined

  • Last visited

Everything posted by Evil-Cod3r

  1. where is the event ??
  2. function play () if source == Button then local me = playSound("sot.mp3") setSoundVolume(me, 0.-- s8) --> end addEventHandler( "onClientMouseMove", getRootElement( ), play) function stop () if source == Button then stopSound("me") end addEventHandler("onClientMouseLeave", getRootElement(), stop)
  3. try this function this ( theResource ) local they = getResourceFromName ( "freeroam" ) if ( they and theResource == they ) then if getResourceState(freeroam) == "running" then restartResource(freeroam) end addEventHandler ( "onResourceStart", getRootElement(), this )
  4. Try this then function save () local M = getElementData(source,"Dinheiro") setElementData(source,"Dinheiro",M+1500) end addEventHandler("onPlayerJoin",getRootElement(),save)
  5. Press F11 and and see what happen
  6. wtf you dont even know how to add an sample event ? function Me (thePlayer) local players = getElementsByType("player") for k,v in ipairs(players) do if v == getLocalPlayer() then else local r = getElementData(v,"red") local g = getElementData(v,"green") local b = getElementData(v,"blue") setPlayerNametagColor ( thePlayer, r, g, b ) end addEventHandler("onClientPlayerJoin", getRootElement(), Me)
  7. No Man sorry
  8. Try this not sure if work or not function Me (thePlayer) local players = getElementsByType("player") for k,v in ipairs(players) do if v == getLocalPlayer() then else local r = getElementData(v,"red") local g = getElementData(v,"green") local b = getElementData(v,"blue") setPlayerNametagColor ( thePlayer, r, g, b ) end addCommandHandler ( "myColor", Me )
  9. You Have to desing a icon with any photo Program like PhotoShop and use this https://wiki.multitheftauto.com/wiki/Gui ... taticImage
  10. Topic Closed >
  11. https://wiki.multitheftauto.com/wiki/Set ... metagColor
  12. Fixed the Ammo Worng
  13. Fixed The XML Worng
  14. i want know what is the worng with it the Ped dont show or what ?
  15. https://wiki.multitheftauto.com/wiki/Cli ... _functions
  16. Evil-Cod3r

    Problem

    /debugscript 3 what is show ?
  17. i guss like this members = {{1, 2, 3, 4}}
  18. oh i was thinking does it need getElementData or not i think he need Thx BinSlayer1
  19. you mean my code dont work or what ?
  20. function Me ( thePlayer, command ) setElementData ( thePlayer, "Dinheiro" , +1500 ) end addCommandHandler ( "give", Me )
  21. addEvent("onClientTrainingModeEnter", true) addEventHandler("onClientTrainingModeEnter", root, function() local x,y,z = getElementPosition( source ) spawnPlayer (source, x, y, z) end )
  22. You Mean Like This ? function M () local Evil-Cod3r = givePlayerMoney( 1500 ) setElementData ( source, "Dinheiro", Evil-Cod3r ) end addEventHandler( "onClientResourceStart", getRootElement( ), M)
  23. Capy that is Right he Made just 1 line in JetPack i was add CreatPickup for JetPack he make it givePedJetPack
  24. hey Capy watch what you talking about iam not Kid if he steal you well fight like we did isnt it right ? i make the code and he steal it just like that ?
  25. YOU dont know The difference Between ServerSide and Client Side ?? Please any admin get in Close this Topic
×
×
  • Create New...