Object model id
#4

Quote:
Originally Posted by ******
Посмотреть сообщение
"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.
Ok, i will 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???
}
}
Please help me with this..
Reply


Messages In This Thread
Object model id - by Michael98 - 02.11.2012, 12:19
Re: Object model id - by [D]ry[D]esert - 02.11.2012, 12:32
Re: Object model id - by Michael98 - 02.11.2012, 14:05
Re: Object model id - by Michael98 - 02.11.2012, 15:01
Re: Object model id - by Michael98 - 02.11.2012, 15:10

Forum Jump:


Users browsing this thread: 1 Guest(s)