Dialog Response
#10

Yea dude, you really need to learn to use ****** and learn to script

But since I'm not entirely an asshole, here, this is an example:

pawn Код:
// Somewhere not in a function.  Global Variable
new ActiveCheckpoint[MAX_PLAYERS];

//Wherever you want to set the checkpoint
ActiveCheckpoint[playerid] = 1;
SetPlayerCheckpoint(playerid, -2034.9296, 178.9917, 28.8429, 3.0);

//The OnPlayerEnterCheckpoint Function

public OnPlayerEnterCheckpoint(playerid)
{
    if(ActiveCheckpoint[playerid] == 1)
    {
        //if they enter the checkpoint you set
        ShowPlayerDialog(blablabla); //Your dialog here to open
    }
    return 1;
}
Reply


Messages In This Thread
Dialog Response - by Tuntun - 20.06.2013, 19:39
Re: Dialog Response - by Kindred - 20.06.2013, 19:42
Re: Dialog Response - by SwisherSweet - 20.06.2013, 19:42
Re: Dialog Response - by Tuntun - 20.06.2013, 19:44
Re: Dialog Response - by SwisherSweet - 20.06.2013, 19:45
Re: Dialog Response - by Kindred - 20.06.2013, 19:46
Re: Dialog Response - by SwisherSweet - 20.06.2013, 19:47
Re: Dialog Response - by Tuntun - 20.06.2013, 19:48
Re: Dialog Response - by SwisherSweet - 20.06.2013, 19:53
Re: Dialog Response - by Kindred - 20.06.2013, 19:59

Forum Jump:


Users browsing this thread: 1 Guest(s)