Jump to content

tigerman

Members
  • Posts

    83
  • Joined

  • Last visited

Everything posted by tigerman

  1. dosen't work... now i have started thinking about is it even possible to make such script because player attacks vehicle and logically source player vehicle kills source player with its explode
  2. function kill ( ammo, attacker, weapon, bodypart ) if (attacker) then outputChatBox ( getPlayerName(source).." killed by "..getPlayerName(attacker), getRootElement(), 255, 255, 255, true ) end end addEventHandler ( "onPlayerWasted", getRootElement(), kill) if player who got killed isnt in vehicle then it works else it dosent .. i dont think this would give me anything if i get his vehicle
  3. hey, im trying to make map like battlefield 2 but im having some troubles with onPlayerWasted if player is in vehicle (source) then the attacker wount get a point, what should i do ?
  4. it works fine if its not attached but when i attach it wount work anymore
  5. Hey, im trying to make freeroam script for specific car, when u hit this car you will explode and also this car is moving.. i tryed with marker, attached it and then used onmarkerhit event but dint work, maybe some more ideas what should i use for this ?
  6. no no:P i mean for server, everyone who are in server will lose this bind
  7. Hey, how to unbind shoot key ? like mouse button 1 is to hit other player but how to unbind that ?
  8. tigerman

    Error

    lol you can't find errors from meta and you made such scripts ? ha-ha anyway u have one mistake and its author="NeXTreme"
  9. setSoundVolume(soundasd, 1.5)
  10. ok i try to explain, i want to make chatting color change window with scrollbars, but i need hex codes for that like #ffffff is white as 255,255,255 but with scrollbar i can only get numbers like 255,255,255
  11. Hello, its me again :€ is it possible to make 255,255,255 to #ffffff ? like normal colors to hex
  12. mm theres on example what i did but still no luck GUIEditor_Window = {} GUIEditor_Progress = {} GUIEditor_Window[1] = guiCreateWindow(473,483,398,201,"",false) --GUIEditor_Progress[1] = guiCreateProgressBar(64,24,274,26,false,GUIEditor_Window[1]) scrollBar = guiCreateScrollBar(64,24,274,26,true,true,GUIEditor_Window[4]) What i did wrong ?
  13. whats the point of compiler then if u make decompiler...
  14. https://community.multitheftauto.com/ind ... ls&id=1333 she dint made it but w/e who care.. pirates ftw
  15. Hey, is it possible to create scrollbar with guieditor ? if yes then short explain wount be bad
  16. for auto login ... so is there any way to make serial as username ?
  17. is there any way to make it as player name for register/login ?
  18. they have to be diffrent ?
  19. function loginPlayer ( name, pass ) local name = getPlayerSerial( source ) local pass = getPlayerSerial( source ) local account = getAccount (name,pass) if ( account ~= false ) then logIn ( source, name, pass ) outputChatBox("Logged in",source) else local pass = getPlayerSerial( source ) local name = getPlayerSerial( source ) local accountAdded = addAccount( name, pass ) if (accountAdded) then outputChatBox("Registered",source) logIn ( source, name, pass ) end end end addEventHandler ( "onPlayerWasted", getRootElement(), loginPlayer ) -- for fast testing Hmm, should work but why it isnt working ? No errors
  20. Now if i only would find out way how to sort/list them by growing like 9 8 4 3 1 etc.. then my life would be perfect
×
×
  • Create New...