28.11.2009, 06:15
im having an issue with the shamal interior i have and when i press the button enter i crash with a flashing loading... screen. any solution to this issue?
Код:
if (newkeys == 16 && InShamal[playerid] != 0) { new Float:X, Float:Y, Float:Z, Float:A; GetVehiclePos(InShamal[playerid], X, Y, Z); GetVehicleZAngle(InShamal[playerid], A); X += (5.0*floatsin(-(A-45.0), degrees)), Y += (5.0*floatcos(-(A-45.0), degrees)); SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, X, Y, Z-0.94); SetPlayerFacingAngle(playerid, A); InShamal[playerid] = 0; }