07.06.2013, 15:33
Is this command is good or not if it isnt good can you make me better?
Sry for bad english :P
pawn Код:
if (strcmp(cmd, "/weaponskills", true)
{
format(string, sizeof(string), "Colt : %s", PlayerInfo[targetid][pPistSkill]);
SendClientMessage(playerid, COLOR_WHITE,string);
format(string, sizeof(string), "Silenced Colt : %s", PlayerInfo[targetid][pSilenSkill]);
SendClientMessage(playerid, COLOR_GRAD2,string);
format(string, sizeof(string), "Deagle : %s", PlayerInfo[targetid][pDesertSkill]);
SendClientMessage(playerid, COLOR_GRAD3,string);
format(string, sizeof(string), "Shotgun : %s", PlayerInfo[targetid][pShotgSkill]);
SendClientMessage(playerid, COLOR_GRAD4,string);
format(string, sizeof(string), "Sawn : %s", PlayerInfo[targetid][pSawnSkill]);
SendClientMessage(playerid, COLOR_GRAD5,string);
format(string, sizeof(string), "Combat : %s", PlayerInfo[targetid][pCombSkill]);
SendClientMessage(playerid, COLOR_GRAD5,string);
format(string, sizeof(string), "Uzi : %s", PlayerInfo[targetid][pUziSkill]);
SendClientMessage(playerid, COLOR_GRAD5,string);
format(string, sizeof(string), "Smg : %s", PlayerInfo[targetid][pSmgSkill]);
SendClientMessage(playerid, COLOR_GRAD5,string);
format(string, sizeof(string), "M4 : %s", PlayerInfo[targetid][pM4Skill]);
SendClientMessage(playerid, COLOR_GRAD5,string);
format(string, sizeof(string), "Ak47 : %s", PlayerInfo[targetid][pAkSkill]);
SendClientMessage(playerid, COLOR_GRAD5,string);
}