21.05.2011, 19:07
^^ that's right Vince.
CurrentCP of playerid will be 7 but DestroyDynamicCP requires checkpointid, which is supposed to be an number of the checkpoint that you've create using CreateDynamicCP.
using
and then
it may work.
CurrentCP of playerid will be 7 but DestroyDynamicCP requires checkpointid, which is supposed to be an number of the checkpoint that you've create using CreateDynamicCP.
using
pawn Код:
CurrentCP[playerid] = CreateDynamicCP(1608.5857,-1497.2982,13.2395,10.0,-1,-1,playerid,100.0);
pawn Код:
DestroyDynamicCP(CurrentCP[playerid]);