DIALOG LIST HELP
#1

Hey guys, i got a mind block atm help me out thanks

Код:
if(dialogid == BACKPACK1)
	{
	    if(response)
	    {
			if(listitem == 1)
			{
			    if(PlayerInfo[playerid][pFishingRod] > 0)
				{
			    	SendClientMessage(playerid, COLOR_WHITE, "INFO: You need to use /fish command");
				}
				else
				{
				    SendClientMessage(playerid, COLOR_WHITE, "INFO: You do not have any nets to use");
				}
			}
			if(listitem == 2)
			{
			    if(PlayerInfo[playerid][pFishingNet] > 0)
				{
			    	CreateDroppableItem(playerid);
			    	PlayerInfo[playerid][pFishingNet] -=1;
			    	SendClientMessage(playerid, COLOR_WHITE, "INFO: You have dropped a net onto the ground");
			    }
			    else
			    {
			        SendClientMessage(playerid, COLOR_WHITE, "INFO: You do not have any nets to drop");
				}
			}
		}
	}
Reply


Messages In This Thread
DIALOG LIST HELP - by Slaykler - 24.04.2013, 04:10
Re: DIALOG LIST HELP - by Goldilox - 24.04.2013, 04:18
AW: DIALOG LIST HELP - by [AK]Nazgul - 24.04.2013, 04:27
Re: DIALOG LIST HELP - by Unte99 - 24.04.2013, 04:44
Re: DIALOG LIST HELP - by Slaykler - 24.04.2013, 09:27

Forum Jump:


Users browsing this thread: 1 Guest(s)