29.09.2012, 06:57
Can you show us your command for ban or kick?
Else try.
Else try.
pawn Код:
CMD:tag(playerid, params[])
{
if(IsPlayerAdmin(playerid)
{
new player, tagname[20];
if(sscanf(params, "us", player, tagname)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /tag [Playerid] [Tag]");
new str[128], name[MAX_PLAYER_NAME];
GetPlayerName(player, name, sizeof(name));
format(str, sizeof(str), "[%s]%s", tagname, name);
SetPlayerName(player, str);
return 1;
}
else
{
SendClientMessage(playerid, WHITE,"You must login as administrator");
}
}