13.10.2013, 20:37
(
Последний раз редактировалось TheChaoz; 14.10.2013 в 16:07.
Причина: double posting
)
Quote:
pawn Код:
pawn Код:
|
Код:
new Float:Angle; new PlayerFacingAngle = GetPlayerFacingAngle(playerid, Angle); GetPlayerFacingAngle(playerid, Angle); if(!PlayerFacingAngle >= OESTE-15 && PlayerFacingAngle <= OESTE+15){ SendClientMessageEx(playerid, COLOR_GRAD2, "ЎNo estбs con la cajuela hacia atrбs!"); DisablePlayerCheckpoint(playerid); return 1; }
Quote:
Lo arme asн por que me tiraba errores :
Код:
new Float:Angle; new PlayerFacingAngle = GetPlayerFacingAngle(playerid, Angle); GetPlayerFacingAngle(playerid, Angle); if(!PlayerFacingAngle >= OESTE-15 && PlayerFacingAngle <= OESTE+15){ SendClientMessageEx(playerid, COLOR_GRAD2, "ЎNo estбs con la cajuela hacia atrбs!"); DisablePlayerCheckpoint(playerid); return 1; } |
Код:
if(PlayerFacingAngle >=90 && PlayerFacingAngle <150){ SendClientMessageEx(playerid, COLOR_GRAD2, "ЎFUNCIONA!"); DisablePlayerCheckpoint(playerid); return 1; }else return SendClientMessageEx(playerid, COLOR_GRAD2, "ЎNo estбs con la cajuela hacia atrбs!");