11.09.2013, 09:55
Store the coords inside an array:
pawn Код:
new StallCoords[][3] =
{
{-315.4249, 1051.4526, 19.7422},
{-326.9075, 1057.4795, 19.7422}
};
CreateDynamicPickup(1239, 1, StallCoords[0][0], StallCoords[0][1], StallCoords[0][2]); // stallcheckpoint
Create3DTextLabel("{FF0000}Stall\n{FFFFFF}/sbuy, /ssell", COLOR_RED, IsPlayerNearStall, 30, 0, 1);
CreateDynamicPickup(1239, 1, StallCoords[1][0], StallCoords[1][1], StallCoords[1][2]); // stallcheckpoint
Create3DTextLabel("{FF0000}Stall\n{FFFFFF}/sbuy, /ssell", COLOR_RED, IsPlayerNearStall, 30, 0, 1);