Hi Guys How To Get SetPlayerFacingAngle
#9

You cant use SetPlayerFacingAngle in OnGameModeInit, you have to use it under OnPlayerRequestClass,
you will need something like this:
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    switch(classid)
    {
        case 0://class 1
        {
            SetPlayerPos(playerid, 2098.9939, 1158.6058, 24.5625);
            SetPlayerFacingAngle(playerid, 63.8544);//set the angle here <--
            SetPlayerCameraPos(playerid, 2093.5515,1161.5519,24.5625);
            SetPlayerCameraLookAt(playerid, 2098.9939, 1158.6058, 24.5625);
        }
        case 1://clas 2 etc...
        {
 
        }
    }
    return 1;
}
Reply


Messages In This Thread
Hi Guys How To Get SetPlayerFacingAngle - by moustafa0550 - 01.01.2014, 08:40
Re: Hi Guys How To Get SetPlayerFacingAngle - by RowdyrideR - 01.01.2014, 08:50
Re: Hi Guys How To Get SetPlayerFacingAngle - by moustafa0550 - 01.01.2014, 09:04
Re: Hi Guys How To Get SetPlayerFacingAngle - by FailerZ - 01.01.2014, 09:26
Re: Hi Guys How To Get SetPlayerFacingAngle - by moustafa0550 - 01.01.2014, 10:03
Re: Hi Guys How To Get SetPlayerFacingAngle - by ScRipTeRi - 01.01.2014, 10:18
Re: Hi Guys How To Get SetPlayerFacingAngle - by Dubya - 01.01.2014, 10:37
Re: Hi Guys How To Get SetPlayerFacingAngle - by HB - 01.01.2014, 11:29
Re: Hi Guys How To Get SetPlayerFacingAngle - by Voxel - 01.01.2014, 11:54

Forum Jump:


Users browsing this thread: 1 Guest(s)