GamerDeMTA
Members-
Posts
559 -
Joined
-
Last visited
Everything posted by GamerDeMTA
-
pusiste scr en vez de src
-
good luck it's an awesome idea
-
Do it like CoD it would be awesome!! oh good luck
-
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
-
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" />
-
How to use onClientMarkerHit? where do I put My marker? Because the wiki says: addEventHandler("onClientMarkerHit", getRootElement, thefunction) Where do i put my marker??
-
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
-
The command /kill ? how?
-
how i do it?? sorry for this 'bump'.
-
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?
-
i tried but that is if a player has that weapon not if he shoots with it,
-
like this? function onClientPlayerWeaponFireFunc( 38 ) --the function end or this? function onClientPlayerWeaponFireFunc ( 38, ammo, ammoInClip, hitX, hitY, hitZ, hitElement ) --the function end
-
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?
-
thanks !! could you also say me a function for do something IF the map is a [DM] map only? or no possible?
-
setGameSpeed where do I put for who is the gamespeed? I mean root localplayer source that? in the wiki says this: setGameSpeed( thegamespeed )
-
Heyy! I wanna use this event for ONLY when a player throws a cocktail molotov.. "onClientPlayerWeaponFire" how to?? what to add to the function
-
thanks it works
-
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 )
-
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
-
ok thanks. oh and i have other doubt, what's elseif for? same as if? or it's other use?
-
why not? so each 0.1 seconds it checks if you have that no?
-
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 =/
-
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?**
-
how to check if he has the minigun, after that?
-
but i have a problem... I want to do it only for the weapon ID 38. and those functions are for weapon slots.
