01.11.2014, 16:15
Hello, I compiled my script and I got this errors, help please.
Line 912
Line 916
Line 21370
Line 21376
Line 21385
Line 21406
Line 21430
Line 21446
Line 21454
Код:
D:\SGRP\gamemodes\SGRP.pwn(912) : error 009: invalid array size (negative, zero or out of bounds) D:\SGRP\gamemodes\SGRP.pwn(916) : error 010: invalid function or declaration D:\SGRP\gamemodes\SGRP.pwn(21370) : error 017: undefined symbol "weburl" D:\SGRP\gamemodes\SGRP.pwn(21376) : error 017: undefined symbol "server_locked" D:\SGRP\gamemodes\SGRP.pwn(21385) : error 017: undefined symbol "rconpass" D:\SGRP\gamemodes\SGRP.pwn(21406) : warning 224: indeterminate array size in "sizeof" expression (symbol "") D:\SGRP\gamemodes\SGRP.pwn(21430) : warning 224: indeterminate array size in "sizeof" expression (symbol "") D:\SGRP\gamemodes\SGRP.pwn(21446) : error 017: undefined symbol "weburl" D:\SGRP\gamemodes\SGRP.pwn(21454) : error 017: undefined symbol "weburl" D:\SGRP\gamemodes\SGRP.pwn(21454) : error 017: undefined symbol "weburl" D:\SGRP\gamemodes\SGRP.pwn(21454) : error 029: invalid expression, assumed zero D:\SGRP\gamemodes\SGRP.pwn(21454) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 10 Errors.
Код:
hostname[Static Gaming Roleplay],
Код:
bool:server_locked;
Код:
format(string, sizeof(string), "Current URL: %s\n\nEnter the new URL below.", weburl);
Код:
switch(server_locked)
Код:
format(string, sizeof(string), "Current RCON Pass: %s\n\nEnter the new RCON Pass below.", rconpass);
Код:
format(hostname, sizeof(hostname), inputtext);
Код:
format(mapname, sizeof(mapname), inputtext);
Код:
format(string, sizeof(string), "Current URL: %s\n\nEnter the new URL below.", weburl);
Код:
format(weburl, sizeof(weburl), inputtext);