what the error? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: what the error? (
/showthread.php?tid=633266)
what the error? -
AndreaSanchez - 28.04.2017
hello.
PHP Code:
new string[356];
format(string, sizeof(string), "%s\tСЕРВЕР: Для авторизации Вам дается 60 секунд. <- this error.
\n\tПОДСКАЗКА: Для смены скина зайдите на www.ls-rp.su и залогиньтесь в панеле.\n\n\t\t\t\tВведите ваш паро", string);
format(string, sizeof(string), "%sль:", string);
PHP Code:
C:\Users\Sanchez2\Desktop\NGRP\pawno\include\NewGeneration\modules\login.pwn(932) : error 037: invalid string (possibly non-terminated string)
C:\Users\Sanchez2\Desktop\NGRP\pawno\include\NewGeneration\modules\login.pwn(932) : error 029: invalid expression, assumed zero
C:\Users\Sanchez2\Desktop\NGRP\pawno\include\NewGeneration\modules\login.pwn(932) : error 017: undefined symbol "t"
C:\Users\Sanchez2\Desktop\NGRP\pawno\include\NewGeneration\modules\login.pwn(932) : fatal error 107: too many error messages on one line
Re: what the error? -
iLearner - 28.04.2017
PHP Code:
new string[356];
strcat(string, "\tСЕРВЕР: Для авторизации Вам дается 60 секунд.\n\tПОДСКАЗКА: Для смены скина зайдите на");
strcat(string, "www.ls-rp.su и залогиньтесь в панеле.\n\n\t\t\t\tВведите ваш паро");
format(string, sizeof(string), string);
Re: what the error? -
GhostHacker9 - 28.04.2017
Code:
format(string, sizeof(string), "%s\tСЕРВЕР: Для авторизации Вам дается 60 секунд.\
use escapes to continue the string literals to the next line.