View Single Post
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 06-19-2017 , 06:57   Re: [Weapon] Newcomen
Reply With Quote #9

Quote:
Originally Posted by Natsheh View Post
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

Silly me :<
Fixed and Updated

Last edited by Celena Luna; 06-19-2017 at 06:59.
Celena Luna is offline