SA-MP Forums Archive
Smaller Checkpoints... - 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)
+--- Thread: Smaller Checkpoints... (/showthread.php?tid=417715)



Smaller Checkpoints... - Ryan_Undering - 22.02.2013

Alright, so you've probably been asked this a lot, but I'm not sure how to do it.. I'm using the Vortex Roleplay 2.0 script and been scripting a custom delivery job... the only problem is, I can't figure out how to make a 'small' checkpoint like the ones you get in Singleplayer...

SetPlayerCheckpoint(playerid, XXX, XXX, XXX, 1.0);
SetPlayerCheckpoint(playerid, XXX, XXX, XXX, 20.0);

These both being large vehicle like checkpoints...

The reason I ask, is because I've tried doing the above, however rather than changing the actual size of the checkpoint, it simply changes the proximity detection.

I know it's probably something really simple but if you could help me out, that'd be fantastic


Re : Smaller Checkpoints... - DaRk_RaiN - 22.02.2013

Quote:
Originally Posted by Ryan_Undering
Посмотреть сообщение
However rather than changing the actual size of the checkpoint, it simply changes the proximity detection.
You'd have to use a checkpoint streamer.
I'd recommend this.
Код:
CreateDynamicCP(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);



Re: Smaller Checkpoints... - Maraudeur - 22.02.2013

Use the streamer plugin instead, alot better.
Parameters
pawn Код:
(playerid, Float:x, Float:y, Float:z, Float:size)
EDIT: wow, i'm really slow at posting :P


Re: Smaller Checkpoints... - Ryan_Undering - 22.02.2013

Quote:
Originally Posted by DaRk_RaiN
Посмотреть сообщение
You'd have to use a checkpoint streamer.
Quote:
Originally Posted by Maraudeur
Посмотреть сообщение
Use the streamer plugin instead, alot better.
Ohey, that's a lot easier. Thanks guys!!