cp problem
#7

Quote:
Originally Posted by Lucas Giovanni
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;
}


Not function but action xD
Reply


Messages In This Thread
cp problem - by [D1zZy_vortex] - 05.03.2009, 17:42
Re: cp problem - by Dujma - 05.03.2009, 17:54
Re: cp problem - by [D1zZy_vortex] - 05.03.2009, 17:55
Re: cp problem - by [RP]Rav - 05.03.2009, 17:57
Re: cp problem - by Dujma - 05.03.2009, 17:57
Re: cp problem - by Lucas Giovanni - 05.03.2009, 17:57
Re: cp problem - by Dujma - 05.03.2009, 17:58
Re: cp problem - by Lucas Giovanni - 05.03.2009, 17:58
Re: cp problem - by [D1zZy_vortex] - 05.03.2009, 18:27
Re: cp problem - by 1337pr0 - 05.03.2009, 18:41

Forum Jump:


Users browsing this thread: 1 Guest(s)