Bubble "Administrator"
#4

Код:
on the top of your gamemode

new Admin,

and this in onplayercommandtext

if(strcmp("/admin", cmdtextm, true, 10) == 0)
{
	if (IsPlayerAdmin(playerid) == 1) // for the Rcon admin
	{
		if (Admin == 0) return Admin = 1, SetTimer("OnPlayerUpdate", 10, 0); //starts the Admin Bubble
	}
	return 1;
}

and in OnPlayerUpdate

public OnPlayerUpdate(playerid)
{
	if (Admin == 1)
	{
		SetPlayerChatBubble(playerid,"Administrator", Color, 25, 10000)
	}
 	return 1;
}
i donґt tested it but i think it will work
Reply


Messages In This Thread
Bubble "Administrator" - by ShadowRazor - 01.04.2010, 22:37
Re: Bubble "Administrator" - by ]Neo[ - 01.04.2010, 23:25
Re: Bubble "Administrator" - by ShadowRazor - 01.04.2010, 23:32
Re: Bubble "Administrator" - by ]Neo[ - 02.04.2010, 00:20
Re: Bubble "Administrator" - by Headshot1108 - 02.04.2010, 00:26
Re: Bubble "Administrator" - by bauer123 - 02.04.2010, 00:32
Re: Bubble "Administrator" - by Krozz - 02.04.2010, 01:24
Re: Bubble "Administrator" - by bauer123 - 02.04.2010, 20:31

Forum Jump:


Users browsing this thread: 2 Guest(s)