SA-MP Forums Archive
Connected to: - 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: Connected to: (/showthread.php?tid=324699)



Connected to: - vernz - 10.03.2012

It is possible to remove the Connected to: servername or It's not ? because once the player is joining my welcome message appear before Connected to:


Re: Connected to: - [XST]O_x - 10.03.2012

That's odd... or is it supposed to be like this? I don't remember...
Anyway if that's disturbing you you can use a timer to delay the message.

pawn Код:
public OnPlayerConnect(playerid)
{
    SetTimerEx("TimerWelcome", 1500, false, "d", playerid);
    return 1;
}

forward TimerWelcome(player);
public TimerWelcome(player)
{
    SendClientMessage(player, -1, "Welcome to vernz's server!");
    return 1;
}



Re: Connected to: - Twisted_Insane - 10.03.2012

He said he wants to REMOVE the name...

Simply remove the "hostname" from your "server.cfg"-file...