Maxior
Daniho7PL
31.08.2010
Witam! Jestem początkujący, ale staram się coś pisać czego nie umiem ;D. Nie poddaję się i napisałem coś słabego ale mam błędy:
Kod Sma:
I takie błędy:
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
Portek
31.08.2010
Szukaj:
Szukaj:
Szukaj:
Szukaj:
A tu gotowiec:
set_task(60.0 "napis")Zamień na:
set_task(60.0, "napis")
Szukaj:
cliend_cmd(id, "fps_max 200")Zamień na:
client_cmd(id, "fps_max 200")
Szukaj:
public napisZamień na:
public napis(id)
Szukaj:
cliend_cmd(id, "fps_max 100")Zamień na:
client_cmd(id, "fps_max 100")
A tu gotowiec:
Spoiler