23.03.2013, 13:08
Hey. I'm trying to edit an attached vehicle object. But I couldn't.
I can see the GUI and mouse cursor, but I can't move or rotate it. Does anyone know how to edit an attached vehicle object?
Oh and, can anyone solve this problem?
https://sampforum.blast.hk/showthread.php?tid=423580&page=2
pawn Код:
CMD:vo(playerid,params[])
{
new Float:x,Float:y,Float:z, model;
GetVehiclePos(GetPlayerVehicleID(playerid),x,y,z);
if(sscanf(params,"i",model)) return SendClientMessage(playerid,-1,"no");
obj = CreateObject(model,x,y,z,0,0,0,100);
AttachObjectToVehicle(obj,GetPlayerVehicleID(playerid),x,y,z,0,0,0);
EditObject(playerid,obj);
return 1;
}
Oh and, can anyone solve this problem?
https://sampforum.blast.hk/showthread.php?tid=423580&page=2