29.12.2018, 15:14
Quote:
SA-MP servers are single threaded, so every action won’t be processed until the previous one has been completed.
So for things like this you’d be better off converting the coordinates once and making them into a constant array in your script or add them to some sort of database or table, to make readability a little easier. |
#define OBJECTS 30000
enum ObjectData //Object Data
{
id,
model,
FloatosX,
FloatosY,
FloatosZ,
Float:rotX,
Float:rotY,
Float:rotZ
}
new oInfo[OBJECTS][ObjectData];