Quote:
Originally Posted by WhiteGhost
PHP код:
new PizzamanCPs[8];
PizzamanCps[0] = CCP(); //Create The Checkpoint
PizzamanCps[1] = CCP(); //Same
PizzamanCps[2] = CCP();
PizzamanCps[3] = CCP();
PizzamanCps[4] = CCP();
PizzamanCps[5] = CCP();
PizzamanCps[6] = CCP();
PizzamanCps[7] = CCP();
PizzamanCps[8] = CCP();
public OnPlayerEnterCheckpoint(playerid)
{
if(CheckPoint = PizzamanCPs[0]);
{
//do blablabla
}
return 1;
}
Like that?
|
You must define CCP, because when I put the Checkpoint cords it says invaild function or declaration, so no.
It's like making a function that doesn't exist.