Question Info/Help: SetPlayerFacingAngle bugged ? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Question Info/Help: SetPlayerFacingAngle bugged ? (
/showthread.php?tid=356941)
Question Info/Help: SetPlayerFacingAngle bugged ? -
Speed++ - 05.07.2012
I have typed in game the command /save...
now, example:
PHP код:
new
Float: SF_Hospital[4][4] =
{
{-2655.2932, 635.5321, 14.4531, 175.5259},
{-2697.4255, 630.3593, 14.4545, 235.0598},
{-2706.5320, 608.5297, 14.4531, 268.2735},
{-2706.3767, 590.6129, 14.4531, 300.8604}
};
OnPlayerSpawn
PHP код:
switch(GetPlayerTeam(playerid))
{
case blah_blah... :
{
new
rand = random(sizeof(SF_Hospital));
SetPlayerPos(playerid, SF_Hospital[rand][0], SF_Hospital[rand][1], SF_Hospital[rand][2]);
SetPlayerFacingAngle(playerid, SF_Hospital[rand][3]);
return 1;
}
}
and set me the wrong facing angle...
another example,
make this with command
PHP код:
SetPlayerPos(playerid, -2655.2932, 635.5321, 14.4531);
SetPlayerFacingAngle(playerid, 175.5259);
and set me the wrong facing angle...
another...
i have used
but not good for what I do
Re: Question Info/Help: SetPlayerFacingAngle bugged ? -
Speed++ - 05.07.2012
bump
Re: Question Info/Help: SetPlayerFacingAngle bugged ? -
Speed++ - 05.07.2012
bump
Re: Question Info/Help: SetPlayerFacingAngle bugged ? -
MP2 - 05.07.2012
Not even going to read it because you bumped. Read the rules.
Re: Question Info/Help: SetPlayerFacingAngle bugged ? -
Speed++ - 05.07.2012
bump..
the topic was in the second page
Re: Question Info/Help: SetPlayerFacingAngle bugged ? -
Vince - 05.07.2012
It is not bugged, but you must note that angles in GTA SA go counter clockwise. 0° facing north, 90° facing west, 180° facing south, 270° facing east.