SA-MP Forums Archive
Checkpoint Doesnt show - 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 Doesnt show (/showthread.php?tid=404492)



Checkpoint Doesnt show - Patrick - 03.01.2013

But the checkpoint it doesnt show, its on four dragons casino, its a robbery checkpoint but when i try to do that, the checkpoint wouldn't show, please help,

PS: i have alot of checkpoint i only show that casino line

Define Of Checkpoint Casino i am making
pawn Код:
#define CP_Casino 44
Define Of Max_Points
pawn Код:
#define MAX_POINTS 45
Checking the coords
pawn Код:
new Float:checkCoords[MAX_POINTS][4] = {
{2000.7571,1017.8345,994.4688,90.0219}
};
Coords of Checkpoint
pawn Код:
new Float:checkpoints[MAX_POINTS][4] = {
{1993.7401,1017.8824,994.8906,3.0}
};
Checkpoint Type
pawn Код:
new checkpointType[MAX_POINTS] = {
CP_Casino
};



Re: Checkpoint Doesnt show - Dark Killer - 03.01.2013

Same happened with me too
Use pickups instead of cp for robbing
and while making /robcasino command do like this
Код:
dcmd_robcasino(playerid,params[])
{
if(PlayerToPoint(5, playerid,pickups x , y , z)) 
{
blah blah
return 1;
}
}



Re: Checkpoint Doesnt show - Patrick - 03.01.2013

i already make that command, but much better if there is checkpoint cuz i am making LEFT ALT = Robbery, and i want to add more robberies so. if anyone can help me