07.07.2014, 13:27
(
Последний раз редактировалось tuuler; 04.07.2015 в 01:24.
)
----
I only see the code where the checkpoint changes from "1" to "2", but not the rest until "19".
And also paste the creation of the first CP. |
SandkingCP[playerid][1] = CreateDynamicRaceCP(0, 333.7576,1152.8257,8.7779, 383.1623,1177.8622,8.3247, 5.0, -1, -1, playerid, 2000.0);
Maybe when creating "2", it's generating it with the same id that you had in "1", as you are destroying it.
So two options: 1) Create the next checkpoint before destroying the previous one 2) Clear the SandkingCP[playerid][X] variable after destroying the checkpoint (Or to make sure, use both) |