SA-MP Forums Archive
How to use it? - 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: How to use it? (/showthread.php?tid=635123)



How to use it? - akib - 01.06.2017

Hi,
How to use incognito's include "Streamer"

Function is:
Код:
CreateDynamicRaceCP(type, Float:x, Float:y, Float:z, Float:nextx, Float:nexty, Float:nextz, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_RACE_CP_SD, areaid = -1, priority = 0)
what should i type where??

If i do this it correct?
Код:
CreateDynamicRaceCP(type, Float:x, Float:y, Float:z, Float:nextx, Float:nexty, Float:nextz, Float:size)
but also a qus what i type in 'type'?


Re: How to use it? - Whatname - 01.06.2017

Type of the race checkpoint is like finish line normal race checkpoint or air race checkpoint

Types
0: normal race checkpoint
1: finish line
2:nothing
3: air race checkpoint
4: air race checkpoint finish

X y z: the pos of the race checkpoint
Nextx nexty nextz: next race checkpoint pos
Size: the size of the race checkpoint
Worldid: virtual world Id
Interior: interior id


Re: How to use it? - akib - 01.06.2017

Quote:
Originally Posted by Whatname
Посмотреть сообщение
Type of the race checkpoint is like finish line normal race checkpoint or air race checkpoint

Types
0: normal race checkpoint
1: finish line
2:nothing
3: air race checkpoint
4: air race checkpoint finish

X y z: the pos of the race checkpoint
Nextx nexty nextz: next race checkpoint pos
Size: the size of the race checkpoint
Worldid: virtual world Id
Interior: interior id
Please show me a example
And i wanna create only 2 check points start and finish
Make a example