04.09.2013, 19:05
CHANGE.
TO
It's will work normaly.
pawn Код:
if listitem == 0)
pawn Код:
if(listitem == 0)
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;
}
} // you forgot that one

