Raised This Month: $ Target: $400
 0% 

[Weapon] Newcomen


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:51.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode