Help Me Please
#7

I ain't gonna do the whole thing just tell you how it should look like.. the scripting will be done by you this way you learn

here's how to do it:

pawn Код:
enum briefinfo
{
    Float:xPos, // X coord of the briefcase
    Float:yPos, // Y coord of the briefcase
    Float:zPos, // Z coord of the briefcase
    Location[32] // Location
};
Add location to this:

pawn Код:
new Float:brifcase[MAX_BRIF][briefinfo] =
{
    {1499.01, -1803.68, 32.42, "Location 1"}, // 1
    {1496.97, -1537.96, 66.59, "Location 2"},
    {1406.25, -1304.29, 7.95, "Location 3"},
    // ... and so on (add location name after coords)
};
Then you can simply create some gvars to store the info
Reply


Messages In This Thread
Help Me Please - by ColdRain - 05.05.2012, 16:11
AW: Help Me Please - by vyper - 05.05.2012, 16:12
Re: Help Me Please - by ColdRain - 05.05.2012, 16:20
Re: Help Me Please - by ColdRain - 05.05.2012, 16:26
Re: Help Me Please - by ToiletDuck - 05.05.2012, 16:34
Re: Help Me Please - by ColdRain - 05.05.2012, 16:35
AW: Help Me Please - by vyper - 05.05.2012, 16:40
Re: Help Me Please - by ToiletDuck - 05.05.2012, 16:51
Re: Help Me Please - by ColdRain - 05.05.2012, 17:49
Re: Help Me Please - by ColdRain - 05.05.2012, 18:53

Forum Jump:


Users browsing this thread: 1 Guest(s)