Checkpoints keep changing sizes itself - 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: Checkpoints keep changing sizes itself (
/showthread.php?tid=550926)
Checkpoints keep changing sizes itself -
FunnyBear - 15.12.2014
Hey,
I've been having trouble with the checkpoints in my server. I'm using Incognito's streamer. The checkpoints keep changing sizes even though its assigned to a size in the script. For example, my swat checkpoint is supposed to be small. Then it becomes huge, and after I respawn, it goes back to its normal size. This happens to nearly all of the checkpoints around my server.
Here is my swat checkpoint line,
pawn Код:
SwatCheck = CreateDynamicCP( 1356.2701, -1665.1693, 13.6106, 2.0, .interiorid = 0 );
How am I able to fix this problem?
Thank you,
FunnyBear
Re: Checkpoints keep changing sizes itself -
FunnyBear - 20.12.2014
Any help?
Re: Checkpoints keep changing sizes itself -
FunnyBear - 25.01.2015
Bump (More than 24 hours)
Re: Checkpoints keep changing sizes itself -
zaibaslr2 - 25.01.2015
Код:
native CreateDynamicCP(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
Check the original native, I'm not sure what ".interiorid = 0" means in your script.
Re: Checkpoints keep changing sizes itself -
ATGOggy - 25.01.2015
Quote:
Originally Posted by zaibaslr2
Код:
native CreateDynamicCP(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
Check the original native, I'm not sure what ".interiorid = 0" means in your script.
|
He is using ".interior = 0" bcz he need to skip the arguments before it. Here, he need to skip worldid.
Try this:
PHP код:
SwatCheck = CreateDynamicCP( 1356.2701, -1665.1693, 13.6106, 2, -1, 0, -1, 100);