SA-MP Forums Archive
Help With Edit Object (rep+) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help With Edit Object (rep+) (/showthread.php?tid=572667)



Help With Edit Object (rep+) - haridz - 30.04.2015

ive try to make the /eo object so i can edit my object easily but it does not work.but there are no errors.

CMD:eo(playerid,params[])
{
if(playermap[playerid] == 1)
{
new i;
new x = cobject[playerid][i];
new Float: xx,Float:yy,Float:zz;
new Float:rxx,Float:ryy,Float:rzz;
GetDynamicObjectRot(x,rxx,ryy,rzz);
GetDynamicObjectPos(x,xx,yy,zz);
EditDynamicObject(playerid,x);
}
return 1;
}

download the pwn to see the full script