Jump to content

GamerDeMTA

Members
  • Posts

    559
  • Joined

  • Last visited

Everything posted by GamerDeMTA

  1. good luck it's an awesome idea
  2. Do it like CoD it would be awesome!! oh good luck
  3. His script is compiled so I can't post the function but my script is server side and in his meta.xml the function is like: function="addPlayerEXP" type="server" /> -- arguments: thePlayer, theExperience --> It's server side, too
  4. Hello, I have a problem with the Castillo's exp_system. It's just that when I kill a zombie I get 12 EXP instead 10, and, it just levels up with 1 kill to the Level 2. Also, how to get the level's name? not the "number"? Script [server] addEvent ( "onZombieWasted", true ) addEventHandler ( "onZombieWasted", root, function ( theKiller ) exports.exp_system:addPlayerEXP ( theKiller, 10) end ) Levels.xml "Level 1" experienceRequired = "0" /> "LV2" experienceRequired = "3000" /> "LV3" experienceRequired = "1000" /> "LV4" experienceRequired = "2000" /> "LV5" experienceRequired = "3000" /> "lv6" experienceRequired = "10000" /> "lv7" experienceRequired = "15000" /> "Lv8" experienceRequired = "50000" />
  5. How to use onClientMarkerHit? where do I put My marker? Because the wiki says: addEventHandler("onClientMarkerHit", getRootElement, thefunction) Where do i put my marker??
  6. GamerDeMTA

    This ID.

    Does someone know the ID of the andromada? I mean the andromada which has a ramp for jump not the other one which hasn't
  7. how i do it?? sorry for this 'bump'.
  8. i already did that ( i think that's what the resource does, a colshape and radar area), but hoe wo set zombieproof? for dont make them spawn there?
  9. i tried but that is if a player has that weapon not if he shoots with it,
  10. like this? function onClientPlayerWeaponFireFunc( 38 ) --the function end or this? function onClientPlayerWeaponFireFunc ( 38, ammo, ammoInClip, hitX, hitY, hitZ, hitElement ) --the function end
  11. GamerDeMTA

    Hola.

    Holaa . Bueno, ando intentando aprender HTML5, y lo veo algo fácil por lo que he visto hasta ahora ( también que se parece algo a Lua o,o ). y ustedes que piensan? es facil? dificil? PD: Ya sé que no tiene que ver con esto pero... saben como se pueden bloquear anuncios en chrome?
  12. thanks !! could you also say me a function for do something IF the map is a [DM] map only? or no possible?
  13. setGameSpeed where do I put for who is the gamespeed? I mean root localplayer source that? in the wiki says this: setGameSpeed( thegamespeed )
  14. Heyy! I wanna use this event for ONLY when a player throws a cocktail molotov.. "onClientPlayerWeaponFire" how to?? what to add to the function
  15. Client side addEventHandler("onClientPlayerWeaponSwitch", getRootElement(), function ( ) local weapon = getPedWeapon ( source, 7 ) if ( weapon == 38 ) then if ( getPedTotalAmmo ( source, 7 ) > 1 ) then triggerServerEvent ( "lol", source ) end end end ) serverside addEvent("lol") addEventHandler("lol", getRootElement(), function ( ) giveWeapon ( source, 38, 1 ) end )
  16. ok oh i tried the script with onClientPlayerWeaponSwitch event instead setTimer but it says this in debug: ERROR: Client (GamerDeMTA) triggered serverside event lol, but event is not marked aas remotly triggerable
  17. ok thanks. oh and i have other doubt, what's elseif for? same as if? or it's other use?
  18. why not? so each 0.1 seconds it checks if you have that no?
  19. function ( ) if getPedTotalAmmo ( getLocalPlayer(), 7 ) > 1 then triggerServerEvent("lol", getLocalPlayer()) end end setTimer(, 100, 0) server addEvent("lol") addEventHandler("lol", root, giveWeapon(source, 38, 1) end ) as u see it's a madness And no idea yet how to get the weapon minigun =/
  20. i tried to but i dont understand how to... could you tell me? how to do that if the weapon > 5 it goes to 1 **for set the ammo i think i must use trigger and giveweapon in serverside no?**
  21. how to check if he has the minigun, after that?
  22. but i have a problem... I want to do it only for the weapon ID 38. and those functions are for weapon slots.
×
×
  • Create New...