setting object rot
#1

pawn Код:
SetPVarFloat(playerid, "GPS_X", 2680.8572);
        SetPVarFloat(playerid, "GPS_Y", -1330.0626);
        SetPVarFloat(playerid, "GPS_Z", 42.8088);
       
        GPS_OBJ = CreateObject(1318, 0, 0, 0, 0, 0, 0);
       
        new vehid = GetPlayerVehicleID(playerid);
       
        AttachObjectToVehicle(GPS_OBJ, vehid, 0.0, 0.0, 1.0, 0, 0, 0);
pawn Код:
SetObjectRot(GPS_OBJ,GetPVarFloat(playerid, "GPS_X"),GetPVarFloat(playerid, "GPS_Y"),GetPVarFloat(playerid, "GPS_Z"));
I have this, but it doesn't set object rot
Reply


Messages In This Thread
setting object rot - by armyoftwo - 17.12.2010, 11:05
Re: setting object rot - by armyoftwo - 18.12.2010, 06:48
Re: setting object rot - by [UG]Scripter - 18.12.2010, 06:53
Re: setting object rot - by armyoftwo - 18.12.2010, 06:54
Re: setting object rot - by Rachael - 18.12.2010, 07:39
Re: setting object rot - by armyoftwo - 18.12.2010, 09:22
Re: setting object rot - by armyoftwo - 18.12.2010, 12:41
Re: setting object rot - by armyoftwo - 19.12.2010, 07:24
Re: setting object rot - by Rachael - 19.12.2010, 07:35
Re: setting object rot - by armyoftwo - 19.12.2010, 08:08

Forum Jump:


Users browsing this thread: 3 Guest(s)