SA-MP Forums Archive
Could someone help me? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Could someone help me? (/showthread.php?tid=250689)



Could someone help me? - Cjgogo - 24.04.2011

I don't udnerstand very well how Incognito's checkpoint streamer is working,I eman I downlaoded it and instaleld it as I should compiled and no erros but I don't udnerstand do I have to add the checkpoints or they are added( i don't udnerstand very well from the site)


Re: Could someone help me? - Stigg - 24.04.2011

You have to add them.

pawn Код:
CreateDynamicCP(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 100.0);
pawn Код:
CreateDynamicRaceCP(type, Float:x, Float:y, Float:z, Float:nextx, Float:nexty, Float:nextz, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 100.0);



Re: Could someone help me? - Cjgogo - 24.04.2011

where i am supossed to add them like this?

public OnPlaySpawn ()
{
SetPlayerCheckPoint(playerid,x,y,z,3);
return 1;
}
I did that but I still can see the checkpoint on map even if I'm not near it


Re: Could someone help me? - xir - 24.04.2011

CreateDynamicCP(Float, Float:y, Float:z, 4, -1, -1, -1, 100.0); // Then replace x,y,z with your coordinates


Re: Could someone help me? - Stigg - 24.04.2011

If it's a fs:
pawn Код:
public OnFilterScriptInit()
If it's a gm:
pawn Код:
public OnGameModeInit()
Use:
pawn Код:
CreateDynamicCP(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 100.0);



Re: Could someone help me? - Cjgogo - 24.04.2011

thanks evryone aprecciate help


Re: Could someone help me? - Stigg - 24.04.2011

Quote:
Originally Posted by Cjgogo
Посмотреть сообщение
thanks evryone aprecciate help
No prob's, glad we could help.