Jump to content

Evil-Cod3r

Members
  • Posts

    370
  • Joined

  • Last visited

Everything posted by Evil-Cod3r

  1. 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)
  2. 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 )
  3. Try this then function save () local M = getElementData(source,"Dinheiro") setElementData(source,"Dinheiro",M+1500) end addEventHandler("onPlayerJoin",getRootElement(),save)
  4. 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)
  5. 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 )
  6. You Have to desing a icon with any photo Program like PhotoShop and use this https://wiki.multitheftauto.com/wiki/Gui ... taticImage
  7. https://wiki.multitheftauto.com/wiki/Set ... metagColor
  8. i want know what is the worng with it the Ped dont show or what ?
  9. https://wiki.multitheftauto.com/wiki/Cli ... _functions
  10. Evil-Cod3r

    Problem

    /debugscript 3 what is show ?
  11. i guss like this members = {{1, 2, 3, 4}}
  12. oh i was thinking does it need getElementData or not i think he need Thx BinSlayer1
  13. you mean my code dont work or what ?
  14. function Me ( thePlayer, command ) setElementData ( thePlayer, "Dinheiro" , +1500 ) end addCommandHandler ( "give", Me )
  15. addEvent("onClientTrainingModeEnter", true) addEventHandler("onClientTrainingModeEnter", root, function() local x,y,z = getElementPosition( source ) spawnPlayer (source, x, y, z) end )
  16. You Mean Like This ? function M () local Evil-Cod3r = givePlayerMoney( 1500 ) setElementData ( source, "Dinheiro", Evil-Cod3r ) end addEventHandler( "onClientResourceStart", getRootElement( ), M)
  17. Capy that is Right he Made just 1 line in JetPack i was add CreatPickup for JetPack he make it givePedJetPack
  18. 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 ?
  19. YOU dont know The difference Between ServerSide and Client Side ?? Please any admin get in Close this Topic
×
×
  • Create New...