Nie udało się skompilować pluginu. Przeczytaj poniższy bład: Welcome to the AMX Mod X 1.8.1-300 Compiler. Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team /groups/amxmodx/tmp3/textiZdiGe.sma(11) : error 037: invalid string (possibly non-terminated string) /groups/amxmodx/tmp3/textiZdiGe.sma(28) : error 017: undefined symbol "id" /groups/amxmodx/tmp3/textiZdiGe.sma(28) : warning 215: expression has no effect /groups/amxmodx/tmp3/textiZdiGe.sma(28) : warning 215: expression has no effect /groups/amxmodx/tmp3/textiZdiGe.sma(28) : error 001: expected token: ";", but found ")" /groups/amxmodx/tmp3/textiZdiGe.sma(28) : error 029: invalid expression, assumed zero /groups/amxmodx/tmp3/textiZdiGe.sma(28) : fatal error 107: too many error messages on one line Compilation aborted. 5 Errors.
Oto mój kod:
/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> #include <fun> #include <cstrike> public plugin_init( ) { register_plugin( "Zestaw ", "0.1", "eD." ); register_clcmd( "say /zestaw", "ZestawSnipera ); } public CmdDeagle( client ) { if( is_user_alive( client ) ) { give_item( client, "weapon_deagle" ); give_item(client, "ammo_50ae") give_item(client, "ammo_50ae") give_item(client, "ammo_50ae") give_item( client, "weapon_awp" ); give_item(client, "ammo_338magnum" ) give_item(client, "ammo_338magnum" ) give_item(client, "ammo_338magnum" ) give_item(client, "weapon_hegrenade" ) give_item(client, "weapon_smokegrenade" ) give_item(client, "weapon_flashbang" ) give_item(client, "weapon_flashbang" ) client_print(id, print_chat, "Zakupiles zestaw profesjonalnego snipera za 7tys.") cs_set_user_money(index , cs_get_user_money(index)-7000, 1) } }