[HELP] Dialog
#6

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;
}
I mean, OnPlayerPickUpPickup is called when you picked up any pickup, but you're not put pickupid there, so the dialog wont come.
Reply


Messages In This Thread
[HELP] Dialog - by monster010 - 30.03.2014, 15:23
Re: [HELP] Dialog - by RenovanZ - 30.03.2014, 15:27
Re: [HELP] Dialog - by monster010 - 30.03.2014, 15:30
Re: [HELP] Dialog - by RenovanZ - 30.03.2014, 15:35
Re: [HELP] Dialog - by monster010 - 30.03.2014, 15:36
Re: [HELP] Dialog - by RenovanZ - 30.03.2014, 15:44

Forum Jump:


Users browsing this thread: 1 Guest(s)