28.08.2014, 19:18
@ThePhenix :
pawn Код:
stock ReplaceObject(objectid, newmodel)
{
new Float:data[6];
GetObjectPos(objectid, data[0], data[1], data[2]);
GetObjectRot(objectid, data[3], data[4], data[5]);
DestroyObject(objectid);
objectid = CreateObject(newmodel, data[0], data[1], data[2], data[3], data[4], data[5]);
return;
}