Random missions wont work
#2

As this is both floats, integers and strings, you need to use an enum

pawn Код:
enum missionInfo
{
    Float:one,
    Float:two,
    Float:three,
    szOne[ 128 ],
    szTwo[ 128 ],
    szThree[ 128 ],
    Float:four,
    Float:five,
    Float:six,
    iOne,
    iTwo,
    iThree
}
pawn Код:
new TruckDirt[][missionInfo] =
{
    {-64.6646,-25.0894,3.1172,"Farm","Hops",-176.2634,-277.9630,1.4297,"FleishBerg Brewery",500,1,0},
       {588.0559,844.4221,-42.5385,"Quarry","Coal",-1857.2985,113.2854,15.1172,"Solarin Industries",5000,1,0}
};
NOTE: Do not use the exact code I posted, as it's just an example and pretty unefficient.
Reply


Messages In This Thread
Random missions wont work - by [LV]Oskars - 24.09.2010, 12:58
Re: Random missions wont work - by LarzI - 24.09.2010, 13:03
Re: Random missions wont work - by [LV]Oskars - 24.09.2010, 13:31
Re: Random missions wont work - by LarzI - 24.09.2010, 13:38
Re: Random missions wont work - by [LV]Oskars - 24.09.2010, 19:47
Re: Random missions wont work - by [LV]Oskars - 25.09.2010, 14:14
Re: Random missions wont work - by Armed2 - 27.09.2010, 13:01
Re: Random missions wont work - by [LV]Oskars - 27.09.2010, 13:06
Re: Random missions wont work - by Armed2 - 29.09.2010, 09:19
Re: Random missions wont work - by Armed2 - 02.10.2010, 13:32

Forum Jump:


Users browsing this thread: 1 Guest(s)