06.03.2014, 13:19
Код:
if((newkeys == 1) && (IsPlayerInAnyVehicle(playerid))) { if(!GetPVarInt(playerid, "Motor ON")) { SetPVarInt(playerid, "Motor ON", true); OnPlayerCommandText(playerid,"/motoron"); //_______ Aki } else { SetPVarInt(playerid, "Motor ON", false); OnPlayerCommandText(playerid,"/motoroff");//________Aki } return true; }