Ryso 0 Odesláno: 26. Červen, 2011 Share Odesláno: 26. Červen, 2011 Mam nasledovny script: #define MAX_PLAYERS_VAR 100 #define PICKUP_NUMBER 5 #define MAX_LOCATIONS 60 new PickUpLocationForEachPlayer[MAX_PLAYERS_VAR][PICKUP_NUMBER]; new Float:AllPickUpLocations[MAX_LOCATIONS][3] = { {2689.9155,-1698.7030,9.9737}, {2218.4771,-1164.4073,25.2973}, ... // dokopy je ich 60 {2286.9871,-1106.2396,26.4612}, {2505.1658,-1694.7491,13.1132} } Ako spravim funkciu, ktora vybere nahodne 5 suradnic z tych 60tich a v nich vytvori pickupy? Link to comment Share on other sites More sharing options...
0 Petr 44 Odesláno: 27. Červen, 2011 Share Odesláno: 27. Červen, 2011 http://wiki.sa-mp.com/wiki/Random http://wiki.sa-mp.com/wiki/CreatePickup Link to comment Share on other sites More sharing options...
Dotaz
Ryso 0
Mam nasledovny script:
Ako spravim funkciu, ktora vybere nahodne 5 suradnic z tych 60tich a v nich vytvori pickupy?
Link to comment
Share on other sites
1 odpověd na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now