28.08.2014, 17:20
Quote:
Can someone create
ReplaceObject(objectid, object, x, y, z); It would be great, Thanks. |
pawn Код:
stock ReplaceObject(objectid, destmodel)
{
new Float:X, Float:Y, Float:Z;
GetObjectPos(objectid, X, Y, Z);
DestroyObject(objectid);
CreateObject(destmodel, X, Y, Z, 0.0, 0.0, 0.0);
return 1;
}