15.09.2015, 19:25
PHP код:
CMD:drivingschool(playerid, params[])
{
new Float:Angle;
GetPlayerFacingAngle(playerid, Angle); // Why You Are Getting This ? where you use it ?
SetPlayerFacingAngle(playerid, 180); // 180 ? FacingAngle Is Float 180.0 but just use /save and get your facing angle from there so it will be where you want
SetPlayerPos(playerid, -2026.2877,-78.2901,35.3203);
// Note : Put SetPlayerFacing Angle After SetPlayerPos
SendClientMessage(playerid, COLOR_YELLOW, "You are teleported to the drivingschool!");
return 1;
}
** Put SetPlayerFacingAngle After SetPlayerPos **