OnPlayerEnterDynamicCp
#4

I think I have the latest version of streamer.inc. I mean the one included in 0.3x folder.

I also tried :

Код:
public OnPlayerEnterDynamicCheckpoint(playerid, streamid)
{
if(streamid == ordi1 && gTeam[playerid] == NINJA)
	{

		DestroyDynamicCP(ordi1);
		printf("blublublu");
		ordi2 = CreateDynamicCP(356.4801,162.1948,1019.9844,10,-1,-1,-1,100.0);
	}

	else if(streamid == ordi2 && gTeam[playerid] == NINJA)
	{
		DestroyDynamicCP(ordi2);
		ordi2 = CreateDynamicCP(364.1272,152.5401,1025.7964,10,-1,-1,-1,100.0);

	}

	else if(streamid == ordi3 && gTeam[playerid] == NINJA)
	{
		DestroyDynamicCP(ordi3);
		ordi4 = CreateDynamicCP(353.6466,171.4531,1025.7964,10,-1,-1,-1,100.0);

	}

	else if(streamid == ordi4 && gTeam[playerid] == NINJA)
	{
		GameTextForAll("~r~WOOHOO !",1000,5);

	}
}
But that doesn't work... And I tried to put checkpointid in the 2nd parameter of "OnPlayerEnterDynamicCheckPoint", but I got a warning.
Btw, thx for helping !
Reply


Messages In This Thread
OnPlayerEnterDynamicCp - by kurt225 - 14.07.2013, 18:59
Re : OnPlayerEnterDynamicCp - by kurt225 - 14.07.2013, 19:47
Re: OnPlayerEnterDynamicCp - by exclide1 - 14.07.2013, 20:00
Re : OnPlayerEnterDynamicCp - by kurt225 - 14.07.2013, 20:47
Re : OnPlayerEnterDynamicCp - by kurt225 - 14.07.2013, 21:32

Forum Jump:


Users browsing this thread: 4 Guest(s)