Jump to content

GamerDeMTA

Members
  • Posts

    559
  • Joined

  • Last visited

Everything posted by GamerDeMTA

  1. Where's the script of /me command?
  2. and it is added as client-side to meta
  3. it doesnt work i think it's teh shooter script is it wrong?
  4. function cdoshoot() local cLP = getLocalPlayer() local theVehicle = getPedOccupiedVehicle(cLP) if bindTrigger == 1 then if not isPlayerDead(cLP) then bindTrigger = 0 local x,y,z = getElementPosition(theVehicle) local rX,rY,rZ = getElementRotation(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, 4000, 1) allowShoots() bindKey("fire", "down", cdoshoot) end end end function allowShoots() bindTrigger = 1 end Doesnt work, no debugscript 3.
  5. CLP is defined in line 1 and theVehicle in 13 no?
  6. A vehicle . I used it "theVehicle" in line 7 and 8 and 11 But is the shooter script wrong?
  7. It doesn't work and /debugscript 3 doesn't say nothing.. cLP = getLocalPlayer() function cdoshoot() if bindTrigger == 1 then if not isPlayerDead(cLP) then bindTrigger = 0 local x,y,z = getElementPosition(theVehicle) local rX,rY,rZ = getElementRotation(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, 4000, 1) local theVehicle = getPedOccupiedVehicle(cLP) allowShoots() bindKey("fire", "down", cdoshoot) end end end function allowShoots() bindTrigger = 1 end PS: Is my script wrong? if it's can u say me what is wrong or gimme a shoot script
  8. No, it's for my shooter map. I want to bind the key for shoot, to the "fire" bind of the player,
  9. Hi, I need help. I want to use bindKey of the "fire" bind, getting client's bind. I think I can use the function: getBoundKeys But then, how to bind it to bindKey, ? This code would be right? local = getBoundKeys("fire") bindKey("xd", "down", myFunction)
  10. thanks btw how to change the priority of a column?
  11. #1 that doesnt output killmessages (killmessages is started.) #2 isnt there any resource?
  12. I want to change the settings of the scoreboard in my server, but for All the players. I mean, if a player is new for example and press TAB, his settings are which I set. Is it Possible?
  13. I need help with killmessages, where do I find what arguments + functions exported it has? And how to Output a killmessage which says: [Player] [Weapon] Zombie Oh, and... Does someone know the resource of the crosshair of zombie servers? The crosshair which is a bit black u know?
  14. How to do that a POS of the GUI Button or GUI element is for all the resolutions in the same place?
  15. This doesn't work, when I'm near, it doesn't sound. function m ( ) local icon = createBlip(-11, 3.23185, 45.92) local so = playSound3D("xd.mp3", -11, 3.23185, 45.92) setSoundMaxDistance(so,100) setSoundVolume(so,1) end addEventHandler("onClientResourceStart", root, m) The Song is added to the Meta and I tried with playSound instead playSound3D.
  16. And what to do how to get if the player has 2 Ammo or more, when he shoots
  17. Thanks. Oh can you say me a script how to do that if a player has 2 or more bullets of a weapon (X), it sets his weapon bullets (X) to 1? Oh and can u say me too how to put a dxDrawText for all the resolutions in a corner?
  18. I wanna remove the time to the HUD (the game-time) or put it more down. Well, I want to put it more down no delete if it's possible
  19. hey i want to do that when I press F1 for first time it showChat(false) and when I press again it's true when I press again false... do u understand? PS: I can't do it with GuiGetVisible because it isn't a gui =/
  20. Now it works hey can u say me what to do for do that if the player has 100HP He doesn't get health? because he has FUll HP
  21. I didn't. Check: p = createPickup ( 2017.4038085938,-1431.1442871094,13.543635368347, 0, 1000, 5000) It's the X,Y,Z, the Type (health), amount (1000HP), respawntime (5s = 5000ms), and I didn't put ammo (it's not a weapon .)
  22. It's in the code but not in the map of MTA
  23. It says error at addEventHandler, element 2, got boolean
×
×
  • Create New...