GetCheckpointRot?
#1

Hi all

I have a problem, how can I get the rotation of checkpoint?
I saw something like that in this topic
https://sampforum.blast.hk/showthread.php?tid=116622

how he said
Quote:

@Trooper[Y] I use SetObjectRot.With Attach,object too laggy.Iґm tested with many solutions and with SetObjectRot is the best.

I have this
pawn Код:
SetPlayerCheckpoint(playerid, 1215.3896,-1844.5940,13.3828, 4.0);
            CurrentPlayerCP[playerid] = 1;
            DS_Arrow[playerid] = CreateObject(1318,20.20000076,-502.79998779,8.50000000,0.00000000,90.00000000,0.00000000);
            AttachObjectToPlayer(DS_Arrow[playerid], playerid, 0, 0, 1, 0, 90, 2);
            SetObjectRot(DS_Arrow[playerid], 1215.3896, -1844.5940, 13.3828);
So I want to calculate how to get rotation of this cp so I can set that rot on my object?
Reply


Messages In This Thread
GetCheckpointRot? - by System64 - 12.12.2011, 07:41
Re: GetCheckpointRot? - by [HiC]TheKiller - 12.12.2011, 07:44
Re: GetCheckpointRot? - by System64 - 12.12.2011, 07:47
Re: GetCheckpointRot? - by MP2 - 12.12.2011, 07:55
Re: GetCheckpointRot? - by System64 - 12.12.2011, 08:01
Re: GetCheckpointRot? - by [HiC]TheKiller - 12.12.2011, 08:02
Re: GetCheckpointRot? - by System64 - 12.12.2011, 08:11
Re: GetCheckpointRot? - by MP2 - 14.12.2011, 13:14

Forum Jump:


Users browsing this thread: 1 Guest(s)