Admin joining message
#3

Code:
public OnPlayerConnect(playerid)
{
	new astr[120], aname[MAX_PLAYER_NAME];
	if(pInfo[playerid][pAdmin] > 0) // Change with own var
	{
		GetPlayerName(playerid,aname,sizeof(aname));
		format(astr, sizeof(astr), "* Administrator %s has joined the server", aname);
		SendClientMessageToAll(COLOR_DEADCONNECT, astr);
	}
	return 1;
}
Reply


Messages In This Thread
Admin joining message - by KillerDVX - 07.06.2015, 09:17
Re: Admin joining message - by GTLS - 07.06.2015, 09:21
Re: Admin joining message - by JaydenJason - 07.06.2015, 09:26
Re: Admin joining message - by GTLS - 07.06.2015, 09:30
Re: Admin joining message - by dionisak0s - 07.06.2015, 09:30
Re: Admin joining message - by GTLS - 07.06.2015, 09:32
Re: Admin joining message - by NoDi522 - 07.06.2015, 09:34
Re : Admin joining message - by KillerDVX - 07.06.2015, 09:34
Re: Admin joining message - by dionisak0s - 07.06.2015, 09:35
Re: Re : Admin joining message - by GTLS - 07.06.2015, 09:38

Forum Jump:


Users browsing this thread: 2 Guest(s)