View Single Post
Natsheh
Veteran Member
Join Date: Sep 2012
Old 06-19-2017 , 01:56   Re: [Weapon] Newcomen
Reply With Quote #8

Quote:
Originally Posted by Celena Luna View Post
@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

__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 06-19-2017 at 05:37.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh