05.05.2012, 16:40
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 ![Cheesy](images/smilies/biggrin.png)
here's how to do it:
Add location to this:
Then you can simply create some gvars to store the info
![Tongue](images/smilies/razz.gif)
![Cheesy](images/smilies/biggrin.png)
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
};
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)
};
![Smiley](images/smilies/smile.png)