28.12.2010, 00:22
pawn Код:
// Create these in OnGameModeInit
new ammuentrance = CreateDynamicCP(-2024.0315, 395.4877, 35.1719, 1.0, -1,-1, -1, 20.0);
new ammuexit = CreateDynamicCP(284.7085, -41.5060, 1001.5156, 1.0, -1,-1, -1, 20.0);
new gunshop = CreateDynamicCP(295.5286, -38.5149, 1001.5156, 1.0, -1,-1, -1, 20.0);
// or if you're going to have more:
#define AMOUNT_OF_AMMUNATIONS (2)
new ammuentrance[AMOUNT_OF_AMMUNATIONS];
ammuentrance[0] = CreateDynamicCP(-2024.0315, 395.4877, 35.1719, 1.0, -1,-1, -1, 20.0);
ammuentrance[1] = CreateDynamicCP(1337, 1337, 1337, 1.0, -1,-1, -1, 20.0);
// etc
