textdraw with shop failure
#1

hi i made shop with easy textdraw, i use the command the textdraw show but i wont get the thing i try to buy,

example if i do /shopmenu

the textdraw comes up

#1 health
#2 armor

etc

when i type 1 it sends it to the chat i dont get health..

this what i got

in the command /shopmenu

pawn Код:
Shop[playerid] = 1;
pawn Код:
public OnPlayerText(playerid, text[])
{
    if(Shop[playerid] == 1)
    {
        if(text[0] == '1')
        {
            if(armor[playerid] == 1)
            {
                SendClientMessage(playerid, COLOR_RED, "You can Only heal One Time Each spawn.");
                Shop[playerid] = 0;
            }
Reply


Messages In This Thread
textdraw with shop failure - by Ananisiki - 11.10.2016, 01:13
Re: textdraw with shop failure - by Kaliber - 11.10.2016, 01:53
Re: textdraw with shop failure - by Ananisiki - 12.10.2016, 01:35
Re: textdraw with shop failure - by azzerking - 12.10.2016, 01:48
Re: textdraw with shop failure - by Ananisiki - 12.10.2016, 19:25
Re: textdraw with shop failure - by azzerking - 12.10.2016, 21:44

Forum Jump:


Users browsing this thread: 1 Guest(s)