Random missions
#1

Hi

I am going to update the missions system on my server again, hoping to create a mission builder.

A mission builder itself is wery simple, but i want it to show only missions from the nearby (a distance from Fallen tree to montgomery etc etc).

I think the best bet is to use GetPlayerDistanceFromPoint and use something like this:

pawn Код:
if(GetPlayerDistanceFromPoint(playerid, 237.9, 115.6, 1010.2) <= 1000.0)
{

}
What do you think? Is there something i should/could do to make this easier or something?

Second thing is, how to save the mission id's for further randoming (since i random the missions from the nearby and select 3 of them using random)?

Thanks for advices in advance!
Reply


Messages In This Thread
Random missions - by Hessu - 11.11.2015, 03:43
Re : Random missions - by Dutheil - 11.11.2015, 04:26
Re: Random missions - by PrO.GameR - 11.11.2015, 07:01
Re: Random missions - by Hessu - 11.11.2015, 08:56

Forum Jump:


Users browsing this thread: 5 Guest(s)