AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Simple Exp Level Mod (https://forums.alliedmods.net/showthread.php?t=242056)

eQuaniox 06-13-2014 09:53

Simple Exp Level Mod
 
1 Attachment(s)
Simple Exp Level Mod Plugin

Hello, Everyone
My self eQuaniox Gaming & hosting owner
This is My first Plugin
What This plugin Do ?
*This plugins Gives Level on everykill :)
*Increases Hp & Damage Per Level
*Lagfree Plugin [Does Not effect on Smooth gaming or Fps]

Installation -
* copy exp_mod.amxx to your cstrike/addons/amxmodx/plugins
*Download exp_mod.sma and place it in your amxmodx/scripting folder then compile it (How to compile)
*Install plugin (move it from compiled to plugins) and write it's name in your plugins.ini file.

This is an screenshot~
http://www.imagesup.net/?di=814026672460

ironskillz1 06-13-2014 09:59

Re: Simple Exp Level Mod
 
You arent allowed to post amxx files

Neko3in1 06-13-2014 10:09

Re: Simple Exp Level Mod
 
i see many plugin like this ..

devilicioux 06-13-2014 10:25

Re: Simple Exp Level Mod
 
Quote:

Originally Posted by eQuaniox (Post 2151036)
*Online Compiler has an problem So i uploaded the amxx File

Then you will have to ask a moderator to compile and attach that for you.

+ Redundant.
+ Sorry but Even Better XP Mods already exist.

So,Probably this is going to be unapproved.

Arkshine 06-13-2014 10:41

Re: Simple Exp Level Mod
 
Removed AMXX plugin. You are not allowed to upload compiled plugin.

As being stated above, this is redundant. Please search before posting.
Unapproved.

nikolov 06-14-2014 07:14

Re: Simple Exp Level Mod
 
Nice, but you are not the real author.
https://forums.alliedmods.net/showpo...71&postcount=5

HamletEagle 06-14-2014 08:46

Re: Simple Exp Level Mod
 
PHP Code:

0,
    
25,
    
50,
    
75,
    
100,
    
125,
    
150,
    
175,
    
200,
    
235,
    
270,
    
310,
    
350,
    
375,
    
400,
    
425,
    
450,
    
485,
    
520,
    
555,
    
600 

I think that you used some tuts for making this. Anyway it's wrong to start for 0. 0 mean that you need 0 xp for first level. Simply remove it, player will anyway start from level 0 and 0 xp.

PHP Code:

format(vaultdata255"%i#%i#%i#"gExp[id], gLvl[id], gSpecs[id]) 

# is not needed, you can simply put a space like: "%i %i %i ".
PHP Code:

    format(vaultdata255"%i#%i#%i#"gExp[id], gLvl[id], gSpecs[id]) 

Same here.

If you do this, you no more need to replace #, so remove
PHP Code:

    replace_all(vaultdata255"#"" "


PHP Code:

gExp[iAtkr] += get_pcvar_num(gCvarKill)
        
        if(
read_data(3))
        {
            
gExp[iAtkr] += get_pcvar_num(gCvarHs)
        } 

This won't work correctly. If you make a head shot you will receive xp for normal kill and xp for hs kill. I think that it should be like this: make a normal kill, receive xp for normal kill ,make a hs, receive xp for a hs.

->

PHP Code:

    if(read_data(3))
    {
        
gExp[iAtkr] += get_pcvar_num(gCvarHs)
    }
    else 
gExp[iAtkr] += get_pcvar_num(gCvarKill

What are you doing in TwinEvent is silly, use get_player and loop all players. Also get_players can get players matching with passed team. Same in CwinEvent.

In HamSpawnEvent(id) you have to check if player is alive.

Flick3rR 06-14-2014 09:33

Re: Simple Exp Level Mod
 
Quote:

Originally Posted by HamletEagle (Post 2151527)
PHP Code:

    if(read_data(3))
    {
        
gExp[iAtkr] += get_pcvar_num(gCvarHs)
    }
    else 
gExp[iAtkr] += get_pcvar_num(gCvarKill


Or just
PHP Code:

gExp[iAtkr] += read_data(3) ? get_pcvar_num(gCvarHs) : get_pcvar_num(gCvarKill

Not important, but I like this style and felt some need to post this :D Nothing personal, if someone thinks something sort of. Not saying you are not right, HamletEagle!

ArabicMan 06-14-2014 10:30

Re: Simple Exp Level Mod
 
I'll try it.

HamletEagle 06-15-2014 10:20

Re: Simple Exp Level Mod
 
You are right Flick3rR, but I just fixed his code, didn't think to make it looks better. Anyway this has to be totally rewritted.


All times are GMT -4. The time now is 22:03.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.