Problem with SendClientMessage
#1

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?
Reply
#2

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
Reply
#3

I can't reorder them, this is random
Reply
#4

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.
Reply
#5

That's SA-MP.
Reply
#6

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


Forum Jump:


Users browsing this thread: 1 Guest(s)