12.08.2017, 18:13
(
Последний раз редактировалось TommyCole; 12.08.2017 в 20:32.
)
I am making a furniture system, and I want to spawn the object which he chooses in the menu to the player's location. Can you send to me the edited Code?
Код:
public OnPlayerModelSelection(playerid, response, listid, modelid) { if(listid == objects) { if(response) { new Float:x, Float:y, Float:z; new modelid; SCM(playerid, RED, "Object Spawned"); CreateDynamicObject(modelid, x,y,z); } else SendClientMessage(playerid, 0xFF0000FF, "Canceled"); return 1; } }