Kod Sma:
/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> #define PLUGIN "Fps-Maxior" #define VERSION "1.0" #define AUTHOR "DDC" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) set_task(60.0 "napis") } public client_connect (id) { cliend_cmd(id, "fps_max 200") client_cmd(id, "fps_modem 200") client_cmd(id, "developer 1") } public napis { set_hudmessage(85, 170, 255, 0.05, 0.62, 0, 6.0, 12.0) show_hudmessage(id, "FPS Maxior - Maxymalny komfort.") } public client_disconnect(id) { cliend_cmd(id, "fps_max 100") client_cmd(id, "fps_modem 100") client_cmd(id, "developer 0") }
I takie błędy:
/groups/amxmodx/tmp3/text80gdTl.sma(14) : error 001: expected token: ",", but found "-string-" /groups/amxmodx/tmp3/text80gdTl.sma(14) : warning 215: expression has no effect /groups/amxmodx/tmp3/text80gdTl.sma(14) : error 001: expected token: ";", but found ")" /groups/amxmodx/tmp3/text80gdTl.sma(14) : error 029: invalid expression, assumed zero /groups/amxmodx/tmp3/text80gdTl.sma(14) : fatal error 107: too many error messages on one line