Raised This Month: $ Target: $400
 0% 

Problem with setting boolean...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 06-03-2007 , 04:21   Re: Problem with setting boolean...
Reply With Quote #6

Probably your problem is here:

PHP Code:
owner pev(entitypev_owner);
 
    
//extend the nade's range
    
if(!HasSuperNade[owner]) 
        return 
FMRES_IGNORED;
    
HasSuperNade[owner] = false
Note that you did this:
PHP Code:
HasSuperNade[id-1] = true
Solution?
PHP Code:
HasSuperNade[owner-1
Edit:

since new bool:HasSuperNade[33] (in your plugin thread). An easier way it just to remove all the -1 in HasSuperNade[id-1].
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.

Last edited by Cheap_Suit; 06-03-2007 at 04:28.
Cheap_Suit 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 10:44.


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