AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to give only one bullet (https://forums.alliedmods.net/showthread.php?t=143394)

sibox 11-19-2010 07:51

How to give only one bullet
 
I want to give only one bullet in Deagle. My Question is how to do that?

TandborsteN 11-19-2010 08:18

Re: How to give only one bullet
 
PHP Code:

give_item(id"weapon_deagle");
cs_set_weapon_ammo(find_ent_by_owner(-1"weapon_deagle"id), 1);
cs_set_user_bpammo(idCSW_DEAGLE0); 


drekes 11-19-2010 08:35

Re: How to give only one bullet
 
PHP Code:

new wep give_item(id"weapon_deagle");
cs_set_weapon_ammo(wep1); 



All times are GMT -4. The time now is 11:22.

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