Posts: 31
Threads: 13
Joined: Mar 2014
Reputation:
0
I want to make a Checkpoint but I want it for Checkpoint to appear when player is in range of point that i put. When I enter a Checkpoint I don't want it to dissapear, I want the checkpoint to dissapear when I move away from it, can someone please help me? :P
Posts: 31
Threads: 13
Joined: Mar 2014
Reputation:
0
for(new k = 0; k < sizeof(KucaInfo); k++)
{
new kFile[80];
format(kFile, sizeof(kFile), KUCE_FILE, k);
if(fexist(kFile))
if(IsPlayerInRangeOfPoint(playerid, 2.0, KucaInfo[k][kUlazX], KucaInfo[k][kUlazY], KucaInfo[k][kUlazZ]) && CP[playerid] == 0)
{
CreateDynamicCP(KucaInfo[k][kUlazX], KucaInfo[k][kUlazY], KucaInfo[k][kUlazZ], 1.5, -1, -1, -1, 20.0);
}
}
I did this but It doesn't dissapear when I move away, can you send me what to do please