15.08.2013, 19:58
I currently have a variable for each object as you said.
My server uses all dynamic objects (global object, object placed, distributor object, vehicle object, object retarder object work ...)
The coefficient according confused objects is huge with over 3500 items.
Exemple:
My server uses all dynamic objects (global object, object placed, distributor object, vehicle object, object retarder object work ...)
The coefficient according confused objects is huge with over 3500 items.
Exemple:
Код:
new object[440]; public OnGameModeInit() { object[1] = CreateDynamicObject object[2] = CreateDynamicObject object[3] = CreateDynamicObject object[4] = CreateDynamicObject } public OnPlayerEditDynamicObject(playerid, objectid, modelid,X, Y, Z) { DestroyDynamicObject(object[3]); // Here, the object ID 4 becomes the object ID 3. There is indeed an auto increment After in-game by another player: DestroyDynamicObject(object[4]); It removes the effect variable script, but the real object In Game // Hop confusion !! }