05.10.2013, 15:29
Hello guys, I've been trying to solve this problem, it seems I can't solve it and I don't know what's the solution. for some reason the checkpoint won't show up.
Global Variable
Callback OnGameModeInit
Loading All Dynamic Checkpoints
Global Variable
pawn Код:
eCheckpoints[13]
pawn Код:
public OnGameModeInit()
{
LoadDynamicCheckpoints();
return 1;
}
pawn Код:
stock LoadDynamicCheckpoints()
{
eCheckpoints[0] = CreateDynamicCP(2316.6204,-9.9606,26.7422, 2.5, -1, -1, -1, 5.0);//Bank (Robbery)
eCheckpoints[1] = CreateDynamicCP(371.4173,-6.5080,1001.8589, 2.5, -1, -1, -1, 5.0);//Cluckin Bell (Robbery)
eCheckpoints[2] = CreateDynamicCP(288.1011,-109.1613,1001.5156, 2.5, -1, -1, -1, 5.0);//Ammunation (Robbery)
eCheckpoints[3] = CreateDynamicCP(379.0900,-59.5578,1001.5078, 2.5, -1, -1, -1, 25.0);//BurgerShot (Robbery)
eCheckpoints[4] = CreateDynamicCP(1751.157226,-1943.755493,13.569130, 2.5, -1, -1, -1, 5.0);//Train Station (Robbery)
eCheckpoints[5] = CreateDynamicCP(-27.9365,-89.8221,1003.5469, 2.5, -1, -1, -1, 5.0);//24/7 (Robbery)
eCheckpoints[6] = CreateDynamicCP(207.6706,-100.4456,1005.2578, 2.5, -1, -1, -1, 5.0);//Binco (Robbery)
eCheckpoints[7] = CreateDynamicCP(-201.9816,-6.7806,1002.2734, 2.5, -1, -1, -1, 5.0);//Tatto (Robbery)
eCheckpoints[8] = CreateDynamicCP(421.7499,-77.9992,1001.8047, 2.5, -1, -1, -1, 5.0);//Barbers (Robbery)
eCheckpoints[9] = CreateDynamicCP(768.1869,-36.7178,1000.6865 , 2.5, -1, -1, -1, 5.0);//GYM (Robbery)
eCheckpoints[10] = CreateDynamicCP(376.1315,-114.9049,1001.4922, 2.5, -1, -1, -1, 5.0);//Well stack pizza (Robbery)
eCheckpoints[11] = CreateDynamicCP(1964.1036,-350.3213,1097.197, 2.5, -1, -1, -1, 5.0);//Church (Robbery)
new
string[ 43 ]
;
format(string, sizeof(string), "Number of Dynamic Checkpoint Loaded: %i", CountDynamicCPs());
print(string);
}