No shows all strings, why?
#1

In pawno
Quote:

SCMF(killerid, -1, ""CRVENA"UPOZORENJE:"BELA"Dobili ste"CRVENA" 3 WANTED LEVELA "BELA"zbog ubistva!");
new string[700];
format(string, sizeof(string), ""CRVENA"DISPECER:"BELA"Pocinio: "CRVENA"%s "BELA"Zlocin: "CRVENA"Ubistvo gradjanina "BELA"Lokacija: "CRVENA"%s "BELA"Wanted Level Pocinioca: "CRVENA"%d!", GetName(killerid),GetPlayerLocation(killerid),Play erInfo[killerid][pTrazeniLevel]);
ChatPD(-1, string);
format(string, sizeof(string), ""CRVENA"DISPECER:"BELA"Imamo novi prijavljen zlocin od:"CRVENA"dispecera!");
ChatPD(-1, string);

In game
http://prntscr.com/b4gaxl
Only second string write in game i try to swap but it's same so if someone can help me to fix this thing with strings..
Reply
#2

PHP код:
SCMF(killerid, -1"""CRVENA""UPOZORENJE:""BELA""Dobili ste""CRVENA"" 3 WANTED LEVELA ""BELA""zbog ubistva!");
new 
string[700];
format(stringsizeof(string), """CRVENA""DISPECER:""BELA""Pocinio: ""CRVENA""%s ""BELA""Zlocin: ""CRVENA""Ubistvo gradjanina ""BELA""Lokacija: "CRVENA"%s "BELA"Wanted Level Pocinioca: ""CRVENA""%d!"GetName(killerid),GetPlayerLocation(killerid),Play erInfo[killerid][pTrazeniLevel]);
ChatPD(-1string);
format(stringsizeof(string), """CRVENA""DISPECER:""BELA""Imamo novi prijavljen zlocin od:""CRVENA""dispecera!");
ChatPD(-1string); 
You have to escape the
Код:
"
with another
Код:
"
Reply
#3

I cant understand you how this help me if i double up this "
Reply
#4

Max characters that can be displayed in client messages are 144. Your text alone (without the data from 3 specifiers) is 153 characters.

Quote:

If a message is longer than 144 characters, it will not be sent. Truncation can be used to prevent this. Displaying a message on multiple lines will also solve this issue.

Reply
#5

Now if message are more logner then 144 to make this
Quote:

""

but not this
Quote:

"

?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)