02.11.2012, 12:19
Is there any way to get the model of an object?
"The" object - WHAT object? The one they're looking at? That's doable but also VERY hard (you would need a copy of the entire map on the server). If something else then you need to be more specific.
|
for(new i; i<MAX_OBJECTS; i++)
{
if(IsValidPlayerObject(playerid,i))
{
new Float:x,Float:y,Float:z;
GetDynamicObjectPos(i,x,y,z);
CreateDynamicObject(model,x,y,z,0,0,0);
//How can i define the object model here???
}
}