Jump to content

triplesnake

Members
  • Posts

    95
  • Joined

  • Last visited

Everything posted by triplesnake

  1. triplesnake

    IDs

    yes ty mate
  2. triplesnake

    IDs

    Can some one give me link to object IDS pls so i can get their TXD File
  3. lol dude there are health pickups already in map editor just use them
  4. triplesnake

    Need help

    Event isn't Function, Event is when something happen like onPlayerSpawn which means that the function which is written before that will happen when the player spawns this is the an example and even'ts can be used normally or with handlers depends on what u are doing
  5. Where is "lplay" defined? earlier in the script defined as localplayer
  6. /debugscript 3
  7. now it's shooting at me i think bec it's shooting down so i am killing myself
  8. function rocket() theVehicle = getPedOccupiedVehicle(lplay) if (bindTrigger == 1) and (not isPlayerDead(lplay)) and (isElement(theVehicle)) then bindTrigger = 0 local x,y,z = getElementPosition(theVehicle) local rX,rY,rZ = getVehicleRotation(theVehicle) local x = x+4*math.cos(math.rad(rZ+90)) local y = y+4*math.sin(math.rad(rZ+90)) createProjectile(theVehicle, 19, x, y, z, 1.0, nil) setTimer(allowShoots, 3500, 1)
  9. but killer param doesn't exists on a death caused by an explosion
  10. mmm i am facing another little (ok not little ) problem well as i said it's for shooter so it won't get the killer cuz the rocket is a projectile anyway i can fix that?
  11. thx mate appreciate the help
  12. He is pretty good at scripting almost everything and i think the pricess are pretty fair ;P even though this is wrong section
  13. ok so this get's the killer and stuff function onWasted(killer, weapon, bodypart) if ( killer and getElementType(killer) == "player" and getElementType(source) == "player" ) then givePlayerMoney ( killer, 1000 ) outputChatBox(getPlayerName(killer).." has killed ".. getPlayerName(source) .."!!!") now i want it to fix the killer's vechile how to do that?
  14. triplesnake

    freeze

    so i used setElementFrozen(getPlayerOccupiedVehicle ( thePlayer ) ow how can i setTimer to unfreeze it?
  15. its still pink with black in the middle
  16. anyhelp about pink sky?
  17. its still there the playercolors isnt running
  18. no there isnt anything to change it there and about double chat?
  19. triplesnake

    problem

    so i have been working on some scripts and reseting a my pc related server and stuff and now sudely chat is double and sky is pink how to fix this? sth wrong with a script?
  20. it seemed more like "shoot" him not "show" i bet he won't make mistakes again lool
  21. what a question sniper he said he port forwarded ofc he is hosting it on his pc
  22. urw btw the problem was the 1 net to the addNitro fixed xthepr0mise code is shorter and better tho he is just rude (jking)
  23. lol no need to judge him just help the guy sorry for interfering
  24. function addNitro(player) if getPedOccupiedVehicle(player) then theVehicle = getPedOccupiedVehicle(player) addVehicleUpgrade ( theVehicle, 1010 ) end end addEventHandler ( "onClientVehicleEnter",addNtiro)
  25. bec there is nothing called addNitro make it addUpgrade("1010")
×
×
  • Create New...