SetPlayerCheckPoint
#1

Is there a way to define checkpoints and get this?
for example
Код:
new Float:PizzamanCPs[8][4] =
{
  { 2236.3997,167.3553,28.1535, 3.0 },
  { 2363.3560,116.1356,28.4416, 3.0 },
  { 2374.1240,42.2868,28.4416, 3.0 },
  { 2392.2939,-54.9637,28.1536, 3.0 },
  { 1291.9042,281.5284,19.5614, 3.0 },
  { 1277.0186,370.8626,19.5547, 3.0 },
  { 1352.0980,348.4374,20.5009, 3.0 },
  { 1402.4236,286.2011,19.5547, 3.0 }
};
I want later on to get if the checkpoint is one of the above how can I do that? like

Код:
public OnPlayerEnterCheckpoint(playerid)
{
       if(CheckPoint = PizzamanCPs);
        {
       //do blablabla
        }
	return 1;
}
I do not know how to set the checkpoints for multiple so please help me I just gave the idea and I need help
Reply


Messages In This Thread
SetPlayerCheckPoint - by FishyZ - 23.06.2016, 19:28
Re: SetPlayerCheckPoint - by WhiteGhost - 23.06.2016, 19:31
Re: SetPlayerCheckPoint - by Abagail - 23.06.2016, 19:41
Re: SetPlayerCheckPoint - by WhiteGhost - 23.06.2016, 19:49
Re: SetPlayerCheckPoint - by FishyZ - 23.06.2016, 19:52
Re: SetPlayerCheckPoint - by WhiteGhost - 23.06.2016, 19:57
Re: SetPlayerCheckPoint - by FishyZ - 23.06.2016, 20:12
Re: SetPlayerCheckPoint - by Owen007 - 23.06.2016, 20:18
Re: SetPlayerCheckPoint - by FishyZ - 23.06.2016, 20:32
Re: SetPlayerCheckPoint - by Owen007 - 23.06.2016, 21:05

Forum Jump:


Users browsing this thread: 1 Guest(s)