// The main function (used only once when the server loads) main() { // Print some standard lines to the server's console print("\n----------------------------------"); print(GameModeName); print("----------------------------------\n"); }
C:\Users\Brandon\Desktop\SERVER\pawno\include\dutils.inc(410) : warning 219: local variable "buf" shadows a variable at a preceding level C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(70) : error 055: start of function body without function header C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(73) : error 021: symbol already defined: "printf" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1476) : warning 203: symbol is never used: "buf" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.
Okay, so i got rid of main() and this is what i got when i tried to compile.
Код HTML:
C:\Users\Brandon\Desktop\SERVER\pawno\include\dutils.inc(410) : warning 219: local variable "buf" shadows a variable at a preceding level C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(70) : error 055: start of function body without function header C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(73) : error 021: symbol already defined: "printf" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1476) : warning 203: symbol is never used: "buf" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors. |
C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(70) : error 055: start of function body without function header C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(73) : error 021: symbol already defined: "printf" C:\Users\Brandon\Desktop\SERVER\gamemodes\PPC_Trucking.pwn(1476) : warning 203: symbol is never used: "buffer" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.
native WP_Hash(buffer[], len, const str[]); { new buffer[129]; printf("hash"); WP_Hash(buf, sizeof (buf), "The quick brown fox jumps over the lazy dog"); print(buf); }