Car-House system problem
#2

insted of useing there dialogid keep a real id like
pawn Код:
#define DIALOG_HOUSE 0
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(newstate == PLAYER_STATE_DRIVER)
    {
    for(new i = 0; i<sizeof(grotticars);i++)
    {
    if(GetPlayerVehicleID(playerid) == grotticars[i])
    {
        OnDialogResponse(playerid,DIALOG_HOUSE, response, listitem, inputtext[]) //somewhere there must be error
    }
    else
    {
    }
    }
    }
    return 1;
}
Reply


Messages In This Thread
Car-House system problem - by PAWNO-ANFДNGER - 26.10.2012, 09:47
Re: Car-House system problem - by Abhishek. - 26.10.2012, 09:49
AW: Car-House system problem - by PAWNO-ANFДNGER - 26.10.2012, 09:53
AW: Car-House system problem - by PAWNO-ANFДNGER - 26.10.2012, 09:55
Re: Car-House system problem - by ikbenremco - 26.10.2012, 11:42
AW: Car-House system problem - by PAWNO-ANFДNGER - 26.10.2012, 11:44
AW: Car-House system problem - by PAWNO-ANFДNGER - 26.10.2012, 12:20

Forum Jump:


Users browsing this thread: 3 Guest(s)