enum help
#2

PHP код:
// Setup a custom type that holds all data about a load
enum {TLoad

    LoadName
[50], // The name of the load
    
bool:Mafia// Holds "true" if this load is wanted by the mafia
    
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

test this if it is correct
Reply


Messages In This Thread
enum help - by Private200 - 27.07.2012, 15:02
Re: enum help - by TaLhA XIV - 27.07.2012, 15:06
Re: enum help - by McCurdy - 27.07.2012, 15:09
Re: enum help - by Devilxz97 - 27.07.2012, 15:09
Re: enum help - by Vince - 27.07.2012, 15:26
Re: enum help - by Private200 - 27.07.2012, 19:26
Re: enum help - by Universal - 27.07.2012, 19:47
Re: enum help - by Private200 - 27.07.2012, 19:55
Re: enum help - by Private200 - 27.07.2012, 20:01
Re: enum help - by Vince - 27.07.2012, 20:13

Forum Jump:


Users browsing this thread: 1 Guest(s)