Message on connect and position..
#1

Hello!

what's wrong in the code? since it sends the message before Connected To:
Bug:


Code:
Код:
public OnPlayerConnect(playerid)
{
    ClearChat(playerid); //clear the chat first
    SendClientMessage(playerid, -1, "Welcome to latvia stunt server!"); //then send the message
    return 1;
}

stock ClearChat(playerid)
{
    for(new i = 0; i < 50; i++) SendClientMessage(playerid, -1," ");
    return 1;
}
And how can i have same position on login as i have on class selection?
Reply
#2

Set it on Player Spawn
Reply
#3

Quote:
Originally Posted by MatriXgaMer
Посмотреть сообщение
Set it on Player Spawn
I dont want to remove the messages and send welcome message when player spawn... I want to remove it and send the message when player connecting..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)