AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Command to give CT an defusekit (https://forums.alliedmods.net/showthread.php?t=98770)

DJBumblebee 07-29-2009 03:23

Command to give CT an defusekit
 
Hallo at all,

i will be edit some AMX-Script. The CTs became at round start the defusekit. My script works with a flashbang but not with the defusekit.

This code works with the flashbang:
fm_give_item(index, "weapon_flashbang");

Which command do I need to replace "weapon_flashbang".

I hope you understand what I mean since my Englich is not very good.

zwfgdlc 07-29-2009 03:33

Re: Command to give CT an defusekit
 
PHP Code:

cs_set_user_defuse(id,1); 


crazyeffect 07-29-2009 06:10

Re: Command to give CT an defusekit
 
#include <fun>

Then use
give_item(index, "weapon_flashbang");

---

and as zwfgdlc said,
#include <cstrike>
Then use
cs_set_user_defuse(id, 1);

DJBumblebee 07-29-2009 06:51

Re: Command to give CT an defusekit
 
Thx for your reply. It works.


All times are GMT -4. The time now is 18:23.

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