Quote:
Originally Posted by jamesbond007
pawn Код:
command(givebadge, playerid, params[]) { new id, badge, string[255]; if(!sscanf(params, "ds", id, badge)) { if((Player[playerid][Group] == 1 || Player[playerid][Group] == 4) && Player[playerid][GroupRank] >= 7) { Player[id][BadgeNumber] = badge; format(string, sizeof(string), "You have given %s the badge number %s", GetName(id), badge); SendClientMessage(playerid, WHITE, string); format(string, sizeof(string), "%s has changed your badge number to %s", GetName(playerid), badge); SendClientMessage(id, WHITE, string); } } else return SendClientMessage(playerid, WHITE, "SYNTAX: /givebadge [playerid] [badge]"); }
try this...
|
It still happens. That didnt fix it