Quote:
Originally Posted by sunx
omg dont flame ... just open your eyes and read the posts people wrote ... this plugin doesnt work ..
|
this plugins works perfectly, but it saves xp using steamid and you will get bug's with non-steam players. To make this plugin save xp by nick you will have to replace "autID" with "name" in every place that it appears.
Another problem is that humans health can't be increased. Just leave it to your default value as edited in zombieplauge.cfg. Another thing you will have to do in order to get your human level work is to delete from
every human level sma the following
Code:
public zp_user_humanized_post(id)
{
// Check if the infected player is using our custom zombie class
if (zp_get_user_human_class(id) != g_hclassid) return;
// User turned human
if (zp_get_user_survivor(id) == 1)
{
// He's survivor, remove any changes made in the plugin
zp_user_infected_post(id, 0)
} else {
zp_round_started_human(id)
}
}
I have done so and my plugin is working perfectly, but there is still a problem that I haven't solved: multiplying the ammo packs requiered to level up by 2. level 2>100 ammo packs, level 3 > 200 ammo pakcs, level 4 > 400 ammo pakcs, level 5 > 800 ammo packs. doubleing pakcs requiered for each level up.
And how can I choose a maxmium level because I can level up beyond level 20 but my human and zombie classes are 9
__________________