AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Is it possible to script buying of more then 1 hand grenade? (https://forums.alliedmods.net/showthread.php?t=1300)

AssKicR 04-23-2004 03:28

well the problem is that my plugin requires some functions found in amxx 2.0, so i gotta w8 4 that

GanJa 04-23-2004 10:04

Yes I realize it's a bit more complicated then that but that would be the basic idea of how to go about it =) he cosmetics are another story..

Johnny got his gun 04-23-2004 10:05

Very easy. Use cstrike module:
Code:
/* Restock/remove ammo in a user's backpack.  */ native cs_set_user_bpammo(index, weapon, amount);


Maybe like

Code:
cs_set_user_bpammo(crazyivan, CSW_HEGRENADE, 666)

Just make sure user has at least one grenade first...


All times are GMT -4. The time now is 17:29.

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