11.10.2016, 01:13
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
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;
}