bė pirkimo AWP Uz pinigus
Dankuja

Code: Select all
amx_restrict on awp
Pas mane CSDM Serveris aš norių ji ištrinti iš CSDM Ir su komandą buy_awp nusipirkti AWPNZT wrote:AWP pirkimą gali užblokuoti įjungęs restmenu.amxx pluginą (plugins.ini) ir į amxx.cfg įrašęs:Code: Select all
amx_restrict on awp
Tai jugi /top15 /rank Pagražinti su spalvomslaimiukas3 wrote:wthat?
ties kuria vieta reike suprasti kad tu kazkokiu spalvotu nori stats ir kas tas pirkom awp uz lt su kuo pirkot su draugu ?ieškau /rank /top15 stats jau padaryto ir pirkom awp uz lt
Code: Select all
#include <amxmodx> #include <cstrike> #include <fun> new g_pCvar_Price; public plugin_init() { register_plugin("Buy AWP", "0.0.1", "dinnk."); register_clcmd("say /buy_awp", "CmdAwp"); g_pCvar_Price = register_cvar("awp_deagle_price", "awp kaina cia"); } public CmdAwp(id) { new iMoney = cs_get_user_money(id); new iPrice = get_pcvar_num(g_pCvar_Price); if( !is_user_alive(id) ) { client_print(id, print_chat, "* You need to be alive !"); return PLUGIN_HANDLED; } if( iMoney < iPrice ) { client_print(id, print_chat, "* You need more money ! ($%i)", iPrice); return PLUGIN_HANDLED; } give_item(id, "weapon_awp"); cs_set_user_bpammo(id, CSW_AWP, 30); client_print(id, print_chat, "* You bought an AWP & Deagle for $%i !", iPrice); cs_set_user_money(id, iMoney - iPrice, true); return PLUGIN_HANDLED; }
[primary]
m4a1 M4A1 1
ak47 AK47 1
aug AUG 1
sg552 SG552 1
galil Galil 1
famas Famas 1
scout Scout 1
awp AWP 0
sg550 SG550 1
m249 M249 1
g3sg1 G3SG1 1
ump45 "UMP 45" 1
mp5navy "MP5 Navy" 1
m3 M3 1
xm1014 XM1014 1
tmp TMP 1
mac10 "Mac 10" 1
p90 P90 1
;Remove semicolons to restrict any of the following items
; or add the short weapon names of the weapons you want to restrict (m4a1, ak47, awp ...)
[item_restrictions]
;m4a1
;ak47
;aug
;sg552
;galil
;famas
;scout
awp
;sg550
;m249
;g3sg1
;ump45
;mp5navy
;m3
;xm1014
;tmp
;mac10
;p90
;elite
;longjump
;medkit
;battery
;pistolammo
;rifleammo
;shotammo
;smgammo
;awpammo
;paraammo
;fullammo
;armor
;flashbang
;hegrenade
;smokegrenade
Users browsing this forum: No registered users and 5 guests