Raised This Month: $ Target: $400
 0% 

LevelMod 8.0 with knifeskins. [ML Support]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ironskillz1
AlliedModders Donor
Join Date: Jul 2012
Location: Sweden
Old 12-23-2016 , 10:33   Re: LevelMod 7.0 with Knifeskins & Points
Reply With Quote #1

New 8.0 version released. Optimized and added ML support.
Nothing is tested yet. But i will try to test it in a couple of days.


Quote:
Originally Posted by Craxor View Post
- Add ML man <3
Added

Quote:
Originally Posted by Craxor View Post
Here:
PHP Code:
    if( g_iPoints[id] >= g_szLevels[g_iLevel[id]+1] && g_szLevels[g_iLevel[id]+1] != 0)
    {
        
g_iLevel[id]++;
        
        if( 
g_iPoints[id] >= g_szLevels[g_iLevel[id]+1] && g_szLevels[g_iLevel[id]+1] != 0)
        {
            
CheckLevel(id)
            return 
PLUGIN_HANDLED
        

Why do you make the same checks lot of times in the same function ?

You could not just add CheckLevel(id) at the end of the function and force index to be checked in all the cases ?
If an admin gives a user alot of points he will lvl up alot of times. Instead of spamming the message 5x the chat will just show one message and thats his final level.

Quote:
Originally Posted by Craxor View Post
Here:
PHP Code:
format(szAuthIdcharsmax(szAuthId), "%s%s"szAuthIdSPECIAL_CHAR
You DO NOT NEED a special Char for saving in nvault, the classic vault.inc requires a special char because all plugins saves keys and data in the vault.ini, but nvault create private files so you do not special chars.
Now its to late, alot of people are using this plugin and there save file will get corrupted if i update that.

Quote:
Originally Posted by Craxor View Post
Here:
PHP Code:
    register_event"DeathMsg""Event_DeathMsg""a" ); 
You included hamsandwich no? Why not using Ham_Kill.
Because deathmsg detects hs and hamsandwich dont. Its possible to do a workaround that problem but i dont think its worth it because i anyway need to use cstrike.
__________________
I have many private and unique plugins for Jailbreak and Hide'N'Seek. PM me for more info.

Pm me.

Check out my roulette site.

Last edited by ironskillz1; 12-23-2016 at 10:37.
ironskillz1 is offline
Send a message via Skype™ to ironskillz1
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:09.


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