Thread
:
[REQ] No weapons and no money for T
View Single Post
Storas1337
Senior Member
Join Date: Apr 2009
Location: Lithuania
05-04-2009 , 11:48 Re: [REQ] No weapons and no money for T
#
4
#include <amxmodx>
#include <cstrike>
new
PLUGIN
[] =
"Remove T Money"
new
VERSION
[] =
"1.0"
new
AUTHOR
[] =
"Storas1337'"
new
g_Status
;
public
plugin_init
()
{
register_plugin
(
PLUGIN
,
VERSION
,
AUTHOR
);
register_event
(
"Money"
,
"eventMoney"
,
"b"
);
g_Status
=
register_cvar
(
"amx_remove_money"
,
"1"
);
}
public
eventMoney
(
Pl
)
{
if (!
get_pcvar_num
(
g_Status
) ||
get_user_team
(
Pl
) !=
1
)
return;
if (
cs_get_user_money
(
Pl
) !=
0
)
cs_set_user_money
(
Pl
,
0
);
}
Storas1337
View Public Profile
Send a private message to Storas1337
Find More Posts by Storas1337