Jump to content

BorderLine

Members
  • Posts

    1,027
  • Joined

  • Last visited

Everything posted by BorderLine

  1. This work perfect thank a lot Benxamix2, and solid and jhon.. and the last question. i dont disturb. how i can add more weapons. I mean. not all zombies have same weapons, some chainsaw, others knife or katana what is that fuction for do that?
  2. dont show message, but im change Zomb_STFU to onZombieSpawn addEvent("onZombieSpawn",true) addEventHandler("onZombieSpawn",root, function ( zomb ) if zomb and getElementType ( zomb ) == "ped" then giveWeapon ( zomb, 8, 1, true ) outputChatBox ( "zomb with weapon!" ) end outputChatBox ( "zombie spawned!" ) end) then show message "zombie spawned!"
  3. thank benxamix.. but dont work . and debugscript dnt show errors. some pleyer toldme, he make this with bot sistem
  4. i cant some other player know how do this?
  5. dont work and debugscript 3 dont detect errors thanks, im try to make something if i can doit
  6. Hi forum's people. I need a big help, and is how i can give to zombies some weapons, like bat, or knife or other. The script is the same of slothman, and i dont know how start just i know how setteam to some ped, but i dont know if this is same. If someone know how doit, please my server is Biohazard, if someone want visit it (sorry offtopic, just say information)
  7. perfect.. is working.. thanks a loot again
  8. ill test
  9. hi again people of forums well im try to make this script i want sound in weapons but with some distannce. my bug is.. dont sound like 3d sound.. if you are away from others players.. you can hear the others weapons sounds.. so im do this.. i dont know what is wrong.. the sounds are good.. but dont wokr the 3d sound Clientside function onClientPlayerWeaponFire ( weapon ) local Zx, Zy, Zz = getPedWeaponMuzzlePosition ( getLocalPlayer() ) if weapon == 22 then--colt45 local sound = playSound3D("sounds/Colt45.mp3", Zx, Zy, Zz, false) setSoundMaxDistance(sound, 30) end end addEventHandler ( "onClientPlayerWeaponFire", getRootElement(), onClientPlayerWeaponFire ) The resource is more bigger.. but this is the example thanks
  10. dont work. but i change of script and dont put the models in other carpet.. so now work thx everywere
  11. Hi forum well i was looking the after post and ill make this -clientside local weapons = { {fileName="ak47", model=355},{fileName="colt", model=346}, {fileName="m4", model=356},{fileName="magnum", model=348}, {fileName="mp5", model=353},{fileName="shotgun", model=349}, {fileName="sniper", model=358},{fileName="spaz", model=350} } function load() for index, weapon in pairs(weapons) do txd = engineLoadTXD ( weapon.fileName.. ".txd" ) engineImportTXD ( txd, weapon.model ) dff = engineLoadDFF ( weapon.fileName.. ".dff", 0 ) engineReplaceModel ( dff, weapon.model ) end end addEventHandler("onClientResourceStart",resourceRoot, function () local version = getVersion() if version.mta == "1.1.1" then setTimer ( load, 1000, 1) end end) and in meta i dont know what happen but weapons still be originals
  12. BorderLine

    help me

    why this script dont work in my server i put the correct ID.. add to meta.. and idk what happen
  13. thx a lot again.. work perfect
  14. but how i can make only sound for player.. when i hit marker.. all players in server can hear sound
  15. thx a loot now work with this code clientside- marker2 = createMarker (2797.5,-1465.6,19.218,"cylinder",1.1,255,255,225,255) function m2 (hitplayer) local sound = playSound("soundshop/hi.mp3") end addEventHandler("onClientMarkerHit", marker2, m2)
  16. Hi community i have a question well im trying to make a script, and is like this serverside marker1 = createMarker (815.5,-1107.5,24.7,"cylinder",1.1,255,255,225,255) function m1( ) playSound ( "soundshop/hi.mp3", false ) end addEventHandler( "onMarkerHit", marker1, m1) when im hit the marker, play the sound. but dont work
  17. nose si te pasara igual, pero ami los skins se me distorcionan
  18. aaaaaah you are the best man now is fix thanks alot..!!!! if some mod read this can be closed this post all are okey
  19. ill test it
  20. I dont know if i wrong but in the settimer you need put the name of fuction for set timer in this case you put setTimer(yo,300,46) and the name of your fuction dont have name function () local sound = playSound("disco_pogo.mp3") maybe could be better if you separate the diferents funtions, playsound, randomsky, randomwater and randomcolourcar and put same comand for all
  21. Hi comunity. Well im a new user in forum. and i decide register because i learn much reading the forum's post. In special solidnake and JR10 you helpme so much Well i have a problem, i dont know if this is good or not. I want remove hex code from pm chat window function removeHEXFromString(str) return str:gsub("#%x%x%x%x%x%x", "") end i dont know if i need put some "IF" or other fuction I maked much changes, but i cant doit and sorry for my english.. i hope you can understan what i need here i have a img Thanks
  22. This is my 3rd map. Im not a great mapper. This is the link for download it Download
  23. nice map man downloading.......
×
×
  • Create New...