24.08.2013, 05:11
hello guys i have a sensitive problem i have putted a two different commands /setkills and /setdeaths
ok /setdeaths its working fine but when i use /setkills so its showing only in /stats not in the score board i mean in TAB screen so can any one help me there is a code:
its working fine in /stats but its not shown up in TAB screen plz help me
ok /setdeaths its working fine but when i use /setkills so its showing only in /stats not in the score board i mean in TAB screen so can any one help me there is a code:
Quote:
CMD: setplayerkills(playerid,params[]) { if(PlayerInfo[playerid][pAdmin] >= 1) { new id,Jstring[128],kill; if(sscanf(params, "ui", id, kill)) return SendClientMessage(playerid, 0xFFFF00C8, "Usage: /Setkills <PlayerID> <kills>") ; if(IsPlayerConnected(id)) { format(Jstring, sizeof(Jstring), "Admin %s has set your kills to '%d'",GetName(playerid),kill); SendClientMessage(id,blue,Jstring); format(Jstring,sizeof(Jstring),"You have set %s's kills to %d", GetName(id), kill); SendClientMessage(playerid,COLOR_YELLOW,Jstring); return PlayerInfo[id][pKills] = kill; } else return SendClientMessage(playerid,blue,"Player is NOT connected!"); } else return WrongMessage(playerid, COLOR_RED, 1); } |