//=====CHECKPOINT========= #define CP_HPARMOR 1 #define CP_AA 2 #define CP_STUFF //======================== //=================================================CP========================== new playerCheckpoint[MAX_PLAYERS]; //==forward======================================== forward getCheckpointType(playerID); forward isPlayerInArea(playerID, Float:data[4]); forward checkpointUpdate(); //=============endforward============================ #define MAX_POINTS 3 new Float:checkCoords[MAX_POINTS][4] = { {2037.3795,1097.5640,1844.9213,1457.1887}, //hp armor {2046.4912,1718.2151,2337.2813,2030.2651}, //CP_STUFF {1894.6128,1445.3431, 2084.9739,1637.8186} //PIRATE }; new Float:checkpoints[MAX_POINTS][3] = { {2009.9520,1229.1394,10.8203}, {2185.6626,1839.1710,11.0000}, {2000.3132,1538.6012,13.5859} }; new checkpointType[MAX_POINTS] = { CP_HPARMOR, CP_STUFF, CP_AA };