invalid string (possibly non-terminated string)
#1

errors:
pawn Код:
D:\Games\GTASAN~2\G~1\GAMEMO~1\Mode.pwn(2435) : error 037: invalid string (possibly non-terminated string)
D:\Games\GTASAN~2\G~1\GAMEMO~1\Mode.pwn(2435) : error 029: invalid expression, assumed zero
D:\Games\GTASAN~2\G~1\GAMEMO~1\Mode.pwn(2435) : error 029: invalid expression, assumed zero
D:\Games\GTASAN~2\G~1\GAMEMO~1\Mode.pwn(2435) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
Line:
pawn Код:
format(string, sizeof(string), "The Server Will Reset In: %d", ResServTime);
Reply
#2

Show the line before it.
Reply
#3

those are the lines before and after it:

pawn Код:
new string[128];
format(string, sizeof(string), "The Server Will Reset In: %d", ResServTime);
SendClientMessageToAll(COLOUR_ORANGE, "~~~Server's Reset System~~~);
SendClientMessageToAll(COLOUR_RED, string);
SendClientMessageToAll(COLOUR_RED, string);
SendClientMessageToAll(COLOUR_RED, string);
SendClientMessageToAll(COLOUR_ORANGE, "
~~~Server's Reset System~~~);
Reply
#4

pawn Код:
SendClientMessageToAll(COLOUR_ORANGE, "~~~Server's Reset System~~~");
Missing "
Reply
#5

Quote:
Originally Posted by MadeMan
Посмотреть сообщение
pawn Код:
SendClientMessageToAll(COLOUR_ORANGE, "~~~Server's Reset System~~~");
Missing "
thx... i didn't see it... :/
b.t.w: what is the problem with this? :
Код:
error 017: undefined symbol "SendCommand"
Reply
#6

Quote:
Originally Posted by omer5198
Посмотреть сообщение
thx... i didn't see it... :/
b.t.w: what is the problem with this? :
Код:
error 017: undefined symbol "SendCommand"
It works only in NPC scripts.
Reply
#7

Never mind... i just used SendRconCommand...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)