Incognito Streamer CreateDynamicCP - 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: Incognito Streamer CreateDynamicCP (
/showthread.php?tid=605683)
Incognito Streamer CreateDynamicCP -
colonel-top - 23.04.2016
PHP код:
#define MAX_CP 35
#define CPSize 1.4
new Checkpoint[MAX_CP];
public OnFilterScriptInit()
{
Checkpoint[0]= CreateDynamicCP(2070.5959,-1928.3036,1912.3145,CPSize);
Checkpoint[1]= CreateDynamicCP(2057.1709,-1925.1051,1912.3145,CPSize);
Checkpoint[2]= CreateDynamicCP(248.4305,1783.4719,701.0859,CPSize);
Checkpoint[3]= CreateDynamicCP(252.3302,1779.2230,701.0859,CPSize);
.
.
.
blah blah
return 1;
}
But When DynamicCP created it's always too low (my map are custom maps) so it's on original map even I try to move up Z Axis its still on ground
if I added too high its show me nothing
Note* : I've updated Streamer To Lastest Version Compile with no error and problems even change version still same
Anyone can fix ?
Thank you in Advance ^^
Re: Incognito Streamer CreateDynamicCP -
[WSF]ThA_Devil - 23.04.2016
In my testing experience, the checkpoints couldn't be placed on objects properly (except the race checkpoints).