Checkpoint bug - 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: Checkpoint bug (
/showthread.php?tid=650349)
Checkpoint bug -
AstroPoid - 26.02.2018
the checkpoint doesn't placed on the place i had setted. for more illustration.
what exactly happening is , when checkpoint spawns. the checkpoint become downside the pos it supposed to be at. but doesn't effect with anything when i catch it, when i get over the place which i chosen to be checkpoint true pos (upside place) i get the menu. and the checkpoint become efficient.
any ideas, please?
Re: Checkpoint bug -
PepsiCola23 - 26.02.2018
Give us the code and try to explain bettet
Re: Checkpoint bug -
AstroPoid - 26.02.2018
Код:
public OnGameModeInit()
{
CreateDynamicCP(2237.7654, 2548.5410, 29.3060, 3);
}
Re: Checkpoint bug -
PepsiCola23 - 26.02.2018
what am i supposed to understand from this?
and the usage of CreateDynamicCP i think is this one
PHP код:
CreateDynamicCP(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid, Float:distance = 100.0);