SA-MP Forums Archive
Problem with SendClientMessage - 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: Problem with SendClientMessage (/showthread.php?tid=575133)



Problem with SendClientMessage - CuFF - 24.05.2015

Hi, I've noticed that some messages in my gamemode (SendClientMessage) will not displayed in correct order.

for example on my gamemode:
SendClientMessage(playerid,0x00C3FFFF,"1");
SendClientMessage(playerid,0xFFFFFFFF,"2");
SendClientMessage(playerid,0xFFFFFFFF,"3");
SendClientMessage(playerid,0xFFFFFFFF,"4");
SendClientMessage(playerid,0xFFFFFFFF,"5");

on my server it appears to:
SendClientMessage(playerid,0x00C3FFFF,"2");
SendClientMessage(playerid,0xFFFFFFFF,"1");
SendClientMessage(playerid,0xFFFFFFFF,"3");
SendClientMessage(playerid,0xFFFFFFFF,"5");
SendClientMessage(playerid,0xFFFFFFFF,"4");

Anyone knows the problem?


Re: Problem with SendClientMessage - SoFahim - 24.05.2015

Quote:

for example on my gamemode:
SendClientMessage(playerid,0x00C3FFFF,"1");
SendClientMessage(playerid,0xFFFFFFFF,"2");
SendClientMessage(playerid,0xFFFFFFFF,"3");
SendClientMessage(playerid,0xFFFFFFFF,"4");
SendClientMessage(playerid,0xFFFFFFFF,"5");

on my server it appears to:
SendClientMessage(playerid,0x00C3FFFF,"2");
SendClientMessage(playerid,0xFFFFFFFF,"1");
SendClientMessage(playerid,0xFFFFFFFF,"3");
SendClientMessage(playerid,0xFFFFFFFF,"5");
SendClientMessage(playerid,0xFFFFFFFF,"4");

Just reorder them. thats it. aLso this problem might be for server Lag


AW: Problem with SendClientMessage - CuFF - 24.05.2015

I can't reorder them, this is random


Re: AW: Problem with SendClientMessage - Bingo - 24.05.2015

Quote:
Originally Posted by CuFF
Посмотреть сообщение
I can't reorder them, this is random
If this is called within a command it'll be in order like /credits and SendClientMessage with 5 lines and you'll get a normal text within order.

So, Basically as SoFahim said look up on your server lag, This is might caused by lag.


Re: Problem with SendClientMessage - Ferjkee - 24.05.2015

That's SA-MP.


AW: Problem with SendClientMessage - CuFF - 24.05.2015

Ok tanks you guys, but how can i find this lag thar happens in the whole script sometimes.