05.03.2009, 17:57
Hey use this Include n' create this:
zueras-server.110mb.com/cpstream.zip (copy and paste in Url).
#include <cpstream>
new CP_1;
new CP_2;
//OnGameModeInit
CP_1 = CPS_AddCheckpoint(playerid,1520.5525,-2604.5759,13.5469,3.0,20);
CP_2 = CPS_AddCheckpoint(playerid,246.6656,65.0490,1003.6 406,3.0,20);
//40 is the distance that the player sees the checkpoint on radar (use the "01" does not appear that the).
public OnPlayerEnterCheckpoint(playerid)
{
cp = CPS_GetPlayerCheckpoint(playerid);
if(cp == CP_1)
{
//Function
}
if(cp == CP_2)
{
//Function
}
return 1;
}
zueras-server.110mb.com/cpstream.zip (copy and paste in Url).
#include <cpstream>
new CP_1;
new CP_2;
//OnGameModeInit
CP_1 = CPS_AddCheckpoint(playerid,1520.5525,-2604.5759,13.5469,3.0,20);
CP_2 = CPS_AddCheckpoint(playerid,246.6656,65.0490,1003.6 406,3.0,20);
//40 is the distance that the player sees the checkpoint on radar (use the "01" does not appear that the).
public OnPlayerEnterCheckpoint(playerid)
{
cp = CPS_GetPlayerCheckpoint(playerid);
if(cp == CP_1)
{
//Function
}
if(cp == CP_2)
{
//Function
}
return 1;
}

