A lot of space beetwen my texts?
#4

pawn Код:
if(AdminLevel[playerid] < 1)
format(string2,sizeof(string2),"{%06x}%s[%d]: {FFFFFF}%s",GetPlayerColor(playerid) >>> 8,pname,playerid,text);
SendSplitMessageChat(COLOR_WHITE,string2);
If the level is >= 1, it won't format the text so basically "string2" is empty. The SendSplitMessageChat might not check about 0 length and send an empty message. For more than 1 function in a statement, use brackets {}.
Reply


Messages In This Thread
A lot of space beetwen my texts? - by KillerDVX - 10.06.2015, 09:14
Re: A lot of space beetwen my texts? - by buburuzu19 - 10.06.2015, 09:23
Re : A lot of space beetwen my texts? - by KillerDVX - 10.06.2015, 09:42
Re: A lot of space beetwen my texts? - by Konstantinos - 10.06.2015, 09:49
Re : A lot of space beetwen my texts? - by KillerDVX - 10.06.2015, 19:55
Re : A lot of space beetwen my texts? - by KillerDVX - 10.06.2015, 20:06
Re: A lot of space beetwen my texts? - by DarkLouis - 10.06.2015, 20:24

Forum Jump:


Users browsing this thread: 1 Guest(s)