04.09.2013, 19:02
It's like you forgot to actually change it to:
like I told you before!
From the picture, it's like missing a bracket before the next dialog id.
pawn Код:
if(listitem == 0)
From the picture, it's like missing a bracket before the next dialog id.
pawn Код:
if(dialogid == DIALOG_SELL)
{
if(response) // Button 1
{
if(listitem == 0)
{
if(MeatRob[playerid] == 1)
{
GetPlayerMoney(playerid);
GivePlayerMoney(playerid, 3000);
SendClientMessage(playerid, Green, "You sold meet, you got 3000$!");
MeatRob[playerid]=1;
}
else
{
SendClientMessage(playerid, Green, "You don't have any meat to sell");
}
return 1;
}
if(listitem == 1)
{
SendClientMessage(playerid, Green, "Should display the third altenative (Commands)");
}
return 1;
}
} // Do you close this?