05.04.2013, 10:50
Aah, yes, thanks for sharing that. It's quite not possible in GTA SA to have a borderless object, particle - effect thing.. Anyways, cheers, and do share anything else that could be used to make this better
Well the array is not actually static, so I just something like this:
Code:
new Float:l = 0.0l for (new i = 0; i != sizeof (MODELS_gColRadius); ++i) { if (MODELS_gColRadius[i] > l) l = MODELS_gColRadius[i]; } printf("%f", l); I also just realised that you can do this: Code:
stock bool:IsModelValid(objectmodel) { if (0 <= objectmodel < sizeof (MODELS_gColRadius)) { return MODELS_gColRadius[objectmodel] != 0.0; } return false; } |
This array lists all the radii of the collision spheres for all the GTA objects used in SA (including the SA:MP objects); except skins, vehicles, and weapons. |