Tekken Posted March 8, 2017 Share Posted March 8, 2017 (edited) Simple Level System I made this a while ago because I was bored and I said why not to upload it here so here I am. This is a Level system in witch you will have to gain a certain amount of XP to level up. Keep in mind that this is just the core, so there's no rewards, you will have to set them up by yourself. It does include an Server Side event onPlayerLevelUp - Source is the player witch level's up. returns New level, Old level, New exp, Old exp And a Server Side function - This function is also exported! addPlayerXp(element player, number XP) Example: addEventHandler("onPlayerSpawn", root, function() addPlayerXp(source, math.random(30, 100)); end); addEventHandler("onPlayerLevelUp", root, function(lvl) outputChatBox("You just reached level "..lvl, source, 255, 255, 0, false); end); Note: The levels are unlimited! DOWNLOAD Hope you find it useful! Edited May 5, 2020 by Tekken Updated Link to comment
Alright Posted May 9, 2017 Share Posted May 9, 2017 Can I use that scripts on my mta days server ? I am a new mta player ? and can u help me add new weapons in my server ? Thanks a lot Link to comment
Maruchan Posted September 8, 2018 Share Posted September 8, 2018 Funciona para un servidor DayZ?... Lo acabo de activar pero no me genera EXP y tampoco NIVEL :c Link to comment
Tekken Posted September 8, 2018 Author Share Posted September 8, 2018 Yes you can use this with DayZ, actually you can use it with any gamemode you want. :0 Link to comment
Maruchan Posted September 9, 2018 Share Posted September 9, 2018 (edited) 8 hours ago, Tekken said: Yes you can use this with DayZ, actually you can use it with any gamemode you want. :0 Entonces por qué nadie explica como adaptar un system_exp a un servidor day z?... Yo no se hacerlo ya que soy nuevo por aqui. Tu que eres el dueño podrías resubirlo adaptado para una gamemode DayZ por favor?. Edited September 9, 2018 by Maruchan Link to comment
iMr.WiFi..! Posted September 9, 2018 Share Posted September 9, 2018 9 hours ago, Maruchan said: Entonces por qué nadie explica como adaptar un system_exp a un servidor day z?... Yo no se hacerlo ya que soy nuevo por aqui. Tu que eres el dueño podrías resubirlo adaptado para una gamemode DayZ por favor?. Please speak english. Link to comment
Tekken Posted September 10, 2018 Author Share Posted September 10, 2018 To adapt it to a DayZ gamemode it's pretty simple all you have to do is to play around this 2 events killDayZPlayer and onZombieGetsKilled. Anyway I won't do it as this is your job if you want to be a server owner. Greetings. Link to comment
Maruchan Posted September 11, 2018 Share Posted September 11, 2018 On 09/09/2018 at 07:35, iMr.WiFi..! said: Please speak english. How do I get the store to go to the user's position? function removeTent(object) local x, y, z = getElementPosition(getElementData(object, "parent")) local item, itemString = getItemTablePosition("Tienda de Campaña") local itemPickup = createItemPickup(item, x, y, z + 1, itemString) destroyElement(getElementData(object, "parent")) destroyElement(object) end addEvent("removeTent", true) addEventHandler("removeTent", getRootElement(), removeTent) Link to comment
Maruchan Posted September 11, 2018 Share Posted September 11, 2018 2 hours ago, Tekken said: What?... It is a function of removing dayz tent ... I want that when dismantling this it is under the user. Link to comment
Tekken Posted September 14, 2018 Author Share Posted September 14, 2018 What does that has to do with the Simple Level System ?!?! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now