17.03.2016, 12:57
Hey guys,
I have a problem, When the player enters(Or Exit) checkpoint the animation is displayed, I want it to be deleted.
Part of the code Checkpoint:
=============================
//Checkpoint defines
#define CP_SFPDEnt 0
#define CP_SFPDExit 1
#define CP_DropOff 2
#define CP_BankEnt 3
=============================
new Float:checkCoords[MAX_POINTS][4] = {
{-1623.6704,710.2758,-1595.5138,726.3750}, //SFPDEnt
{233.7716,107.9433,259.8581,122.0880}, //SFPDExit
{-1628.7830,672.2675,-1586.4739,691.8566}, //DropOff
{-1527.6946,868.8881,-1492.1344,955.5516}, //BankEnt
=============================
new Float:checkpoints[MAX_POINTS][4] = {
{-1605.5288,712.4097,13.8714,3.0}, //SFPDEnt
{246.4093,109.0884,1003.2188,3.0}, //SFPDExit
{-1606.3319,673.9650,-5.2422,3.0}, //DropOff
{-1493.4175,920.0615,7.1875,3.0}, //BankEnt
=============================
new checkpointType[MAX_POINTS] = {
CP_SFPDEnt,
CP_SFPDExit,
CP_DropOff,
CP_BankEnt,
I have a problem, When the player enters(Or Exit) checkpoint the animation is displayed, I want it to be deleted.
Part of the code Checkpoint:
=============================
//Checkpoint defines
#define CP_SFPDEnt 0
#define CP_SFPDExit 1
#define CP_DropOff 2
#define CP_BankEnt 3
=============================
new Float:checkCoords[MAX_POINTS][4] = {
{-1623.6704,710.2758,-1595.5138,726.3750}, //SFPDEnt
{233.7716,107.9433,259.8581,122.0880}, //SFPDExit
{-1628.7830,672.2675,-1586.4739,691.8566}, //DropOff
{-1527.6946,868.8881,-1492.1344,955.5516}, //BankEnt
=============================
new Float:checkpoints[MAX_POINTS][4] = {
{-1605.5288,712.4097,13.8714,3.0}, //SFPDEnt
{246.4093,109.0884,1003.2188,3.0}, //SFPDExit
{-1606.3319,673.9650,-5.2422,3.0}, //DropOff
{-1493.4175,920.0615,7.1875,3.0}, //BankEnt
=============================
new checkpointType[MAX_POINTS] = {
CP_SFPDEnt,
CP_SFPDExit,
CP_DropOff,
CP_BankEnt,