TextDrawSetString
#2

Quote:
Originally Posted by AnonScripter
Посмотреть сообщение
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:

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);
}
you're messing TextDrawShowForPlayer
Reply


Messages In This Thread
TextDrawSetString - by AnonScripter - 16.12.2013, 07:43
Re: TextDrawSetString - by Sawalha - 16.12.2013, 09:15
Re: TextDrawSetString - by ]Rafaellos[ - 16.12.2013, 09:36
Re: TextDrawSetString - by Zex Tan - 16.12.2013, 12:05
Re: TextDrawSetString - by AnonScripter - 16.12.2013, 12:45
Re: TextDrawSetString - by ]Rafaellos[ - 16.12.2013, 13:29
Re: TextDrawSetString - by AnonScripter - 16.12.2013, 13:40
Re: TextDrawSetString - by newbie scripter - 16.12.2013, 13:47
Re: TextDrawSetString - by AnonScripter - 16.12.2013, 13:58
Re: TextDrawSetString - by newbie scripter - 16.12.2013, 14:20

Forum Jump:


Users browsing this thread: 8 Guest(s)