Quote:
Originally Posted by Celena Luna
@Natsheh Thank you ^^
I optimized it and remove parts that unnecessary ^^
|
Youre welcomed.
1 problem you forgot to remove ths hook
register_event("CurWeapon","CurrentWeapon","b e","1=1")
Also a bug in death function
PHP Code:
public Death(id) // theres no parameters are passed here
{
new victim = read_data(2)
if(!g_has_newcomen[victim])// this must be if positive set to false, or you can set it directly false without a check.
g_has_newcomen[victim] = false
}
__________________