23.06.2016, 20:18
new PizzamanCPs[8];
PizzamanCps[0] = SetPlayerCheckpoint(parameters here); //Create The Checkpoint
PizzamanCps[1] = SetPlayerCheckpoint(x,y,z); //Same
PizzamanCps[2] = SetPlayerCheckpoint();
PizzamanCps[3] = SetPlayerCheckpoint();
PizzamanCps[4] = SetPlayerCheckpoint();
PizzamanCps[5] = SetPlayerCheckpoint();
PizzamanCps[6] = SetPlayerCheckpoint();
PizzamanCps[7] = SetPlayerCheckpoint();
PizzamanCps[8] = SetPlayerCheckpoint();
public OnPlayerEnterDynamicCheckpoint(playerid)
{
if(CheckPoint = PizzamanCPs[0]);
{
//do blablabla
}
return 1;
}
just add parameters.
PizzamanCps[0] = SetPlayerCheckpoint(parameters here); //Create The Checkpoint
PizzamanCps[1] = SetPlayerCheckpoint(x,y,z); //Same
PizzamanCps[2] = SetPlayerCheckpoint();
PizzamanCps[3] = SetPlayerCheckpoint();
PizzamanCps[4] = SetPlayerCheckpoint();
PizzamanCps[5] = SetPlayerCheckpoint();
PizzamanCps[6] = SetPlayerCheckpoint();
PizzamanCps[7] = SetPlayerCheckpoint();
PizzamanCps[8] = SetPlayerCheckpoint();
public OnPlayerEnterDynamicCheckpoint(playerid)
{
if(CheckPoint = PizzamanCPs[0]);
{
//do blablabla
}
return 1;
}
just add parameters.