need help with onplayerconnect...
#3

Name isn't integer.
pawn Код:
public OnPlayerConnect(playerid)
{
    new string[128], pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
    format(string, sizeof(string), "{FFFF00}%s {AA3333}i& {FFFF00}has Joined {AA3333}TDC",pName);
    SendClientMessageToAll(-1, string);
    return 1;
}
Reply


Messages In This Thread
need help with onplayerconnect... - by niels44 - 17.12.2011, 08:26
Re: need help with onplayerconnect... - by 0x80808000 - 17.12.2011, 08:33
Re: need help with onplayerconnect... - by Kostas' - 17.12.2011, 08:37
Re: need help with onplayerconnect... - by niels44 - 17.12.2011, 09:36
Re: need help with onplayerconnect... - by Kostas' - 17.12.2011, 09:37
Re: need help with onplayerconnect... - by niels44 - 17.12.2011, 09:40

Forum Jump:


Users browsing this thread: 2 Guest(s)