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.
__________________