tried to make table in the chat .... - 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: tried to make table in the chat .... (
/showthread.php?tid=320179)
tried to make table in the chat .... -
tal_peretz - 21.02.2012
That what I did -
PHP код:
for(new i = 1; i < 10; i++)
{
format(stringKilles,100,"name%d",i);
format(Snum,100,"Kills%d",i);
format(NameKill,24,dini_Get("KingSawn.ini",stringKilles));
for(new h = 0; h < 24-strlen(NameKill); h++)
format(TUBname,30,"%s ",TUBname);
format(String,sizeof(String),"%d. %s%s %d",i,dini_Get("KingSawn.ini",stringKilles),TUBname,dini_Int("KingSawn.ini",Snum));
SendClientMessageToAll(COLOR_LIGHTBLUE,String);
}
And that's what happend -
Haven I tried this -
PHP код:
SendClientMessageToAll(COLOR_LIGHTBLUE,"tal332255 6");
SendClientMessageToAll(COLOR_LIGHTBLUE,"tal12345 7");
SendClientMessageToAll(COLOR_LIGHTBLUE,"none 3");
In the pawno it looks good but in the server it's confusion...
So - How can I make table in the chat ?
Thanks!
Re: tried to make table in the chat .... -
titanak - 21.02.2012
with Dialogs you can use: \t for it , but with SendClientMessage have no idea about that .
Re: tried to make table in the chat .... -
tal_peretz - 21.02.2012
I made it with \t in my dialog ... but I need it in the chat to.
Re: tried to make table in the chat .... -
titanak - 21.02.2012
i think you are not able to do it in the chat because every username length is different and space wont help for it.