Crashing on SendClientMessage?
#2

something like this, try if works

pawn Код:
Dialog_SelectConvoy(playerid, response, listitem)
{
    // Just close the dialog if the player clicked "Cancel"
    if(!response) return 1;

    // Setup local variables
    new Convoy;

    // The convoy-id is automatically the listitem
    Convoy = listitem;

    // Check the status of the selected convoy to determine what to do
    switch (AConvoys[Convoy][Status2])
    {
        case CONVOY_EMPTY: Convoy_Create(playerid, Convoy);
        case CONVOY_OPEN: Convoy_Join(playerid, Convoy);
        case CONVOY_FULL: SendClientMessage(playerid, 0xFFFFFFFF, "Convoy is full!");
        case CONVOY_CLOSED: SendClientMessage(playerid, 0xFFFFFFFF, "Convoy is already on en-route to it's destination");
     
    }

    return 1;
}
Reply


Messages In This Thread
Crashing on SendClientMessage? - by thimo - 10.08.2013, 19:05
Re: Crashing on SendClientMessage? - by PT - 10.08.2013, 19:46
Re: Crashing on SendClientMessage? - by dEcooR - 10.08.2013, 19:51
Re: Crashing on SendClientMessage? - by thimo - 11.08.2013, 07:59
Re: Crashing on SendClientMessage? - by -Prodigy- - 11.08.2013, 08:42

Forum Jump:


Users browsing this thread: 1 Guest(s)