Raised This Month: $ Target: $400
 0% 

Problem with setting boolean...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Rolnaaba
Veteran Member
Join Date: May 2006
Old 06-03-2007 , 12:55   Re: Problem with setting boolean...
Reply With Quote #8

ok both of you are wrong, sorry but have to say it. Organized is talking about the wrong boolean, the HasSuperNade bool is what I am tlaking about. It IS global. The reason it is not setting right was because my pev_owner, is returning "0", because the nade is already removed it cannot find an owner. So neither of your solutions will work. I have solved this problem already but thanks anyway.
And btw, this:
Code:
new wpnids[32], num;     get_user_weapons(id, wpnids, num);         new bool:has;         for(new i = 0; i < num; i++) {         if(wpnids[i] == CSW_HEGRENADE) {             has = true;         }     }
Has nothing to do with if they have a supernade or not, this is to cycle through their weapons and detemine if they have an HEGRENADE already or if I need to give them one. but I am not using this code block anymore anyway so thanks again but not even close to what I was tlaking about.
__________________
DO NOT PM me about avp mod.
Rolnaaba 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