20.06.2013, 19:59
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:
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;
}