Jump to content

multislow

Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by multislow

  1. Well pretty much everything: 1 - indent your code 2 - Do not use anonymous functions if you are still learning the basics. 3 - source isn't a number and not a function neither. 4 - we need to know what kind of gui element source is (button ? grid list ?) 5 - Also, be sure you did the following tutorials here: https://wiki.multitheftauto.com/wiki/Scr ... troduction and https://wiki.multitheftauto.com/wiki/Int ... ng_the_GUI go to hell i want help for code .
  2. What Proplem In This Code addEventHandler('onClientGUIClick',guiroot, if getElementType ( player ) == "police" and getElementModel function ( ) if (source == 1 ) then setElementHealth(source,100) setElementDimension ( source, 1 ) outputChatBox ( "#FF0000You Are Spwan #00FF00To Dimension ", source(), 255, 255, 255, true ) outputChatBox ( "#FF0000 To Go Really World Go To Red Blip ", source(), 255, 255, 255, true ) end end ); and thanx
  3. thx Best cand repier this code addEventHandler(''onClientGUIClick'',root
  4. for setPedArmor Trigger ? Help Guys Plz
  5. i want on player click give player health and button 2 armor code : any proplem ? Code removed
×
×
  • Create New...