Why is my Checkpoint not appearing in-game?
#1

Alright. I'm trying to set up a checkpoint right in front of the spawn point I have set so I can start scripting a robbery system, but of course. I am having issues with the checkpoint. I'll show every bit that I used to use the checkpoint.

Код:
//New Defines//
new TestRobberyCP;

public OnPlayerSpawn(playerid)
{
	TestRobberyCP = CreateDynamicCP(2025.4181, 1343.2915, 10.8203, 3, -1, -1, -1, 100.0);
	return 1;
}

public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
	if(checkpointid == TestRobberyCP)
	{
		SendMessage(playerid, COLOR_ORANGE, "Use /robshop to being the robbery.");
	}
	return 1;
}
That is all I have for the checkpoint right now. I just wanted to in-game and see if that message would appear when I stepped into the checkpoint, and that is when I found out my checkpoint was not appearing in-game.

In the console. It says "CreateDynamicCP: Expecting 8 Parameters, but found 9."
Reply


Messages In This Thread
Why is my Checkpoint not appearing in-game? - by UnholyBeast - 29.04.2016, 18:53
Re: Why is my Checkpoint not appearing in-game? - by Lordzy - 29.04.2016, 19:17
Re: Why is my Checkpoint not appearing in-game? - by slipnkit - 29.04.2016, 19:59
Re: Why is my Checkpoint not appearing in-game? - by UnholyBeast - 29.04.2016, 20:21
Re: Why is my Checkpoint not appearing in-game? - by Vince - 29.04.2016, 20:33
Re: Why is my Checkpoint not appearing in-game? - by UnholyBeast - 29.04.2016, 20:41

Forum Jump:


Users browsing this thread: 2 Guest(s)