PDA

View Full Version : a Little Proplem


Zorono
16/04/2017, 11:28 AM
hello all, iam getting mini proplem during my compillion session and here is my code
new url[128]; format(url, sizeof(url), "%s is your ....", count); // line number 3014
HTTP(1001, HTTP_GET, url, "", "OnPlayerVerfied");

my errors are
(3014): error 027: invalid character constant
(3014): error 027: invalid character constant

i tried too many times to fix this errors but failed to fix it please help

Sebz
16/04/2017, 11:46 AM
Is 'count' an integer by chance? %i instead of %s maybe.

Zorono
16/04/2017, 11:50 AM
Is 'count' an integer by chance? %i instead of %s maybe.
sorry for my bad i written wrong var on the post the correct var is 'zweb' and it contains. a string not intger

Zorono
16/04/2017, 01:07 PM
Bumb