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
- Add ML man <3
|
Added
Quote:
Originally Posted by Craxor
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
Here:
PHP Code:
format(szAuthId, charsmax(szAuthId), "%s%s", szAuthId, SPECIAL_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
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.
__________________