fix it plz.
#8

Try this:

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    switch(dialogid) //This one looks up for the dialog id :)
    {
        case 1:
        {
            if(!response)
            {
                SendClientMessage(playerid, 0xFF0000FF, "Please select a spawn place.");
                return 1;
            }
             switch(listitem)
             {
                 case 0:
                 {
                    //Selected Item: "Las Venturas"
                    SetPlayerPos(playerid, 1320.9772,1269.0629,10.8436);
                 }
                 case 1:
                 {
                    //Selected Item: "Los Santos"
                    SetPlayerPos(playerid, 1981.7261,-2451.8857,13.5469);
                 }
                 case 2:
                 {
                    //Selected Item: "San Fierro"
                    SetPlayerPos(playerid, -1263.8750,25.1669,14.1484);
                 }
          }
If It didn't WORK Try this:

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == 1)
    {
        if(!response)
        {
        switch(listitem)
        {
            case 0:
            {
                //Selected Item: "Las Venturas"
                SetPlayerPos(playerid, 1320.9772,1269.0629,10.8436);
            }
            case 1:
            {
                //Selected Item: "Los Santos"
                SetPlayerPos(playerid, 1981.7261,-2451.8857,13.5469);
            }
            case 2:
            {
                //Selected Item: "San Fierro"
                SetPlayerPos(playerid, -1263.8750,25.1669,14.1484);
            }
        }

pawn Код:
C:\Users\Jot\Documents\SAMP\gamemodes\lvdm.pwn(928) : error 021: symbol already defined: "ShowPlayerDialog"
This one means that you defined " ShowPlayerDialog ".. You don't have to define it. Remove line 928
Reply


Messages In This Thread
fix it plz. - by jot16 - 30.10.2011, 21:29
Re: fix it plz. - by Stigg - 30.10.2011, 21:32
Re: fix it plz. - by sleepysnowflake - 30.10.2011, 21:32
Re: fix it plz. - by Xyrex - 30.10.2011, 21:33
Re: fix it plz. - by Stigg - 30.10.2011, 21:34
Re: fix it plz. - by sleepysnowflake - 30.10.2011, 21:37
Re: fix it plz. - by jot16 - 30.10.2011, 21:55
Re: fix it plz. - by American - 30.10.2011, 22:08
Re: fix it plz. - by Stigg - 30.10.2011, 22:12
Re: fix it plz. - by American - 30.10.2011, 22:26

Forum Jump:


Users browsing this thread: 1 Guest(s)