Random missions
#4

Here is the enumelator for the loads
pawn Код:
// Setup a custom type that holds all data about a load
enum TLoad
{
    LoadName[50], // The name of the load
    bool:Smuggler, // Holds "true" if this load is wanted by the Smuggler
    Float:PayPerUnit, // Holds the price for every meter to haul this type of load (this gets multiplied by the distance to calculate the payment)
    PCV_Required, // This holds the vehicle-type the player needs to use this load (and automatically the player's class)
    FromLocations[30], // This array holds all loading-points for this load
    ToLocations[30] // This array holds all unloading-points for this load
}
Should i add a line to it called "areas" and assign a name/id for each load and then use dynamic area check?
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: 1 Guest(s)