Re: Invalid line continuation
Quote:
Originally Posted by ConnorMcLeod
(Post 1954146)
Are we supposed to guess the rest of code ?
|
Well, i have only a short part and its buggy
PHP Code:
#include <amxmodx> #include <amxmisc> #include <cstrike> #include <fakemeta>
#define PLUGIN "Squadtrainer - Core" #define VERSION "1.0" #define AUTHOR "UnitedDevs"
new game_desc new user_name[32]
public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR)
// COMMANDS \\ register_clcmd("say /rr", "rr", ADMIN_RCON) register_clcmd("say /restart", "rr", ADMIN_RCON) register_clcmd("say /live", "live", ADMIN_RCON) }
public rr(id) { get_user_name(id, user_name, charsmax(user_name)) server_cmd("sv_restartround 10", "timer") set_hudmessage(255, 255, 255,0.35, 0.3, 0, 0.1, 2.5, 1.0, 1.0, 4) show_hudmessage(id, "%s restarted the Game", user_name) }
public timer() { client_cmd(0,"spk ^"vox_login(e51) _comma(e5) that(s30e40) apprehend(s10e25) apprehend(s10e25) ninety(s60) hour _comma get red(e80) ninety(s45) in^"") set_task(8.0,"ten") set_task(9.0,"nine") set_task(10.0,"eight") set_task(11.0,"seven") set_task(12.0,"six") set_task(13.0,"five") set_task(14.0,"four") set_task(15.0,"three") set_task(16.0,"two") set_task(17.0,"one") }
public ten(id) { new display[64]; format(display, 63, "The Game will restart in 10 seconds") set_hudmessage(random(255), random(255), random(255), 0.35, 0.3, 0, 0.1, 2.5, 1.0, 1.0, 4); show_hudmessage(0, display); }
public nine(id) { new display[64]; format(display, 63, "The Game will restart in 9 seconds") set_hudmessage(random(255), random(255), random(255), 0.35, 0.3, 0, 0.1, 2.5, 1.0, 1.0, 4); show_hudmessage(0, display); }
public eight(id) { client_cmd(0,"spk eight") new display[64]; format(display, 63, "The Game will restart in 8 seconds") set_hudmessage(random(255), random(255), random(255), 0.35, 0.3, 0, 0.1, 2.5, 1.0, 1.0, 4); show_hudmessage(0, display); }
public seven(id) { client_cmd(0,"spk seven") new display[64]; format(display, 63, "The Game will restart in 7 seconds") set_hudmessage(random(255), random(255), random(255), 0.35, 0.3, 0, 0.1, 2.5, 1.0, 1.0, 4); show_hudmessage(0, display); }
public six(id) { client_cmd(0,"spk six") new display[64]; format(display, 63, "The Game will restart in 6 seconds") set_hudmessage(random(255), random(255), random(255), 0.35, 0.3, 0, 0.1, 2.5, 1.0, 1.0, 4); show_hudmessage(0, display); }
public five(id) { client_cmd(0,"spk five") new display[64]; format(display, 63, "The Game will restart in 5 seconds") set_hudmessage(random(255), random(255), random(255), 0.35, 0.3, 0, 0.1, 2.5, 1.0, 1.0, 4); show_hudmessage(0, display); }
public four(id) { client_cmd(0,"spk four") new display[64]; format(display, 63, "The Game will restart in 4 seconds") set_hudmessage(random(255), random(255), random(255), 0.35, 0.3, 0, 0.1, 2.5, 1.0, 1.0, 4); show_hudmessage(0, display); }
public three(id) { client_cmd(0,"spk three") new display[64]; format(display, 63, "The Game will restart in 3 seconds") set_hudmessage(random(255), random(255), random(255), 0.35, 0.3, 0, 0.1, 2.5, 1.0, 1.0, 4); show_hudmessage(0, display); }
public two(id) { client_cmd(0,"spk two") new display[64]; format(display, 63, "The Game will restart in 2 seconds") set_hudmessage(random(255), random(255), random(255), 0.35, 0.3, 0, 0.1, 2.5, 1.0, 1.0, 4); show_hudmessage(0, display); }
public one(id) { client_cmd(0,"spk one") new display[64]; format(display, 63, "The Game will restart in 1 seconds") set_hudmessage(random(255), random(255), random(255), 0.35, 0.3, 0, 0.1, 2.5, 1.0, 1.0, 4); show_hudmessage(0, display); }
|