30.04.2015, 21:32
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
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