Message problem.
#1

I've got a message return problem in my script it should return a message on pressing esc on the login menu and kick the player but it just kicks but doesnt show the message.
pawn Код:
{
            SendClientMessage(playerid, COLOR_WHITE, "Unitech Gaming: You choosed to quit the server.");
            Kick(playerid);
                return 1;
 }
PS: When i keep return 1; above kick it sends the message but gives a warning while compiling.
Reply
#2

What warning does it give?
Reply
#3

Yes, you will have to set a timer on the kick for like 500 ms.
Because the player gets disconnected before the message gets to him, see it like a bug.
Reply
#4

I totally got you Roel, thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)