#include <amxmodx>
#include <cstrike>
#define PLUGIN "Kup Defa (COD MOD)"
#define VERSION "1.0"
#define AUTHOR "V!p3r"
public plugin_init()
{
register_clcmd("say /def", "KupDefa");
}
public KupDefa(id)
{
{
cs_set_user_defuse ( index, [ defusekit = 1, r = 0, g = 160, b = 0, icon[] = "defuser", flash = 0 ] )
cs_set_user_money(index , cs_get_user_money(index)-300, 1)
client_print(id, print_chat, "Kupiles Defa!");
}
}Jestem początkującym skrypterem można powiedzieć.
Proszę dodatkowo powiedzieć co zrobiłem źle
Pozdrawiam.
PS. Mała podpowiedź:
Welcome to the AMX Mod X 1.8.1-300 Compiler. Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team /tmp/textLeRcgx.sma(16) : error 017: undefined symbol "index" /tmp/textLeRcgx.sma(16) : error 029: invalid expression, assumed zero /tmp/textLeRcgx.sma(16) : error 017: undefined symbol "defusekit" /tmp/textLeRcgx.sma(16) : fatal error 107: too many error messages on one line Compilation aborted. 4 Errors. Done.


Dodatki SourceMod



Temat jest zamknięty









