03.05.2010, 03:29
Ok, I tried editing it a bit....
This still has a problem, it spawns at the same spot. Instead of the random ones
This is what i got:
This still has a problem, it spawns at the same spot. Instead of the random ones
This is what i got:
pawn Код:
new Float:BriefcasePoints[5][4] = {
{1572.5178,-1702.7361,5.8906,294.9816},
{1558.4468,-1704.4238,5.8906,98.0614},
{1562.3147,-1695.3313,5.8906,335.0887},
{1575.8077,-1693.9064,6.2188,274.6147},
{1591.9590,-1701.3010,5.8906,309.8335}
};
pawn Код:
new rand;
rand = random(sizeof(BriefcasePoints));
AddStaticPickup(1210, 2,BriefcasePoints[rand][0], BriefcasePoints[rand][1], BriefcasePoints[rand][2]);