Question Info/Help: SetPlayerFacingAngle bugged ?
#1

I have typed in game the command /save...

now, example:

PHP код:
new
    
FloatSF_Hospital[4][4] =
    {
        {-
2655.2932635.532114.4531175.5259},
        {-
2697.4255630.359314.4545235.0598},
        {-
2706.5320608.529714.4531268.2735},
        {-
2706.3767590.612914.4531300.8604}
    }; 
OnPlayerSpawn

PHP код:
    switch(GetPlayerTeam(playerid))
    {
        case 
blah_blah... :
        {
            new
                
rand random(sizeof(SF_Hospital));
            
SetPlayerPos(playeridSF_Hospital[rand][0], SF_Hospital[rand][1], SF_Hospital[rand][2]);
            
SetPlayerFacingAngle(playeridSF_Hospital[rand][3]);
            
            return 
1;
        }
    } 
and set me the wrong facing angle...

another example,

make this with command

PHP код:
            SetPlayerPos(playerid, -2655.2932635.532114.4531);
            
SetPlayerFacingAngle(playerid175.5259); 
and set me the wrong facing angle...

another...

i have used

PHP код:
SetSpawnInfo 
but not good for what I do
Reply
#2

bump
Reply
#3

bump
Reply
#4

Not even going to read it because you bumped. Read the rules.
Reply
#5

bump..

the topic was in the second page
Reply
#6

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)