Thread: SuperNade
View Single Post
VEN
Veteran Member
Join Date: Jan 2005
Old 06-03-2007 , 11:58   Re: SuperNade
Reply With Quote #7

Why id-1 ?

And instead of
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;
  }
 }
You could use for example user_has_weapon() native.
VEN is offline