13 Errors :(
#4

pawn Код:
SendClientMessage(playerid, "You loaded your truck !")
Replace this line with this:

pawn Код:
SendClientMessage(playerid, COLOR_GREEN, "You loaded your truck !");
And replace the dialog things with this:

pawn Код:
if(response)// They pressed the first button.
    {
    switch(dialogid, 2)
        {
        case 1:// Our dialog!
            {
            switch(listitem)// Checking which listitem was selected
                {
                case 0:// Weapons
                {
                    SetPlayerCheckpoint(playerid, -322.9266,821.1814,14.2874, 5.0);
                    SendClientMessage(playerid, COLOR_YELLOW, "You have loaded some Weapon crates.)");
                }
                case 1: // Liquor
                {
                    SetPlayerCheckpoint(playerid, -182.8844,1034.1738,19.7422, 5.0);
                    SendClientMessage(playerid, COLOR_YELLOW, "You have loaded some Liquor crates.");
                }
                case 2: // Potatoes
                {
                    SetPlayerCheckpoint(playerid, -142.8067,1222.1426, 5.0);
                    SendClientMessage(playerid, COLOR_YELLOW, "You have loaded some Potato crates .");
                }
            }
        }
   }
}
return 1;
and tell what you get..
Reply


Messages In This Thread
13 Errors :( - by JoroApostolov - 10.02.2013, 10:52
Re: 13 Errors :( - by Bikken - 10.02.2013, 10:53
Re: 13 Errors :( - by JoroApostolov - 10.02.2013, 10:55
Re: 13 Errors :( - by SilverKiller - 10.02.2013, 10:57
Re: 13 Errors :( - by JoroApostolov - 10.02.2013, 11:00
Re: 13 Errors :( - by SilverKiller - 10.02.2013, 11:06
Re: 13 Errors :( - by JoroApostolov - 10.02.2013, 11:20
Re: 13 Errors :( - by SilverKiller - 10.02.2013, 11:34

Forum Jump:


Users browsing this thread: 1 Guest(s)