Jump to content

aaronhance

Member
  • Content Count

    31
  • Joined

  • Last visited

  • Medals

Community Reputation

1 Neutral

1 Follower

About aaronhance

  • Rank
    Private First Class
  1. I've looked around and seen a lot of post about server requirements, but none with how many lots for that hardware. My question as stated in the title is "What are the server requirements for 100 slot server?". Would the following be OK?
  2. Nope, it's still not visible.
  3. I'm attempting to add a gui. When activated the mouse appears and input to movement is stopped, but the gui is not visible. dialogs.hpp class ItemMenu{ idd = -1; movingEnable = true; enableSimulation = true; controlsBackground[] = {}; objects[] = {}; class ITEM_FRAME: RscFrame { idc = 12800; x = 13.5 * GUI_GRID_W + GUI_GRID_X; y = 4 * GUI_GRID_H + GUI_GRID_Y; w = 11 * GUI_GRID_W; h = 12 * GUI_GRID_H; }; class RscButton_12600: BaseRscButton { idc = 12600; x = 14.5 * GUI_GRID_W + GUI_GRID_X; y = 5 * GUI_GRID_H + GUI_GRID_Y; w = 9 * GUI_GRID_W; h = 1 * GUI_GRID_H; }; class RscButton_12601: BaseRscButton { idc = 12601; x = 14.5 * GUI_GRID_W + GUI_GRID_X; y = 7 * GUI_GRID_H + GUI_GRID_Y; w = 9 * GUI_GRID_W; h = 1 * GUI_GRID_H; }; class RscButton_12602: BaseRscButton { idc = 12602; x = 14.5 * GUI_GRID_W + GUI_GRID_X; y = 9 * GUI_GRID_H + GUI_GRID_Y; w = 9 * GUI_GRID_W; h = 1 * GUI_GRID_H; }; class RscButton_12603: BaseRscButton { idc = 12603; x = 14.5 * GUI_GRID_W + GUI_GRID_X; y = 11.5 * GUI_GRID_H + GUI_GRID_Y; w = 9 * GUI_GRID_W; h = 1 * GUI_GRID_H; }; class RscButton_12604: BaseRscButton { idc = 12604; x = 14.5 * GUI_GRID_W + GUI_GRID_X; y = 14 * GUI_GRID_H + GUI_GRID_Y; w = 9 * GUI_GRID_W; h = 1 * GUI_GRID_H; }; }; I have yet to add 'action = "";' to the buttons. itemmenu.sqf createDialog "ItemMenu"; ctrlSetText[12600,format["Bargates: %1", bargateAmmount]];
  4. aaronhance

    need help with setDir

    Thanks a lot!
  5. aaronhance

    need help with setDir

    yes, no, yes.
  6. aaronhance

    need help with setDir

    Nope, still does not work. This is where it is called: //place bargate script - by [bB]Aaron if(side player == west)then{ if(bargateAmmount > 0)then{ bargateAmmount = bargateAmmount - 1; _veh = "Land_BarGate_F" createVehicle (position player); null = _veh execVM "rot.sqf"; removeBargate = _veh addAction ['Remove Bargate','rbg.sqf']; } else{ hint "You have no bargates!"; }; };
  7. I'm trying to set the rotation of a vehicle to the rotation of a player. So far I have the below, but it does not work. called via: setrot = _veh execVM "rot.sqf"; _veh = _this select 0; _veh setDir getDir player; _veh setPos getPos _veh;
  8. I'm making a vehicle/building spawn on the players location, but would it be possible to set the rotation equal to the players rotation?
  9. Thanks, I must have gone over it 5 or 6 times can't believe I missed it.
  10. I changed it to _this select 4 and put in the ammo class name. I've been using this http://forums.bistudio.com/showthread.php?113418-HandleDamage-EH-explained-%28-poor-man-s-getHit%29&highlight=event%20handler
  11. [/color] Tried it, but it does not work, :(
  12. I've tried the below, but no luck. this addEventHandler ["HandleDamage", {if (_this select 3 in ["hgun_P07_F"]) then {_this select 0}}]; Also if you have the time - http://forums.bistudio.com/showthread.php?161706-Need-help-with-vehicle-spawn-script
  13. Thanks again. :D ---------- Post added at 13:21 ---------- Previous post was at 13:18 ---------- The Script still doesn't work.
  14. I've been making a vehicle spawn script for my mission, but it does not want to work. //vehicle spawn script - by [bB]Aaron if(driversLicense == 1)then{ if((player getVariable "moneyHand") => 300)then{ player setVariabe ["moneyHand", ((player getVariable "moneyHand") - 300)]; _veh = "C_Quadbike_01_F" createVehicle (position player); vehiclelock = _veh addAction ['Unlock / Lock','veh\lock.sqf',[],7,true,true,'','(_target distance _this) < 4']; } else{ hint "You need more money!"; } } else{ hint "You need a license!"; }
×