16.12.2013, 07:43
hey all, i made a command for showing player's inventory, but when he type the command it doesn't show his skill,
can somebody tell me what's wrong of this:
can somebody tell me what's wrong of this:
pawn Код:
#define Rapist 1
forward UpdateInventory(playerid);
public UpdateInventory(playerid)
{
new string[128];
new pskill[MAX_PLAYERS char];
if(PlayerInfo[playerid][pSkill] == 1)
{
pskill[playerid] = Rapist;
}
format(string, sizeof string, "Skill: %s", pskill);
TextDrawSetString(InvList, string);
}