14.07.2013, 20:47
I think I have the latest version of streamer.inc. I mean the one included in 0.3x folder.
I also tried :
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 !
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); } }
Btw, thx for helping !