UPDATE: Megoldottam
register_clcmd("say /ungag, "ungag_menu")
->
register_clcmd("say /ungag", "ungag_menu")
Sziasztok! Nem fordul le a gag plugin.. AMXX STUDIO-val próbáltam,mint minden más plugint.Colorchat és chatcolor nem lehet hogy hiba,mert eddig minden colorchates és chatcoloros pluginnal működött,rendesen bent van a helyén a két inc file.
Kód: Welcome to the AMX Mod X 1.8.1-300 Compiler. Copyright (c) 1997-2013 ITB CompuPhase, AMX Mod X Team
Error: Expected token: ",", but found "-identifier-" on line 53 Error: Invalid string (possibly non-terminated string) on line 53 Warning: Loose indentation on line 54 Warning: Loose indentation on line 56
2 Errors. Could not locate output file C:\roli dolgai\szeró\pluginnal kapcs. dolgok\gag.amx (compile failed).
Valam 5let?
#include <amxmodx> #include <amxmisc> #include <engine> #define PLUGIN "ADMIN Gag" #define VERSION "1.0.1" #define AUTHOR "RaZzoR" #define GAG_FLAG ADMIN_SLAY #define GAG_IMMUNITY ADMIN_SLAY #define DICTIONARY "admin_gag.txt" #define USE_COLOR_CHAT #if defined USE_COLOR_CHAT #include <colorchat> #endif new const gag_file_name[] = "gagged_users.txt" enum _:GagData { gag_name[32], gag_steamid[35], gag_length, ungag_time[32], gag_reason[128] } new Trie:g_trie new Array:g_array new total_gags, g_ungag_entity new gag_file[64], Float:get_gag_time[33], tempid[33] new gag_immunity, gag_ungagcheck public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) #if defined USE_COLOR_CHAT register_dictionary_colored(DICTIONARY) #else register_dictionary(DICTIONARY) #endif gag_immunity = register_cvar("gag_immunity", "0") gag_ungagcheck = register_cvar("gag_ungagcheck", "1.0") register_clcmd("say /gag_menu", "gag_menu") register_clcmd("say /gag", "gag_menu") register_clcmd("say /nemitas", "gag_menu") register_clcmd("say /nemit", "gag_menu") register_clcmd("say /mutemenu", "gag_menu") register_clcmd("say /ungag, "ungag_menu") register_clcmd("say /nemitas_feloldas", "ungag_menu") register_clcmd("say /nemitfelold", "ungag_menu") register_clcmd("say /unmutemenu", "ungag_menu") register_clcmd("say /nemitasfeloldas", "ungag_menu")
|