02.04.2010, 00:20
Код:
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; }
