Empty line (Ladmin Adminscript) -
Horus - 17.03.2009
I have this problem when players join my server.
it's about the connecting message for players.
when the server starts without (Ladmin adminscript), you see it like this:
when the server starts with (Ladmin adminscript), you see it like this:
Don't pay attention to the connecting colors.
you see its the "
empty line" above the connecting message.
does any one have a idea why this happens?
Re: Empty line (Ladmin Adminscript) -
Kinetic - 17.03.2009
SendClientMessage(playerid, AnyColor, " ");?
Re: Empty line (Ladmin Adminscript) -
GTA_Rules - 17.03.2009
Hmmm try deleting the *** Has joined lines in your gamemode, then run it with LAdmin
Re: Empty line (Ladmin Adminscript) -
MenaceX^ - 17.03.2009
Quote:
Originally Posted by GTA_Rules
Hmmm try deleting the *** Has joined lines in your gamemode, then run it with LAdmin
|
Huh? And why's that?
CTRL+F --> " ");
Re: Empty line (Ladmin Adminscript) -
Horus - 17.03.2009
Quote:
SendClientMessage(playerid, AnyColor, " ");?
|
I tried it, searched it all with ctrl F but didn't find anything like that.
Quote:
Hmmm try deleting the *** Has joined lines in your gamemode, then run it with LAdmin
|
i don't got *** front of joined message... only on disconnect player i got it, but disconnect message works perfect without any empty line above it.
i searched letterly for " "); and " ") but didn't find anything like that... searched in gamemode and Ladmin.
---------------------------------------------------------------------------
This is what i got in my gamemode
Quote:
public OnPlayerConnect(playerid)
{
new pName[MAX_PLAYER_NAME];
new string[48];
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "%s has joined the server.", pName);
SendClientMessageToAll(0x33AA33AA, string);
GetPlayerName(playerid, ConnectName, 30);
|
And this is what i got on Ladmin adminscript
Quote:
public OnPlayerConnect(playerid)
{
new PlayerName[MAX_PLAYER_NAME], string[256], file[256];
GetPlayerName(playerid, PlayerName, MAX_PLAYER_NAME);
|
I didn't had this problem before i used Ladmin...
still thanx for helping guys... if someone got any other idea please let me know.
Re: Empty line (Ladmin Adminscript) -
Horus - 18.04.2009
BUMP!!!
still couldn't fix it, i study the whole script but no results at all.
anyone with an idea please let me know.
thanx
Re: Empty line (Ladmin Adminscript) -
Klutty - 18.04.2009
Use this:
pawn Код:
new string[128];
new playername[MAX_PLAYER_NAME];
GetPlayerName(playerid,playername,sizeof(playername));
format(string, sizeof(string), "%s has joined the server.",playername);
SendClientMessageToAll(0x33AA33AA,string);
It works perfectly for me.