AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   saasdasd (https://forums.alliedmods.net/showthread.php?t=222989)

Kellan123 08-08-2013 16:41

saasdasd
 
I'll take /vipmenu usp 1 ammo, weapon block set properties usp 1 ammo and i go onto got 20 ammo usp...

I dont know how to fix it

Thank you.

Kellan123 08-09-2013 10:04

Re: Vipmenu + Weapon Block
 
Weapon Code:

PHP Code:

case '2':
{
          if(!
get_bit(g_usp_usedid))
          {
                    if( !
user_has_weapon(idCSW_USP) )
                    {
                              
give_item(id"weapon_usp");
                    } 
                    new 
weapon_id find_ent_by_owner(-1"weapon_usp"id);
                    if(
weapon_id)
                    {
                               
GetProperty(ent2property);
                               
cs_set_weapon_ammo(weapon_idstr_to_num(property));
                    }
                    
cs_set_user_bpammo(idCSW_USP0);
                    
set_bit(g_usp_usedid);
 
          }



Black Rose 08-09-2013 16:39

Re: Vipmenu + Weapon Block
 
Sorry. I can't understand what you're saying.
Try asking your question in the multilingual part of the forums.


All times are GMT -4. The time now is 15:49.

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