Question Help: Facing Angle
#1

in this very simple example, i have included, the angle.. but when i spawn set me the wrong facing angle.. why ? the coordinates are right..

PHP код:
new FloatExampleRandomSpawn[][4] =
{
    {-
2796.98541224.818020.5429192.0335},
    {-
2454.2170503.875930.0790267.2932},
    {-
2669.7322, -6.08746.132889.8853}
}; 
PHP код:
public OnPlayerSpawn(playerid)
{
    new 
rand random(sizeof(ExampleRandomSpawn));
    
SetPlayerPos(playeridExampleRandomSpawn[rand][0], ExampleRandomSpawn[rand][1], ExampleRandomSpawn[rand][2]);
 
    
SetPlayerFacingAngle(playeridExampleRandomSpawn[rand][3]);
    return 
1;

Reply


Messages In This Thread
Question Help: Facing Angle - by Speed++ - 01.07.2012, 13:22
Re: Question Help: Facing Angle - by Finn - 01.07.2012, 13:27
Re: Question Help: Facing Angle - by Speed++ - 01.07.2012, 13:48
Re: Question Help: Facing Angle - by Finn - 01.07.2012, 13:51
Re: Question Help: Facing Angle - by Speed++ - 01.07.2012, 14:13
Re: Question Help: Facing Angle - by LaGrande - 01.07.2012, 14:43

Forum Jump:


Users browsing this thread: 1 Guest(s)