updated header | fixed compiler errors

This commit is contained in:
Felix Geyer 2004-02-11 19:32:01 +00:00
parent 248d1512a8
commit c3da720704
25 changed files with 34 additions and 29 deletions

View File

@ -1,7 +1,7 @@
/* AMX Mod X script. /* AMX Mod X script.
* *
* (c) 2002-2004, OLO * (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer * modified by the AMX Mod X Development Team
* *
* This file is provided as is (no warranties). * This file is provided as is (no warranties).
*/ */

View File

@ -1,7 +1,7 @@
/* AMX Mod X script. /* AMX Mod X script.
* *
* (c) 2002-2004, dJeyL * (c) 2002-2004, dJeyL
* modified by BAILOPAN,Manip,PM,SniperBeamer * modified by the AMX Mod X Development Team
* *
* This file is provided as is (no warranties). * This file is provided as is (no warranties).
* *

View File

@ -1,7 +1,7 @@
/* AMX Mod X script. /* AMX Mod X script.
* *
* (c) 2002-2004, OLO * (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer * modified by the AMX Mod X Development Team
* *
* This file is provided as is (no warranties). * This file is provided as is (no warranties).
*/ */
@ -146,8 +146,9 @@ public cmdPsay(id,level,cid){
get_user_name(id,name2,31) get_user_name(id,name2,31)
userid = get_user_userid(id) userid = get_user_userid(id)
read_args(message,191) read_args(message,191)
if (message[0]=='"' && message[length]=='"'){// HLSW fix if (message[0]=='"' && message[length]=='"'){ // HLSW fix
message[0]=message[length]=' ' message[0]=' '
message[length]=' '
length+=2 length+=2
} }
remove_quotes(message[length]) remove_quotes(message[length])

View File

@ -1,7 +1,7 @@
/* AMX Mod X script. /* AMX Mod X script.
* *
* (c) 2002-2004, OLO * (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer * modified by the AMX Mod X Development Team
* *
* This file is provided as is (no warranties). * This file is provided as is (no warranties).
*/ */
@ -344,7 +344,8 @@ public cmdCfg(id,level,cid){
public cmdLBack(){ public cmdLBack(){
set_cvar_float("pausable",g_pausAble) set_cvar_float("pausable",g_pausAble)
console_print(g_pauseCon,"Server %s", g_Paused ? "unpaused" : "paused") console_print(g_pauseCon,"Server %s", g_Paused ? "unpaused" : "paused")
g_Paused = !g_Paused if (g_Paused) g_Paused = false
else g_Paused = true
return PLUGIN_HANDLED return PLUGIN_HANDLED
} }

View File

@ -1,7 +1,7 @@
/* AMX Mod X script. /* AMX Mod X script.
* *
* (c) 2002-2004, tcquest78 * (c) 2002-2004, tcquest78
* modified by BAILOPAN,Manip,PM,SniperBeamer * modified by the AMX Mod X Development Team
* *
* This file is provided as is (no warranties). * This file is provided as is (no warranties).
*/ */

View File

@ -1,7 +1,7 @@
/* AMX Mod script. /* AMX Mod script.
* *
* (c) 2002-2004, OLO * (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer * modified by the AMX Mod X Development Team
* *
* This file is provided as is (no warranties). * This file is provided as is (no warranties).
*/ */

View File

@ -1,7 +1,7 @@
/* AMX Mod X script. /* AMX Mod X script.
* *
* (c) 2002-2004, OLO * (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer * modified by the AMX Mod X Development Team
* *
* This file is provided as is (no warranties). * This file is provided as is (no warranties).
*/ */
@ -168,7 +168,10 @@ public cmdVoteMap(id,level,cid) {
new argc = read_argc() new argc = read_argc()
if (argc > 5) argc = 5 if (argc > 5) argc = 5
g_validMaps = 0 g_validMaps = 0
g_optionName[0][0] = g_optionName[1][0] = g_optionName[2][0] = g_optionName[3][0] = 0 g_optionName[0][0] = 0
g_optionName[1][0] = 0
g_optionName[2][0] = 0
g_optionName[3][0] = 0
for(new i = 1; i < argc; ++i){ for(new i = 1; i < argc; ++i){
read_argv(i,g_optionName[g_validMaps],31) read_argv(i,g_optionName[g_validMaps],31)
if (is_map_valid(g_optionName[g_validMaps])) if (is_map_valid(g_optionName[g_validMaps]))

View File

@ -1,7 +1,7 @@
/* AMX Mod script. /* AMX Mod script.
* *
* (c) 2002-2004, OLO * (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer * modified by the AMX Mod X Development Team
* *
* This file is provided as is (no warranties). * This file is provided as is (no warranties).
*/ */

View File

@ -1,7 +1,7 @@
/* AMX Mod X script. /* AMX Mod X script.
* *
* (c) 2002-2004, OLO * (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer * modified by the AMX Mod X Development Team
* *
* This file is provided as is (no warranties). * This file is provided as is (no warranties).
*/ */

View File

@ -1,7 +1,7 @@
/* AMX Mod X script. /* AMX Mod X script.
* *
* (c) 2002-2004, OLO * (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer * modified by the AMX Mod X Development Team
* *
* This file is provided as is (no warranties). * This file is provided as is (no warranties).
*/ */

View File

@ -1,7 +1,7 @@
/* AMX Mod X script. /* AMX Mod X script.
* *
* (c) 2002-2004, OLO * (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer * modified by the AMX Mod X Development Team
* *
* This file is provided as is (no warranties). * This file is provided as is (no warranties).
*/ */

View File

@ -1,7 +1,7 @@
/* AMX Mod X script. /* AMX Mod X script.
* *
* (c) 2002-2004, OLO * (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer * modified by the AMX Mod X Development Team
* *
* This file is provided as is (no warranties). * This file is provided as is (no warranties).
*/ */

View File

@ -1,7 +1,7 @@
/* AMX Mod X script. /* AMX Mod X script.
* *
* (c) 2002-2004, OLO * (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer * modified by the AMX Mod X Development Team
* *
* This file is provided as is (no warranties). * This file is provided as is (no warranties).
*/ */

View File

@ -1,7 +1,7 @@
/* AMX Mod X script. /* AMX Mod X script.
* *
* (c) 2002-2004, OLO * (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer * modified by the AMX Mod X Development Team
* *
* This file is provided as is (no warranties). * This file is provided as is (no warranties).
*/ */

View File

@ -1,7 +1,7 @@
/* AMX Mod X script. /* AMX Mod X script.
* *
* (c) 2002-2004, OLO * (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer * modified by the AMX Mod X Development Team
* *
* This file is provided as is (no warranties). * This file is provided as is (no warranties).
*/ */

View File

@ -1,7 +1,7 @@
/* AMX Mod X script. /* AMX Mod X script.
* *
* (c) 2002-2004, OLO * (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer * modified by the AMX Mod X Development Team
* *
* This file is provided as is (no warranties). * This file is provided as is (no warranties).
*/ */

View File

@ -1,7 +1,7 @@
/* AMX Mod X script. /* AMX Mod X script.
* *
* (c) 2002-2004, OLO * (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer * modified by the AMX Mod X Development Team
* *
* This file is provided as is (no warranties). * This file is provided as is (no warranties).
*/ */

View File

@ -1,7 +1,7 @@
/* AMX Mod X script. /* AMX Mod X script.
* *
* (c) 2002-2004, OLO * (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer and XAD * modified by the AMX Mod X Development Team
* *
* This file is provided as is (no warranties). * This file is provided as is (no warranties).
*/ */

View File

@ -1,7 +1,7 @@
/* AMX Mod X script. /* AMX Mod X script.
* *
* (c) 2002-2004, OLO * (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer * modified by the AMX Mod X Development Team
* *
* This file is provided as is (no warranties). * This file is provided as is (no warranties).
*/ */

View File

@ -1,7 +1,7 @@
/* AMX Mod X script. /* AMX Mod X script.
* *
* (c) 2002-2004, OLO * (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer * modified by the AMX Mod X Development Team
* *
* This file is provided as is (no warranties). * This file is provided as is (no warranties).
*/ */

View File

@ -1,7 +1,7 @@
/* AMX Mod X script. /* AMX Mod X script.
* *
* (c) 2002-2004, JustinHoMi * (c) 2002-2004, JustinHoMi
* modified by BAILOPAN,Manip,PM,SniperBeamer * modified by the AMX Mod X Development Team
* *
* This file is provided as is (no warranties). * This file is provided as is (no warranties).
*/ */

View File

@ -1,7 +1,7 @@
/* AMX Mod X script. /* AMX Mod X script.
* *
* (c) 2002-2004, OLO * (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer * modified by the AMX Mod X Development Team
* *
* This file is provided as is (no warranties). * This file is provided as is (no warranties).
*/ */

View File

@ -1,7 +1,7 @@
/* AMX Mod X script. /* AMX Mod X script.
* *
* (c) 2002-2004, OLO * (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer * modified by the AMX Mod X Development Team
* *
* This file is provided as is (no warranties). * This file is provided as is (no warranties).
*/ */

View File

@ -1,7 +1,7 @@
/* AMX Mod X script. /* AMX Mod X script.
* *
* (c) 2002-2004, OLO * (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer * modified by the AMX Mod X Development Team
* *
* This file is provided as is (no warranties). * This file is provided as is (no warranties).
*/ */

View File

@ -1,7 +1,7 @@
/* AMX Mod X script. /* AMX Mod X script.
* *
* (c) 2002-2004, OLO * (c) 2002-2004, OLO
* modified by BAILOPAN,Manip,PM,SniperBeamer * modified by the AMX Mod X Development Team
* *
* This file is provided as is (no warranties). * This file is provided as is (no warranties).
*/ */