Help with loop?
#1

Hey! I have some problem that player that comes to last checkpoint gets an repating sound from normal chekpoint and not the other song that shuld come on. And the normal checkpoint sound just repates, and nothing more happens, no message that i sat... And the checkpoint wont desipare.

Код:
public OnPlayerEnterCheckpoint(playerid)
{
......
else if(PlayerToPoint(3.0,playerid, 101.5558,1109.0941,13.3416))
	{
		DisablePlayerCheckpoint(playerid);
		SetPlayerCheckpoint(playerid, 101.5581,1109.1292,13.3365, 3.0);
		PlayerPlaySound(playerid, 1149, X, Y, Z);
	}
	else if(PlayerToPoint(3.0,playerid, 101.5581,1109.1292,13.3365))
	{
   	      DisablePlayerCheckpoint(playerid);
		SetTimer("CheckDMV",10000,false);
		SendClientMessage(playerid, TEAM_ORANGE, "* Waiting for response...");
		TogglePlayerControllable(playerid, false);
		return 1;
	}
Reply
#2

Floats are alsmot the same if I look well.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)