Raised This Month: $ Target: $400
 0% 

Invalid line continuation


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Smatify
Senior Member
Join Date: Nov 2012
Location: Where ever you want
Old 05-18-2013 , 18:03   Re: Invalid line continuation
Reply With Quote #3

Quote:
Originally Posted by ConnorMcLeod View Post
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(PLUGINVERSIONAUTHOR)

    
// 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(iduser_namecharsmax(user_name))
    
server_cmd("sv_restartround 10""timer")
    
set_hudmessage(255255255,0.350.300.12.51.01.04)
    
show_hudmessage(id"%s restarted the Game"user_name)
}

public 
timer()
{
    
client_cmd(0,"spk ^"vox_login(e51_comma(e5that(s30e40apprehend(s10e25apprehend(s10e25ninety(s60hour _comma get red(e80ninety(s45in^"")
    
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(display63"The Game will restart in 10 seconds")
    
set_hudmessage(random(255), random(255), random(255), 0.350.300.12.51.01.04);
    
show_hudmessage(0display);
}

public 
nine(id)
{
    new 
display[64];
    
format(display63"The Game will restart in 9 seconds")
    
set_hudmessage(random(255), random(255), random(255), 0.350.300.12.51.01.04);
    
show_hudmessage(0display);
}

public 
eight(id)
{
    
client_cmd(0,"spk eight")
    new 
display[64];
    
format(display63"The Game will restart in 8 seconds")
    
set_hudmessage(random(255), random(255), random(255), 0.350.300.12.51.01.04);
    
show_hudmessage(0display);
}

public 
seven(id)
{
    
client_cmd(0,"spk seven")
    new 
display[64];
    
format(display63"The Game will restart in 7 seconds")
    
set_hudmessage(random(255), random(255), random(255), 0.350.300.12.51.01.04);
    
show_hudmessage(0display);
}

public 
six(id)
{
    
client_cmd(0,"spk six")
    new 
display[64];
    
format(display63"The Game will restart in 6 seconds")
    
set_hudmessage(random(255), random(255), random(255), 0.350.300.12.51.01.04);
    
show_hudmessage(0display);
}

public 
five(id)
{
    
client_cmd(0,"spk five")
    new 
display[64];
    
format(display63"The Game will restart in 5 seconds")
    
set_hudmessage(random(255), random(255), random(255), 0.350.300.12.51.01.04);
    
show_hudmessage(0display);
}

public 
four(id)
{
    
client_cmd(0,"spk four")
    new 
display[64];
    
format(display63"The Game will restart in 4 seconds")
    
set_hudmessage(random(255), random(255), random(255), 0.350.300.12.51.01.04);
    
show_hudmessage(0display);
}

public 
three(id)
{
    
client_cmd(0,"spk three")
    new 
display[64];
    
format(display63"The Game will restart in 3 seconds")
    
set_hudmessage(random(255), random(255), random(255), 0.350.300.12.51.01.04);
    
show_hudmessage(0display);
}

public 
two(id)
{
    
client_cmd(0,"spk two")
    new 
display[64];
    
format(display63"The Game will restart in 2 seconds")
    
set_hudmessage(random(255), random(255), random(255), 0.350.300.12.51.01.04);
    
show_hudmessage(0display);
}

public 
one(id)
{
    
client_cmd(0,"spk one")
    new 
display[64];
    
format(display63"The Game will restart in 1 seconds")
    
set_hudmessage(random(255), random(255), random(255), 0.350.300.12.51.01.04);
    
show_hudmessage(0display);


Last edited by Smatify; 05-18-2013 at 18:05.
Smatify is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode