24.02.2010, 17:38
(
Последний раз редактировалось aircombat; 08.04.2011 в 09:51.
)
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { new Skin; Skin = GetPlayerSkin(playerid); if(Skin == 120) { if (HOLDING(KEY_CROUCH)) { if(IsPlayerInRangeOfPoint(playerid,10.0,213.8026,1876.0151,13.1406)) { MoveObject(fronthqgate, 226.2012,1875.1792,13.8000, 2.00); } } if (RELEASED(KEY_CROUCH)) { MoveObject(fronthqgate, 214.2012,1875.1792,13.8000, 2.00); } if (HOLDING(KEY_SUBMISSION)) { LinkVehicleToInterior(GetPlayerVehicleID(playerid), 1); } if (RELEASED(KEY_SUBMISSION)) { LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0); } } return 1; }
Sick from depakote