24.06.2012, 17:51
Quote:
pawn Код:
|
Quote:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if (newkeys & KEY_HORN) { if(IsPlayerInAnyVehicle(playerid)) { new VehicleID,Float:B; VehicleID = GetPlayerVehicleID(playerid); GetVehicleZAngle(VehicleID,B); SetVehicleZAngle(VehicleID,B); } } return 1; } |