08.01.2015, 20:05
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
{
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