Thread: tfcx bug
View Single Post
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 04-30-2014 , 23:54   Re: tfcx bug
Reply With Quote #9

Something you can do:

PHP Code:
FillAllOwnedWeapons(const weap_name[])
{
  static 
= -10;
  
= -1;
 
  while (
pev_valid((engfunc(EngFunc_FindEntityByStringe"classname"weap_name))))
  {
    
pev(epev_owner);
 
    if (
pev_valid(o) && is_user_connected(o))
    {
      
tfc_setweaponammo(e4);
    }
  }

__________________
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks