01.06.2015, 16:11
Hi, I made a checkpoint and whenever players go to this checkpoint so they get a textdraw
like
1. 9mm
2. ak47
3. m4
But when i type "1" it doesn't let me buy 9mm. So, I want if player go to this checkpoint and get textdraw and when they type "1" they should get number one thing for example if i type "1" so i should get 9mm.
Idk how to do this. anyone help me?
Here's my code.
As you can see when player enters "pizzarob" checkpoint so they get pizaabox textdraw but they type "1" or "2" they get nothing. Anyone help me?
like
1. 9mm
2. ak47
3. m4
But when i type "1" it doesn't let me buy 9mm. So, I want if player go to this checkpoint and get textdraw and when they type "1" they should get number one thing for example if i type "1" so i should get 9mm.
Idk how to do this. anyone help me?
Here's my code.
PHP код:
if(checkpointid == PizzaRob)
{
SendClientMessage(playerid, GRIS, "Type /robstore to this store.");
TextDrawShowForPlayer(playerid, pizzabox);
TextDrawShowForPlayer(playerid, pizza);
}