28.07.2011, 00:36
how do I fix these errors in the main OnGameModeExit and function. my GameMode?
Код:
C:\Users\Pavilion\Desktop\ILV Server\pawno\ILVGM.pwn(45) : error 027: invalid character constant C:\Users\Pavilion\Desktop\ILV Server\pawno\ILVGM.pwn(45) : error 027: invalid character constant C:\Users\Pavilion\Desktop\ILV Server\pawno\ILVGM.pwn(46) : error 027: invalid character constant C:\Users\Pavilion\Desktop\ILV Server\pawno\ILVGM.pwn(46) : error 027: invalid character constant C:\Users\Pavilion\Desktop\ILV Server\pawno\ILVGM.pwn(46) : error 017: undefined symbol "__" C:\Users\Pavilion\Desktop\ILV Server\pawno\ILVGM.pwn(46) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 6 Errors.
Код:
main() { format(stringa,sizeof(stringa)," Versione Corrente: %s",VERSIONE); print("\n_____________________________________"); print(" .___ __ .__ .__ .____"); print(" | |/ |______ | | |__|____ ____ | | _____ ______"); print(" | \ __\__ \ | | | \__ \ / \ | | \__ \ / ___/"); print(" | || | / __ \| |_| |/ __ \| | \ | |___ / __ \_\___ \"); print(" |___||__| (____ /____/__(____ /___| / |_______ (____ /____ >"); print(" \/ \/ \/ \/ \/ \/"); print(" ____ ____ __"); print(" \ \ / /____ _____/ |_ __ ______________ ______"); print(" \ Y // __ \ / \ __\ | \_ __ \__ \ / ___/"); print(" \ /\ ___/| | \ | | | /| | \// __ \_\___ \"); print(" \___/ \___ >___| /__| |____/ |__| (____ /____ >"); print(" \/ \/ \/ \/"); print(stringa); print(" Start GameMode"); print("_____________________________________\n"); }
Код:
public OnGameModeExit() { format(stringa,sizeof(stringa)," Versione Corrente: %s",VERSIONE); print("\n_____________________________________"); print(" .___ __ .__ .__ .____"); print(" | |/ |______ | | |__|____ ____ | | _____ ______"); print(" | \ __\__ \ | | | \__ \ / \ | | \__ \ / ___/"); print(" | || | / __ \| |_| |/ __ \| | \ | |___ / __ \_\___ \"); print(" |___||__| (____ /____/__(____ /___| / |_______ (____ /____ >"); print(" \/ \/ \/ \/ \/ \/"); print(" ____ ____ __"); print(" \ \ / /____ _____/ |_ __ ______________ ______"); print(" \ Y // __ \ / \ __\ | \_ __ \__ \ / ___/"); print(" \ /\ ___/| | \ | | | /| | \// __ \_\___ \"); print(" \___/ \___ >___| /__| |____/ |__| (____ /____ >"); print(" \/ \/ \/ \/"); print(stringa); print(" Stop GameMode"); print("_____________________________________\n"); return 1; }