25.08.2017, 17:30
Hmmm, maybe this can help you?:
How to use it? Use CreateRandomObject() to spawn a random object in a random place in the map.
Hope I helped you. Or in french: "J'espиre que je t'ai aidй".
Код:
//After the last #include #define CreateRandomObject() CreateObject(random(3399), RandomFloat(), RandomFloat(), RandomFloat(), RandomFloat(), RandomFloat(), RandomFloat()) //At the bottom of the script Float:RandomFloat() { new Float:rand = random() \ (random() % random() ) return rand; }
Hope I helped you. Or in french: "J'espиre que je t'ai aidй".