SA-MP Forums Archive
CP Help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: CP Help (/showthread.php?tid=200685)



CP Help - Tee - 19.12.2010

I made a driving license but i wanted to create the CP when another one is entered. Instead of creating all the cps when the take the test.

Example: If i enter CP 1 it gets disabled and CP 2 gets created.

It wont work. I use OnPlayerEnterDynamicCP to disable the CP and create the new one but it won't work.


Re: CP Help - akis_tze - 19.12.2010

Don't use OnPlayerEnterDynamicCP if that don't work . Use the default checkpoints


Re: CP Help - Blatnoi - 19.12.2010

i see you use incognito

Race Checkpoints:
pawn Код:
native CreateDynamicRaceCP(type, Float:x, Float:y, Float:z, Float:nextx, Float:nexty, Float:nextz, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 100.0);
native DestroyDynamicRaceCP(checkpointid);
native IsValidDynamicRaceCP(checkpointid);
native TogglePlayerDynamicRaceCP(playerid, checkpointid, toggle);
native TogglePlayerAllDynamicRaceCPs(playerid, toggle);
native IsPlayerInDynamicRaceCP(playerid, checkpointid);
native DestroyAllDynamicRaceCPs();
native CountDynamicRaceCPs();