07.10.2011, 14:18
(
Последний раз редактировалось Ehab1911; 07.10.2011 в 20:20.
)
EDIT:
I made this now:
BUT STILL!! IT GIVES ME 3 WARNINGS:
I made this now:
pawn Код:
if(strcmp(cmd, "/aduty", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] == 0)
{
new adName[100];
GetPlayerName(playerid, adName, sizeof(adName));
format(string, sizeof(string), "%s has went on admin duty.", adName);
SendClientMessageToAll(COLOR_GREEN, string);
adutytext = Create3DTextLabel("{F81414}ADMIN DUTY", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(adutytext, playerid, 0.0, 0.0, 0.7);
}
else
{
new adName[100];
GetPlayerName(playerid, adName, sizeof(adName));
format(string, sizeof(string), "%s has went off admin duty.", adName);
SendClientMessageToAll(COLOR_WHITE, string);
Delete3DTextLabel(adutytext);
return 1;
}
}
pawn Код:
warning 213: tag mismatch

