23.06.2016, 20:32
Quote:
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. |
Код:
C:\Users\Fishy\Desktop\New folder (2)\gamemodes\ROLEPLAY.pwn(58) : error 010: invalid function or declaration
Код:
new PizzamanCPs[8]; PizzamanCps[0] = SetPlayerCheckpoint(playerid, 2236.3997,167.3553,28.1535, 3.0);