Add to Admin List upon connect
#1

Well I was wondering what I can script to make it so admins appear on the list upon connect.
This is what I have for an admin to add themselves to the list. But, they must type /turn then select appear in admin list.

Код:
	else if(PlayerInfo[playerid][pAppearList] == 0)
					{
					   	PlayerInfo[playerid][pAppearList] = 1;
				        SendClientMessage(playerid, COLOR_GREY, "* You have added yourself from the Online Admin List!");
				        format(string, sizeof(string), "[ADMIN]: %s has added himself from the Online Admin List.",sendername);
				        ABroadCast(COLOR_LIGHTRED, string, 5);
					}

I was thinking That maybe I could add like a function under,
OnPlayerConnect
Reply


Messages In This Thread
Add to Admin List upon connect - by Joshman543 - 08.10.2012, 23:31
Re: Add to Admin List upon connect - by ikbenremco - 09.10.2012, 05:09
Re: Add to Admin List upon connect - by zT KiNgKoNg - 09.10.2012, 10:02

Forum Jump:


Users browsing this thread: 1 Guest(s)