Random Checkpoint
#4

Something like this ..
Код:
new Float:RandomWorkCps[][] =
{
	//all your cps
};
and at this place
Код:
If(IsPlayerInRangeOfPoint(playerid, //cp,//length[3 is good])
{
   	//here write like this
	RandomWork; //This is for stock
}
Код:
stock RandomWork(playerid)
{
 	
	    new rand = random(sizeof(RandomWorkCps);
	    SetPlayerCheckpoint(playerid, RandomWorkCps[Random][0], RandomWorkCps[Random][1], RandomWorkCps[Random][2]);

	//Othercodes if you want to send any msg , etc!!
}
Good day Thanks
-FuckingCruse Thumbs up
Reply


Messages In This Thread
Random Checkpoint - by Genmetal - 27.04.2015, 11:26
Re: Random Checkpoint - by Genmetal - 27.04.2015, 23:42
Re: Random Checkpoint - by Jimmy0wns - 27.04.2015, 23:54
Re: Random Checkpoint - by fuckingcruse - 28.04.2015, 07:57

Forum Jump:


Users browsing this thread: 1 Guest(s)