30.03.2014, 15:44
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(PlayerToPoint(1.0,playerid,314.2588,-133.3436,999.6016) || PlayerToPoint(1.0,playerid,312.1760,-166.1416,999.6010))
{
ShowPlayerDialog(playerid, 9191, DIALOG_STYLE_LIST, "Gun Shop", "Flowers\nSilenced 9mm\nDesert Eagle\nShotgun\nMP5\nM4", "Ok", "Iesire");
return 1;
}
if(PlayerToPoint(1.0,playerid,369.3535,-6.0220,1001.8516) || PlayerToPoint(1.0,playerid,373.6409,-118.8025,1001.4922) || PlayerToPoint(1.0,playerid,375.6083,-67.4368,1001.5078))
{
ShowPlayerDialog(playerid, 9090, DIALOG_STYLE_LIST, "Burger Shop", "Pepsi - {00FF00}5$\n{FFFFFF}Fanta - {00FF00}5$\n{FFFFFF}Cola - {00FF00}5$\n{FFFFFF}Cartofi prajiti - {00FF00}15$\n{FFFFFF}Hamburger - {00FF00}25$\n{FFFFFF}Dublu-Hamburger - {00FF00}30$", "Ok", "Iesire");
return 1;
}
return 1;
}