Checkout Help!
#1

I'm having the following problem

Код:
Dialog:Checkout(playerid, response, listitem, inputtext[])
{
	new vehicle = GetPlayerVehicleID(playerid);
	if(response)
		{
		    GivePlayerMoney(playerid, -Checkout);
		    SCM(playerid, -1, "Text");
		    if(Radio == 1)
			{
		 		PlayerInfo[playerid][Radio] = 1;
			}
			else if(Toolbox == 1)
			{
			    SCM(playerid, -1, "Tralalalala");
			}
		    
		}
		else
		{
		    Checkout = 0;
		}
		return 1;
}
Tralalalala is now showing, how to make it show up?
Reply
#2

Wtf dialog is that thing? I think this is not PAWN or just I have not seen such a thing
Reply
#3

It is pawn, called easydialogs, makes your life more simple! anything else is the same
Reply
#4

Really no one? +rep
Reply
#5

What do u mean? if u have one radio it stays one when u buy it again?
Reply
#6

Код:
Dialog:Checkout(playerid, response, listitem, inputtext[])
{
	new vehicle = GetPlayerVehicleID(playerid);
	if(response)
		{
		    GivePlayerMoney(playerid, -Checkout);
		    SCM(playerid, -1, "Text");
		    if(Radio == 1)
			{
		 		PlayerInfo[playerid][Radio] = 1;
			}
			else if(Toolbox == 1)
			{
			    SCM(playerid, -1, "Tralalalala");
			}
		    
		}
		else
		{
		    Checkout = 0;
		}
		return 1;
}
How to make tat Tralalalalala show as well?
Reply
#7

pawn Код:
Dialog:Checkout(playerid, response, listitem, inputtext[])
{
    new vehicle = GetPlayerVehicleID(playerid);
    if(response)
        {
            GivePlayerMoney(playerid, -Checkout);
            SCM(playerid, -1, "Text");
            if(Radio == 1)
            {
                PlayerInfo[playerid][Radio] = 1;
            }
            if(Toolbox == 1)
            {
                SCM(playerid, -1, "Tralalalala");
            }
           
        }
        else
        {
            Checkout = 0;
        }
        return 1;
}
he should have toolbox = 1
Reply
#8

U made me laugh

Still looking for help
Reply
#9

Quote:

Dialog:Checkout(playerid, response, listitem, inputtext[])
{
new vehicle = GetPlayerVehicleID(playerid);
if(response)
{
GivePlayerMoney(playerid, -Checkout);
SCM(playerid, -1, "Text");
if(Radio == 1)
{
PlayerInfo[playerid][Radio] = 1;
}
if(Toolbox == 1)
{
SCM(playerid, -1, "Tralalalala");
}

}
else
{
Checkout = 0;
}
return 1;
}

it must be somthing like this..
Remove "else" from
Quote:

else if(Toolbox == 1)

Reply
#10

Quote:
Originally Posted by Fred1993
Посмотреть сообщение
it must be somthing like this..
Remove "else" from
I already told him that read the replies
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)