Raised This Month: $ Target: $400
 0% 

I get many errors when trying to compile


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
RaYnE21
Junior Member
Join Date: Jan 2006
Old 03-03-2006 , 19:13   I get many errors when trying to compile
Reply With Quote #1

I need some help with my first plugin anything is appreciated even suggestions it's all the same to me
Below is the errors I get when I try to compile
Code:
/home/users/amxmodx/tmp3/phpJB2cGm.sma(57) : error 037: invalid string (possibly non-terminated string)
/home/users/amxmodx/tmp3/phpJB2cGm.sma(84) : warning 209: function "cal" should return a value
/home/users/amxmodx/tmp3/phpJB2cGm.sma(86) : error 055: start of function body without function header
/home/users/amxmodx/tmp3/phpJB2cGm.sma(88) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpJB2cGm.sma(90) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpJB2cGm.sma(93) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpJB2cGm.sma(96) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpJB2cGm.sma(99) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpJB2cGm.sma(102) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpJB2cGm.sma(105) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpJB2cGm.sma(108) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpJB2cGm.sma(111) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpJB2cGm.sma(114) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpJB2cGm.sma(117) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpJB2cGm.sma(120) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpJB2cGm.sma(123) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpJB2cGm.sma(126) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpJB2cGm.sma(129) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpJB2cGm.sma(132) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpJB2cGm.sma(136) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpJB2cGm.sma(141) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpJB2cGm.sma(144) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpJB2cGm.sma(147) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpJB2cGm.sma(150) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpJB2cGm.sma(153) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpJB2cGm.sma(156) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpJB2cGm.sma(159) : error 010: invalid function or declaration

Compilation aborted.
26 Errors.
Could not locate output file /home/groups/amxmodx/public_html/websc3/phpJB2cGm.amx (compile failed).
This is my Script I'm not really sure what is wrong with it any help is appreciated
Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "True Cal Config"
#define VERSION "1.0"
#define AUTHOR "RaYnE"


public plugin_init() {
	register_plugin("TrueCalCONFIG","1.0","RaYnE")
	register_concmd("amx_tcal","calcz",ADMIN_SLAY,"Cal_CZ Config")
}

public cal(id,level,cid)
{
	if(!cmd_access(id,level,cid,1))
	{
		return PLUGIN_HANDLED
	}
	
	server_cmd("mp_autokick 0")
	server_cmd("mp_autocrosshair 0")
	server_cmd("mp_autoteambalance 0")
	server_cmd("mp_buytime .34")
	server_cmd("mp_consistency 1")
	server_cmd("mp_c4timer 35")
	server_cmd("mp_fadetoblack 0")
	server_cmd("mp_falldamage 1")
	server_cmd("mp_flashlight 1")
	server_cmd("mp_forcechasecam 0")
	server_cmd("mp_forcecamera 2")
	server_cmd("mp_footsteps 1")
	server_cmd("mp_freezetime 12")
	server_cmd("mp_friendlyfire 1")
	server_cmd("mp_hostagepenalty 0")
	server_cmd("mp_limitteams 6")
	server_cmd("mp_logecho 1")
	server_cmd("mp_logfile 1")
	server_cmd("mp_logmessages 1")
	server_cmd("mp_maxrounds 15")
	server_cmd("mp_playerid 0")
	server_cmd("mp_roundtime 2")
	server_cmd("mp_timelimit 999")
	server_cmd("mp_tkpunish 0")
	server_cmd("mp_startmoney 800")

	server_cmd("sv_lagpush 0")
	server_cmd("sv_unlagsamples 1")
	server_cmd("sv_voiceenable 1")
	server_cmd("sv_maxunlag .5")
	server_cmd("sv_aim 0")
	server_cmd("sv_airaccelerate 10")
	server_cmd("sv_airmove 1")
	server_cmd("sv_allowdownload 1")
	server_cmd("sv_allowupload 1
	server_cmd("sv_alltalk 0")
	server_cmd("sv_proxies 1")
	server_cmd("sv_cheats 0")
	server_cmd("sv_clienttrace 1.0")
	server_cmd("sv_clipmode 0")
	server_cmd("sv_contact [email protected]")
	server_cmd("sv_friction 4")
	server_cmd("sv_gravity 800")
	server_cmd("sv_maxrate 20000")
	server_cmd("sv_maxspeed 320")
	server_cmd("sv_minrate 0")
	server_cmd("sv_maxupdaterate 100")
	server_cmd("sv_maxcmdrate 100")
	server_cmd("sv_send_logos 1")
	server_cmd("sv_send_resources 1")
	server_cmd("sv_stepsize 18")
	server_cmd("sv_stopspeed 75")
	server_cmd("sv_timeout 65")
	server_cmd("sv_wateraccelerate 10")

	server_cmd("allow_spectators 2")
	server_cmd("decalfrequency 60")
	server_cmd("edgefriction 2")
	server_cmd("host_framerate 0")
	server_cmd("log on")
	server_cmd("pausable 0")
}

	{
	client_print(1,print_chat,"-==-")
	return PLUGIN_HANDLED{
	client_print(1,print_chat,"-===-")
	return PLUGIN_HANDLED
	{
	client_print(0,print_chat,"-====-")
	return PLUGIN_HANDLED
	{
	client_print(0,print_chat,"-==G==-")
	return PLUGIN_HANDLED
	{
	client_print(0,print_chat,"-==GE==-")
	return PLUGIN_HANDLED
	{
	client_print(0,print_chat,"-==GET==-")
	return PLUGIN_HANDLED
	{
	client_print(0,print_chat,"-==GET R==-")
	return PLUGIN_HANDLED
	{
	client_print(0,print_chat,"-==GET RE==-")
	return PLUGIN_HANDLED
	{
	client_print(0,print_chat,"-==GET READ==-")
	return PLUGIN_HANDLED
	{
	client_print(0,print_chat,"-==GET READY==-")
	return PLUGIN_HANDLED
	{
	client_print(0,print_chat,"-=Team.PK=-")
	return PLUGIN_HANDLED
{
	client_print(0,print_chat,"-=Team.PK=-")
	return PLUGIN_HANDLED
	{
	client_print(0,print_chat,"-=Team.PK=-")
	return PLUGIN_HANDLED
	{
	client_print(0,print_chat,"-=Team.PK=-")
	return PLUGIN_HANDLED
	{
	client_print(0,print_chat,"-=Restart #1=-")
	return PLUGIN_HANDLED
	server_cmd("sv_restart 1")
	client_print(0,print_chat,"-=Restart #2=-")
	return PLUGIN_HANDLED
	server_cmd("sv_restart 1")
	{
	client_print(0,print_chat,"-=Restart #3=-")
	return PLUGIN_HANDLED
	server_cmd("sv_restart 1")
	server_cmd("amx_off")
	{
	client_print(0,print_chat,"-=L=-")
	return PLUGIN_HANDLED
	{
	client_print(0,print_chat,"-=LI=-")
	return PLUGIN_HANDLED
	{
	client_print(0,print_chat,"-=LIV=-")
	return PLUGIN_HANDLED
	{
	client_print(0,print_chat,"-=LIVE=-")
	return PLUGIN_HANDLED
		{
	client_print(0,print_chat,"-=L=-")
	return PLUGIN_HANDLED
	{
	client_print(0,print_chat,"-=LI=-")
	return PLUGIN_HANDLED
	{
	client_print(0,print_chat,"-=LIV=-")
	return PLUGIN_HANDLED
	{
	client_print(0,print_chat,"-=LIVE=-")
	return PLUGIN_HANDLED
	{
	client_print(0,print_chat,"-=G=-")
	return PLUGIN_HANDLED
	{
	client_print(0,print_chat,"-=GO=-")
	return PLUGIN_HANDLED
	{
	client_print(0,print_chat,"=G=")
	return PLUGIN_HANDLED
	{
	client_print(0,print_chat,"GO")
	return PLUGIN_HANDLED
	{
	client_print(0,print_chat,"=G=")
	return PLUGIN_HANDLED
	{
	client_print(0,print_chat,"-=G=-")
	return PLUGIN_HANDLED
	{
	client_print(0,print_chat,"=GO=")
	return PLUGIN_HANDLED
	{
	client_print(0,print_chat,"G")
	return PLUGIN_HANDLED
	{
	client_print(0,print_chat,"=GO=")
	return PLUGIN_HANDLED
	{
	client_print(0,print_chat,"-=GO=-")
	return PLUGIN_HANDLED
	{
	client_print(0,print_chat,"HAVE FUN!")
	return PLUGIN_HANDLED
	{
	client_print(0,print_chat,"RECORD DEMOS!!")
	return PLUGIN_HANDLED
	{
	client_print(0,print_chat,"Made By RaYnE BITCHES!!")
	return PLUGIN_HANDLED
This is specially made for my clan you can edit if you want just put something in there that I made it. And I know there are alot of plugins like this the only difference between them and this is this is the TRUE cal cfg from cal website (this is from the Cal-O condition zero section)
RaYnE21 is offline
BAILOPAN
Join Date: Jan 2004
Old 03-03-2006 , 19:28  
Reply With Quote #2

register_concmd("amx_tcal","calcz",ADMIN_SLAY ,"Cal_CZ Config

should be

register_concmd("amx_tcal","calcz",ADMIN_SLAY ,"Cal_CZ Config")
__________________
egg
BAILOPAN is offline
RaYnE21
Junior Member
Join Date: Jan 2006
Old 03-03-2006 , 20:01  
Reply With Quote #3

Thank you bailopan lol didn't see that. 1 error down 25 more to go :-D
RaYnE21 is offline
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 03-03-2006 , 20:10  
Reply With Quote #4

omg... do you even know what a closing bracket is?
i think its gonna owerflow...
Code:
/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> #define PLUGIN "True Cal Config" #define VERSION "1.0" #define AUTHOR "RaYnE" public plugin_init() {     register_plugin("TrueCalCONFIG","1.0","RaYnE")     register_concmd("amx_tcal","calcz",ADMIN_SLAY,"Cal_CZ Config") } public calcz(id,level,cid) {     if( !cmd_access(id,level,cid,1) ) {         return PLUGIN_HANDLED     }         server_cmd("mp_autokick 0")     server_cmd("mp_autocrosshair 0")     server_cmd("mp_autoteambalance 0")     server_cmd("mp_buytime .34")     server_cmd("mp_consistency 1")     server_cmd("mp_c4timer 35")     server_cmd("mp_fadetoblack 0")     server_cmd("mp_falldamage 1")     server_cmd("mp_flashlight 1")     server_cmd("mp_forcechasecam 0")     server_cmd("mp_forcecamera 2")     server_cmd("mp_footsteps 1")     server_cmd("mp_freezetime 12")     server_cmd("mp_friendlyfire 1")     server_cmd("mp_hostagepenalty 0")     server_cmd("mp_limitteams 6")     server_cmd("mp_logecho 1")     server_cmd("mp_logfile 1")     server_cmd("mp_logmessages 1")     server_cmd("mp_maxrounds 15")     server_cmd("mp_playerid 0")     server_cmd("mp_roundtime 2")     server_cmd("mp_timelimit 999")     server_cmd("mp_tkpunish 0")     server_cmd("mp_startmoney 800")         server_cmd("sv_lagpush 0")     server_cmd("sv_unlagsamples 1")     server_cmd("sv_voiceenable 1")     server_cmd("sv_maxunlag .5")     server_cmd("sv_aim 0")     server_cmd("sv_airaccelerate 10")     server_cmd("sv_airmove 1")     server_cmd("sv_allowdownload 1")     server_cmd("sv_allowupload 1")     server_cmd("sv_alltalk 0")     server_cmd("sv_proxies 1")     server_cmd("sv_cheats 0")     server_cmd("sv_clienttrace 1.0")     server_cmd("sv_clipmode 0")     server_cmd("sv_contact <a href="mailto:steve@caleague.com">[email protected]</a>")     server_cmd("sv_friction 4")     server_cmd("sv_gravity 800")     server_cmd("sv_maxrate 20000")     server_cmd("sv_maxspeed 320")     server_cmd("sv_minrate 0")     server_cmd("sv_maxupdaterate 100")     server_cmd("sv_maxcmdrate 100")     server_cmd("sv_send_logos 1")     server_cmd("sv_send_resources 1")     server_cmd("sv_stepsize 18")     server_cmd("sv_stopspeed 75")     server_cmd("sv_timeout 65")     server_cmd("sv_wateraccelerate 10")         server_cmd("allow_spectators 2")     server_cmd("decalfrequency 60")     server_cmd("edgefriction 2")     server_cmd("host_framerate 0")     server_cmd("log on")     server_cmd("pausable 0")     client_print(1,print_chat,"-==-")     client_print(1,print_chat,"-===-")     client_print(0,print_chat,"-====-")     client_print(0,print_chat,"-==G==-")     client_print(0,print_chat,"-==GE==-")     client_print(0,print_chat,"-==GET==-")     client_print(0,print_chat,"-==GET R==-")     client_print(0,print_chat,"-==GET RE==-")     client_print(0,print_chat,"-==GET READ==-")     client_print(0,print_chat,"-==GET READY==-")     client_print(0,print_chat,"-=Team.PK=-")     client_print(0,print_chat,"-=Team.PK=-")     client_print(0,print_chat,"-=Team.PK=-")     client_print(0,print_chat,"-=Team.PK=-")     client_print(0,print_chat,"-=Restart #1=-")     server_cmd("sv_restart 1")     client_print(0,print_chat,"-=Restart #2=-")     server_cmd("sv_restart 1")     client_print(0,print_chat,"-=Restart #3=-")     server_cmd("sv_restart 1")     server_cmd("amx_off")     client_print(0,print_chat,"-=L=-")     client_print(0,print_chat,"-=LI=-")     client_print(0,print_chat,"-=LIV=-")     client_print(0,print_chat,"-=LIVE=-")     client_print(0,print_chat,"-=L=-")     client_print(0,print_chat,"-=LI=-")     client_print(0,print_chat,"-=LIV=-")     client_print(0,print_chat,"-=LIVE=-")     client_print(0,print_chat,"-=G=-")     client_print(0,print_chat,"-=GO=-")     client_print(0,print_chat,"=G=")     client_print(0,print_chat,"GO")     client_print(0,print_chat,"=G=")     client_print(0,print_chat,"-=G=-")     client_print(0,print_chat,"=GO=")     client_print(0,print_chat,"G")     client_print(0,print_chat,"=GO=")     client_print(0,print_chat,"-=GO=-")     client_print(0,print_chat,"HAVE FUN!")     client_print(0,print_chat,"RECORD DEMOS!!")     client_print(0,print_chat,"Made By RaYnE BITCHES!!")     return PLUGIN_HANDLED }



I'm not very good at explaining but I hope im clear enough
to make this readable

Explanation:

Code:
/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> // You don't need to define these three if they are never used you have already put this info at the register_plugin() #define PLUGIN "True Cal Config" #define VERSION "1.0" #define AUTHOR "RaYnE" public plugin_init() {    register_plugin("TrueCalCONFIG","1.0","RaYnE")    register_concmd("amx_tcal","calcz",ADMIN_SLAY,"Cal_CZ Config") } public cal(id,level,cid) {  // this func will never be called bcas you've entered "calcz" on the register_concmd()                 // change this to "calcz" or change the one on register_concmd() to "cal"    if(!cmd_access(id,level,cid,1))    {       return PLUGIN_HANDLED    }        server_cmd("mp_autokick 0")    server_cmd("mp_autocrosshair 0")    server_cmd("mp_autoteambalance 0")    server_cmd("mp_buytime .34")    server_cmd("mp_consistency 1")    server_cmd("mp_c4timer 35")    server_cmd("mp_fadetoblack 0")    server_cmd("mp_falldamage 1")    server_cmd("mp_flashlight 1")    server_cmd("mp_forcechasecam 0")    server_cmd("mp_forcecamera 2")    server_cmd("mp_footsteps 1")    server_cmd("mp_freezetime 12")    server_cmd("mp_friendlyfire 1")    server_cmd("mp_hostagepenalty 0")    server_cmd("mp_limitteams 6")    server_cmd("mp_logecho 1")    server_cmd("mp_logfile 1")    server_cmd("mp_logmessages 1")    server_cmd("mp_maxrounds 15")    server_cmd("mp_playerid 0")    server_cmd("mp_roundtime 2")    server_cmd("mp_timelimit 999")    server_cmd("mp_tkpunish 0")    server_cmd("mp_startmoney 800")    server_cmd("sv_lagpush 0")    server_cmd("sv_unlagsamples 1")    server_cmd("sv_voiceenable 1")    server_cmd("sv_maxunlag .5")    server_cmd("sv_aim 0")    server_cmd("sv_airaccelerate 10")    server_cmd("sv_airmove 1")    server_cmd("sv_allowdownload 1")    server_cmd("sv_allowupload 1     // missed ") at the end    server_cmd("sv_alltalk 0")    server_cmd("sv_proxies 1")    server_cmd("sv_cheats 0")    server_cmd("sv_clienttrace 1.0")    server_cmd("sv_clipmode 0")    server_cmd("sv_contact <a href="mailto:steve@caleague.com">[email protected]</a>")    server_cmd("sv_friction 4")    server_cmd("sv_gravity 800")    server_cmd("sv_maxrate 20000")    server_cmd("sv_maxspeed 320")    server_cmd("sv_minrate 0")    server_cmd("sv_maxupdaterate 100")    server_cmd("sv_maxcmdrate 100")    server_cmd("sv_send_logos 1")    server_cmd("sv_send_resources 1")    server_cmd("sv_stepsize 18")    server_cmd("sv_stopspeed 75")    server_cmd("sv_timeout 65")    server_cmd("sv_wateraccelerate 10")    server_cmd("allow_spectators 2")    server_cmd("decalfrequency 60")    server_cmd("edgefriction 2")    server_cmd("host_framerate 0")    server_cmd("log on")    server_cmd("pausable 0")             } // we'll just remove these two brackets so the func acn keep on going else this would be the end of the func {                     // and the rest...     // after every "client print()" u've typed "return PLUGIN_HANDLED" wich would stop the function     // also after every "return PLUGIN_HANDLED" you've added a opening bracket but you never closed any of them     // the brackets and the "return PLUGIN_HANDLED" is not needed at all here        client_print(1,print_chat,"-==-")    return PLUGIN_HANDLED    {    client_print(1,print_chat,"-===-")    return PLUGIN_HANDLED    {    client_print(0,print_chat,"-====-")    return PLUGIN_HANDLED    {    client_print(0,print_chat,"-==G==-")    return PLUGIN_HANDLED    {    client_print(0,print_chat,"-==GE==-")    return PLUGIN_HANDLED    {    client_print(0,print_chat,"-==GET==-")    return PLUGIN_HANDLED    {    client_print(0,print_chat,"-==GET R==-")    return PLUGIN_HANDLED    {    client_print(0,print_chat,"-==GET RE==-")    return PLUGIN_HANDLED    {    client_print(0,print_chat,"-==GET READ==-")    return PLUGIN_HANDLED    {    client_print(0,print_chat,"-==GET READY==-")    return PLUGIN_HANDLED    {    client_print(0,print_chat,"-=Team.PK=-")    return PLUGIN_HANDLED    {    client_print(0,print_chat,"-=Team.PK=-")    return PLUGIN_HANDLED    {    client_print(0,print_chat,"-=Team.PK=-")    return PLUGIN_HANDLED    {    client_print(0,print_chat,"-=Team.PK=-")    return PLUGIN_HANDLED    {    client_print(0,print_chat,"-=Restart #1=-")    return PLUGIN_HANDLED    server_cmd("sv_restart 1")    client_print(0,print_chat,"-=Restart #2=-")    return PLUGIN_HANDLED    server_cmd("sv_restart 1")    {    client_print(0,print_chat,"-=Restart #3=-")    return PLUGIN_HANDLED    server_cmd("sv_restart 1")    server_cmd("amx_off")    {    client_print(0,print_chat,"-=L=-")    return PLUGIN_HANDLED    {    client_print(0,print_chat,"-=LI=-")    return PLUGIN_HANDLED    {    client_print(0,print_chat,"-=LIV=-")    return PLUGIN_HANDLED    {    client_print(0,print_chat,"-=LIVE=-")    return PLUGIN_HANDLED       {    client_print(0,print_chat,"-=L=-")    return PLUGIN_HANDLED    {    client_print(0,print_chat,"-=LI=-")    return PLUGIN_HANDLED    {    client_print(0,print_chat,"-=LIV=-")    return PLUGIN_HANDLED    {    client_print(0,print_chat,"-=LIVE=-")    return PLUGIN_HANDLED    {    client_print(0,print_chat,"-=G=-")    return PLUGIN_HANDLED    {    client_print(0,print_chat,"-=GO=-")    return PLUGIN_HANDLED    {    client_print(0,print_chat,"=G=")    return PLUGIN_HANDLED    {    client_print(0,print_chat,"GO")    return PLUGIN_HANDLED    {    client_print(0,print_chat,"=G=")    return PLUGIN_HANDLED    {    client_print(0,print_chat,"-=G=-")    return PLUGIN_HANDLED    {    client_print(0,print_chat,"=GO=")    return PLUGIN_HANDLED    {    client_print(0,print_chat,"G")    return PLUGIN_HANDLED    {    client_print(0,print_chat,"=GO=")    return PLUGIN_HANDLED    {    client_print(0,print_chat,"-=GO=-")    return PLUGIN_HANDLED    {    client_print(0,print_chat,"HAVE FUN!")    return PLUGIN_HANDLED    {    client_print(0,print_chat,"RECORD DEMOS!!")    return PLUGIN_HANDLED    {    client_print(0,print_chat,"Made By RaYnE BITCHES!!")    return PLUGIN_HANDLED        //finally no closing bracket to end the function
[ --<-@ ] Black Rose is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 03-03-2006 , 20:12  
Reply With Quote #5

Why don't you point out his mistakes? He's never going to learn if somebody just fixes up his code for him and posts it.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 03-03-2006 , 20:30  
Reply With Quote #6

done. hope it'll help. not very good at explaining though
[ --<-@ ] Black Rose is offline
RaYnE21
Junior Member
Join Date: Jan 2006
Old 03-03-2006 , 20:51  
Reply With Quote #7

I thought you needed the brackets lol I looked at GHW's cal thing and it had it so i was like ohh lol.
thank you rose and baillo ill try to compile it :-D

P.S. For some reason the text goes soo fast you cant see it how can i slow it down? nvm it doesent go fast you just cant see it

Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "True Cal Config"
#define VERSION "1.0"
#define AUTHOR "RaYnE"


public plugin_init() {
	register_plugin("TrueCalCONFIG","1.0","RaYnE")
	register_concmd("amx_tcal","calcz",ADMIN_SLAY,"Cal_CZ Config")
}

public calcz(id,level,cid)
{
	if(!cmd_access(id,level,cid,1))
	{
		return PLUGIN_HANDLED
	}
	
	server_cmd("mp_autokick 0")
	server_cmd("mp_autocrosshair 0")
	server_cmd("mp_autoteambalance 0")
	server_cmd("mp_buytime .34")
	server_cmd("mp_consistency 1")
	server_cmd("mp_c4timer 35")
	server_cmd("mp_fadetoblack 0")
	server_cmd("mp_falldamage 1")
	server_cmd("mp_flashlight 1")
	server_cmd("mp_forcechasecam 0")
	server_cmd("mp_forcecamera 2")
	server_cmd("mp_footsteps 1")
	server_cmd("mp_freezetime 12")
	server_cmd("mp_friendlyfire 1")
	server_cmd("mp_hostagepenalty 0")
	server_cmd("mp_limitteams 6")
	server_cmd("mp_logecho 1")
	server_cmd("mp_logfile 1")
	server_cmd("mp_logmessages 1")
	server_cmd("mp_maxrounds 15")
	server_cmd("mp_playerid 0")
	server_cmd("mp_roundtime 2")
	server_cmd("mp_timelimit 999")
	server_cmd("mp_tkpunish 0")
	server_cmd("mp_startmoney 800")

	server_cmd("sv_lagpush 0")
	server_cmd("sv_unlagsamples 1")
	server_cmd("sv_voiceenable 1")
	server_cmd("sv_maxunlag .5")
	server_cmd("sv_aim 0")
	server_cmd("sv_airaccelerate 10")
	server_cmd("sv_airmove 1")
	server_cmd("sv_allowdownload 1")
	server_cmd("sv_allowupload 1")
	server_cmd("sv_alltalk 0")
	server_cmd("sv_proxies 1")
	server_cmd("sv_cheats 0")
	server_cmd("sv_clienttrace 1.0")
	server_cmd("sv_clipmode 0")
	server_cmd("sv_contact [email protected]")
	server_cmd("sv_friction 4")
	server_cmd("sv_gravity 800")
	server_cmd("sv_maxrate 20000")
	server_cmd("sv_maxspeed 320")
	server_cmd("sv_minrate 0")
	server_cmd("sv_maxupdaterate 100")
	server_cmd("sv_maxcmdrate 100")
	server_cmd("sv_send_logos 1")
	server_cmd("sv_send_resources 1")
	server_cmd("sv_stepsize 18")
	server_cmd("sv_stopspeed 75")
	server_cmd("sv_timeout 65")
	server_cmd("sv_wateraccelerate 10")

	server_cmd("allow_spectators 2")
	server_cmd("decalfrequency 60")
	server_cmd("edgefriction 2")
	server_cmd("host_framerate 0")
	server_cmd("log on")
	server_cmd("pausable 0")

	client_print(1,print_center,"-==-")
	 

	client_print(1,print_center,"-===-")
	 

	client_print(0,print_center,"-====-")
	 

	client_print(0,print_center,"-==G==-")
	 
	
	client_print(0,print_center,"-==GE==-")
	 
	
	client_print(0,print_center,"-==GET==-")
	 
	
	client_print(0,print_center,"-==GET R==-")
	 
	
	client_print(0,print_center,"-==GET RE==-")
	 
	
	client_print(0,print_center,"-==GET READ==-")
	 
	
	client_print(0,print_center,"-==GET READY==-")
	 
	
	client_print(0,print_center,"-=Team.PK=-")
	 
	
	client_print(0,print_center,"-=Team.PK=-")
	 
	
	client_print(0,print_center,"-=Team.PK=-")
	 
	
	client_print(0,print_center,"-=Team.PK=-")
	 
	
	client_print(0,print_center,"-=Restart #1=-")
	server_cmd("sv_restart 1")
	 
	
	client_print(0,print_center,"-=Restart #2=-")
	server_cmd("sv_restart 2")
	 
	
	client_print(0,print_center,"-=Restart #3=-")
	server_cmd("sv_restart 3")
	 
	
	client_print(0,print_center,"-=L=-")
	 
	
	client_print(0,print_center,"-=LI=-")
	 
	
	client_print(0,print_center,"-=LIV=-")
	 
	
	client_print(0,print_center,"-=LIVE=-")
	 
	
	client_print(0,print_center,"-=L=-")
	 
	
	client_print(0,print_center,"-=LI=-")
	 
	
	client_print(0,print_center,"-=LIV=-")
	 
	
	client_print(0,print_center,"-=LIVE=-")
	 
	
	client_print(0,print_center,"-=G=-")
	 
	
	client_print(0,print_center,"-=GO=-")
	 
	
	client_print(0,print_center,"=G=")
	 
	
	client_print(0,print_center,"GO")
	 
	
	client_print(0,print_center,"=G=")
	 
	
	client_print(0,print_center,"-=G=-")
	 

	client_print(0,print_center,"=GO=")
	 
	
	client_print(0,print_center,"G")
	 

	client_print(0,print_center,"=GO=")
	 
	
	client_print(0,print_center,"-=GO=-")
	 
	
	client_print(0,print_center,"HAVE FUN!")
	 
	
	client_print(0,print_center,"RECORD DEMOS BITCHES!!") 
	
	client_print(0,print_center,"Made By RaYnE BITCHES!!")

	client_print(0,print_center,"Password Is scrimm")
	server_cmd("sv_password scrimm")
	return PLUGIN_HANDLED
	
	client_print(0,print_center,"AMXX IS NOW OFF!!")
	server_cmd("amx_off")
	return PLUGIN_HANDLED
}
And yes I want the test to be center :-)
RaYnE21 is offline
RaYnE21
Junior Member
Join Date: Jan 2006
Old 03-04-2006 , 14:36  
Reply With Quote #8

any one have an idea?
RaYnE21 is offline
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 03-04-2006 , 18:28  
Reply With Quote #9

you want the text to go slower and to be in the center?
hudmsg or print_center/print_notify ( can't remember wich is wich )
[ --<-@ ] Black Rose is offline
RaYnE21
Junior Member
Join Date: Jan 2006
Old 03-04-2006 , 20:01  
Reply With Quote #10

I have print center but if you actually run the script in the server you cant see it and the restarts dont restart it only goes once

P.S. Thanks for helping me rose
RaYnE21 is offline
Reply



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 20:15.


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