23.06.2016, 19:31
PHP код:
new PizzamanCPs[8];
PizzamanCps[0] = SetPlayerCheckpoint(); //Create The Checkpoint
PizzamanCps[1] = SetPlayerCheckpoint(); //Same
PizzamanCps[2] = SetPlayerCheckpoint();
PizzamanCps[3] = SetPlayerCheckpoint();
PizzamanCps[4] = SetPlayerCheckpoint();
PizzamanCps[5] = SetPlayerCheckpoint();
PizzamanCps[6] = SetPlayerCheckpoint();
PizzamanCps[7] = SetPlayerCheckpoint();
PizzamanCps[8] = SetPlayerCheckpoint();
public OnPlayerEnterCheckpoint(playerid)
{
if(CheckPoint = PizzamanCPs[0]);
{
//do blablabla
}
return 1;
}