03.05.2010, 02:23
That messed up my script! It screwed up the skins selection and everything.
This is what i came up with:
Can someone please help me? right now its spawning at one spot and one spot only. I pickup the briefcase it dissapears and spawns at the same spot over and over....
This is what i came up with:
Код:
#define MAX_BRIEFCASE 5
Код:
new Float:BriefcasePoints[MAX_BRIEFCASE][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} };
Код:
new rnd; rnd = random(sizeof (BriefcasePoints)); mypickup = CreatePickup(1210, 2, BriefcasePoints[rnd][0], BriefcasePoints[rnd][1],BriefcasePoints[rnd][2],-1);