02.11.2012, 15:01
Quote:
"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.
|
I am trying to make an object editor.And i have made this command: "/addobject <Id>".-->Makes a player object.
Then i made this command: "/cpoto" --> it will convert all of player objects(Made with /addobject) to dynamic objects.
This is what i used to do this:
pawn Код:
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???
}
}