18.12.2010, 09:22
I'm trying to make something like this ( see attachment)
the arrow is a object ( ID: 1318 )
So if i can't set object's rotation if it's attached, then i will have to destroy, create, attach and like that all the time. (under 1 sec timer)
But it doesnt work, because it doesnt change arrow's rotation
the arrow is a object ( ID: 1318 )
So if i can't set object's rotation if it's attached, then i will have to destroy, create, attach and like that all the time. (under 1 sec timer)
pawn Код:
if(GetPVarInt(playerid, "GPS") > 0)
{
DestroyObject(GPS_OBJ);
GPS_OBJ = CreateObject( 1318, 0, 0, 0, 0, 0, 0);
new vehid = GetPlayerVehicleID(playerid);
AttachObjectToVehicle(GPS_OBJ, vehid, 0.0, 0.0, 1.5, 2680.8572, -1330.0626, 42.8088);
}