[HELP]Checkpoint Problem!
#1

Hey
Have A Problem...
I Made Checkpoints But... When I Enter That First I Can't Go Near The Checkpoint:/
Quote:

//Includes
#include <a_samp>
#include <streamer>
#include <zcmd>

CMDtartharvest(playerid, params[])
{
SetPlayerCheckpoint(playerid, -102.0503, 148.3964, 3.1164, 3.0);
return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
if(IsPlayerInRangeOfPoint(playerid, -102.0503, 148.3964, 3.1164, 3.0))
{
SetPlayerCheckpoint(playerid, -123.4742, 98.0780, 3.1172, 3.0);
}
if(IsPlayerInRangeOfPoint(playerid, -123.4742, 98.0780, 3.1172, 3.0))
{
SetPlayerCheckpoint(playerid, -109.7551, 151.8636, 3.3736, 3.0);
}
return 1;
}

Its 0 Errors.
Whats The Problem?
I Have Newest Plugins.
Reply
#2

When you enter the first checkpoint (-102.0503, 148.3964, 3.1164, 3.0) you can't go near the next one - is that was you mean? I don't quite get your question.
Reply
#3

When I Try To Enter First Checkpoint I Be Froozen xD I Cant Enter It Or Move Me:/
Reply
#4

Try to this after IsPlayerInRangeOfPoint

Код:
if(IsPlayerInRangeOfPoint(playerid, coords))
		{
      		DisablePlayerCheckpoint(playerid);
                }
else if(IsPlayerInRangeOfPoint(playerid, coords);
                {
      		DisablePlayerCheckpoint(playerid);
                }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)