Creating Pickups for desired coordinates. (hard to explain)
#2

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);
Reply


Messages In This Thread
Creating Pickups for desired coordinates. (hard to explain) - by Swyft™ - 11.09.2013, 08:13
Re: Creating Pickups for desired coordinates. (hard to explain) - by Dragonsaurus - 11.09.2013, 09:55
Re: Creating Pickups for desired coordinates. (hard to explain) - by Swyft™ - 11.09.2013, 11:56
Re: Creating Pickups for desired coordinates. (hard to explain) - by Emmet_ - 11.09.2013, 19:25

Forum Jump:


Users browsing this thread: 1 Guest(s)