Jump to content

Recommended Posts

if dsnt work.. try replace this code in fn_selfactions.sqf

Spoiler

if (needsex) then {
if (_cursorTarget isKindOf ["Hooker1","Hooker2","Hooker3","Hooker4"]) then {
if (s_player_hooksex < 0) then {
s_player_hooksex = player addAction [("<t color=""#3399cc"">" + ("Hooker Sex!") + "</t>"), "scripts\zims\sexscripts\sexhooker.sqf",cursorTarget, 0, false, true, "",""];};
} else {
player removeAction s_player_hooksex;
s_player_hooksex = -1;
};
};

 

by:

Spoiler

if (needsex) then {
if((typeOf _cursorTarget) in DZE_Hookers)then{
if (s_player_hooksex < 0) then {
s_player_hooksex = player addAction [("<t color=""#3399cc"">" + ("Hooker Sex!") + "</t>"), "scripts\zims\sexscripts\sexhooker.sqf",cursorTarget, 0, false, true, "",""];};
} else {
player removeAction s_player_hooksex;
s_player_hooksex = -1;
};
};

 

and in somewhere of your custom variables.sqf (dsnt matter where) add:

DZE_Hookers =["Hooker1","Hooker2","Hooker3","Hooker4"];

 

Share this post


Link to post
Share on other sites
1 hour ago, juandayz said:

if dsnt work.. try replace this code in fn_selfactions.sqf

  Hide contents


if (needsex) then {
if (_cursorTarget isKindOf ["Hooker1","Hooker2","Hooker3","Hooker4"]) then {
if (s_player_hooksex < 0) then {
s_player_hooksex = player addAction [("<t color=""#3399cc"">" + ("Hooker Sex!") + "</t>"), "scripts\zims\sexscripts\sexhooker.sqf",cursorTarget, 0, false, true, "",""];};
} else {
player removeAction s_player_hooksex;
s_player_hooksex = -1;
};
};

 

by:

  Hide contents


if (needsex) then {
if((typeOf _cursorTarget) in DZE_Hookers)then{
if (s_player_hooksex < 0) then {
s_player_hooksex = player addAction [("<t color=""#3399cc"">" + ("Hooker Sex!") + "</t>"), "scripts\zims\sexscripts\sexhooker.sqf",cursorTarget, 0, false, true, "",""];};
} else {
player removeAction s_player_hooksex;
s_player_hooksex = -1;
};
};

 

and in somewhere of your custom variables.sqf (dsnt matter where) add:


DZE_Hookers =["Hooker1","Hooker2","Hooker3","Hooker4"];

 

ty for quick post have put it in server this one works no errors  gonna make players very happy tyvm im off to work now  love this not sure y more servers not running this script 

Share this post


Link to post
Share on other sites
Just now, saskiwi said:

ty for quick post have put it in server this one works no errors  gonna make players very happy tyvm im off to work now  love this not sure y more servers not running this script 

try this one if u want that hooker ask for money

sexhooker.sqf

Spoiler

private ["_cost","_coins","_humanity","_ImUsingCoins"];

_ImUsingCoins = true;//set as false if ure using gold system

if (_ImUsingCoins) then {
_cost = 500;
_coins = player getVariable [Z_moneyVariable,0];
if (_coins < _cost) exitWith {
    cutText[format["You need %1 coins",_cost], "PLAIN DOWN"];
};

systemChat format["HOOKER:%1 you pay %2 coins",name player,_cost]; 
player setVariable[Z_moneyVariable, (_coins - _cost), true];
}else{
_cost = "ItemSilverBar10oz" in magazines player;
if !(_cost) exitWith {
	cutText [format["You needs 1x ItemSilverBar10oz."], "PLAIN DOWN"];
};
player removeMagazine "ItemSilverBar10oz";	
};
                   
 player removeAction s_player_hooksex;
s_player_hooksex = -1;
disableuserinput true; disableuserinput true; disableuserinput true;
cutText ["TAKE YOUR TIME LIL PIG", "BLACK FADED"];
_humanity = player getVariable['humanity',0];
player setVariable['humanity',_humanity+20,true];
systemChat ("that hooker smell like haven");
sleep 5;
titleCut ["", "BLACK IN", 5];
disableuserinput false;disableuserinput false;disableuserinput false;
needsex = false;                 

 

 

Share this post


Link to post
Share on other sites
49 minutes ago, juandayz said:

try this one if u want that hooker ask for money

sexhooker.sqf

  Hide contents


private ["_cost","_coins","_humanity","_ImUsingCoins"];

_ImUsingCoins = true;//set as false if ure using gold system

if (_ImUsingCoins) then {
_cost = 500;
_coins = player getVariable [Z_moneyVariable,0];
if (_coins < _cost) exitWith {
    cutText[format["You need %1 coins",_cost], "PLAIN DOWN"];
};

systemChat format["HOOKER:%1 you pay %2 coins",name player,_cost]; 
player setVariable[Z_moneyVariable, (_coins - _cost), true];
}else{
_cost = "ItemSilverBar10oz" in magazines player;
if !(_cost) exitWith {
	cutText [format["You needs 1x ItemSilverBar10oz."], "PLAIN DOWN"];
};
player removeMagazine "ItemSilverBar10oz";	
};
                   
 player removeAction s_player_hooksex;
s_player_hooksex = -1;
disableuserinput true; disableuserinput true; disableuserinput true;
cutText ["TAKE YOUR TIME LIL PIG", "BLACK FADED"];
_humanity = player getVariable['humanity',0];
player setVariable['humanity',_humanity+20,true];
systemChat ("that hooker smell like haven");
sleep 5;
titleCut ["", "BLACK IN", 5];
disableuserinput false;disableuserinput false;disableuserinput false;
needsex = false;                 

 

 

works a1 tyvm

20170919005638_1.jpg

Share this post


Link to post
Share on other sites

im sure if u add hookers to script as an update many ppl would like it script runs awesome ty, players were happy about having them work and asked if  there was a way to make cost coins. i have told them it tkx to u and will place credit for script to u on our website with other script credits

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Similar Content

    • By juandayz
      *Allow players to attach zombies in open vehicles class.   

      *To make it the players gonna need an "equipe_rope" in inventory.
      *Be near of a vehicle type in this list
      _allowedVehicles = [ "hilux1_civil_3_open_DZE", "datsun1_civil_3_open_DZE", "hilux1_civil_1_open_DZE", "datsun1_civil_1_open_DZE", "V3S_Open_TK_CIV_EP1", "V3S_Open_TK_EP1", "KamazOpen_DZE" ]; *Aim to a zed to get the option "attachZed"
      *When players detach zeds, they (zeds) comes with 15seconds of godmode. and while they are attached have a godmode.
      *Vehicles in _allowedVehicles have the option to release zeds from inside.
      INSTALL:
      1-create this path mpmissions\your  instance\attachzeds\
      2-in this new path create this sqfs
      attachzed.sqf
      detachzed.sqf
      create detachzed_veh.sqf
      3-now go to your custom fn_selfactions.sqf   (this part is based on takes clothes and salival´s bury /butcher)
      4-in a custom variables.sqf if u have some kind of error on rpt about undefined variable  ..find:
      dayz_resetSelfActions = { below add:
      s_player_zhide4 = -1; s_player_zhide5 = -1;  
    • By Zoranth
      Based on Hacked Vehicles release by @Bricktop and Additional code by @Hooty from here:
      This is my first release
      This mod and code is not all my original work. 
      Credits to: 
      @Bricktop for the "Hacked Vehicles" https://epochmod.com/forum/topic/43750-hacked-vehicles-1061/
      @Hooty for his input in Bricktop's release on how to install it differently and to add support for Virtual Garage.
      What I did is took their information and made it modular and easier to install / customize. This way, you just need to #include which weapon systems you want to add into each vehicle that you want to modify.
      >> DOWNLOAD HERE <<  CURRENTLY ON HOLD DUE TO UNFORESEEN ERROR
      Install Directions:
      1.    Copy the Vehicle_Weapons directory into the root of your dayz_server directory
      2.    Next paste
      #include "\z\addons\dayz_server\Vehicle_Weapons\Add_Vehicle_Weapons.sqf";    in dayz_server\system\sever_monitor.sqf under
      3.    Then paste
      #include "\z\addons\dayz_server\Vehicle_Weapons\Add_Vehicle_Weapons.sqf";  in dayz_server\compile\server_publishVehicle2.sqf under
      4.    Then paste
      #include "\z\addons\dayz_server\Vehicle_Weapons\Add_Vehicle_Weapons.sqf";   in dayz_server\compile\spawn_vehicles.sqf under
      Installation with Virtual Garage:
      If you have @salival's Virtual Garage installed then add :
      #include "\z\addons\dayz_server\Vehicle_Weapons\Add_Vehicle_Weapons.sqf";   to dayz_server\compile\garage\server_spawnVehicles.sqf under
      How To Customize:
      If you would like to create your very own weapons pack for a vehicle, use the following instructions:
      1. Make a copy of "\z\addons\dayz_server\Vehicle_Weapons\vehicles\Generic_Add_Weapon.sqf" rename it like "<vehicle_classname>_Add_Weapons.sqf". Replace the <vehicle_classname> with the actual classname of the vehicle you want to add weapons to.
      2. Comment out or Delete the Weapon_Systems that you do not want to use on your new vehicle.
      3. Make a new #include "\z\addons\dayz_server\Vehicle_Weapons\vehicles\<Class_Name>_Add_Weapons.sqf"; line with your new vehicle file and add it to "\z\addons\dayz_server\Vehicle_Weapons\Add_Vehicle_Weapons.sqf";
      4. In the new vehicle file you just made.  Rearrange the Weapon_Systems in an order that makes sense to you. For example, list all guns, then all missiles so they are grouped together in your scroll menu for easier selection.
      Adding / Restricting an Ammo Type
      For Weapon_Systems that have multiple ammo types, You can go into that specific file and comment out an ammo type or make an extra file with just the ammo you want if you want to restrict it from your server. Example:
      In the file: "\z\addons\dayz_server\Vehicle_Weapons\Vehicles\Weapon_Systems\D81_125mm_Cannon.sqf". You could comment out an Ammo Type as shown Below.
      If you do this, you will want to save that as a new file such as : "D81_125mm_Cannon_SABOT_ONLY.sqf.
      List of Vehicle Weapons and Ammo:
      WARNING: Not all Weapon Systems work with all vehicles. For example, You obviously do not want to put a "GBU12_Bomb_Launcher" on an "ArmoredSUV_PMC", or "MLRS Rocket System" on the "ArmoredSUV_PMC".
      These weapons spawn on the vehicle when purchased and remain after restart.  This does not work with admin spawned vehicles nor does it work (for now) with the Deploy Anything Mod.  I do not have Virtual Garage installed on my test server,so I am unable to test that but it should work.
      Have Fun
    • By juandayz
      This is a starter pack (box-crate filled with custom loot). (Basically add a scroll menu option in fresh spawns to spawn a crate)
      Was taked from a lost question in scripting section. Upload it here to not lost the script in the other section.
      Original Post:
       
      INSTALL FOR ESSV3 USERS:
       
      INSTALL FOR NON ESSV3 USERS.
      Remember suicide you until test it.. cuz only fresh spawns are allowed to spawns crates.
      *Note: If u only wants to add the crate to new players on server then :
      in init.sqf change: ( by @salival)
      PVCDZ_plr_Login select 2 or 3 by:
      PVCDZ_plr_Login select 8  
    • By juandayz
      NEW WAY: USING KEYBOARD AND ONE SINGLE FILE
      Lock/unlock/start/shutdown engine vehicles just pressing "E" key.. (range of action 50mts).
      vid:
       
      INSTALL
       
      OPTIONAL IF U WANT GOD MODE ON LOCKED VEHICLES.  (  by @Cherdenko )
      1-open your custom compiles.sqf find:
       
      OLD WAY: USING RIGHT CLICK ACTIONS
       
    • By juandayz
      EPOCH NUCLEAR WARS IS A MOD WHO USES ALL EPOCH FILES LIKE A SERVER PACKAGE. SO FOR INSTALL IT YOU ONLY NEED A DATABASE,A FRESH SERVER FILES AND OVERWRITE EVERYTHING WITH NUCLEAR WARS FILES.
      MISSION FILE CACHE SIZE:  less than 500kb
      RUNNING ON: Zargabad && Takistan Map.  (Sauerland in a future).  (Maps comes by default with arma.. so players dont need externals downloads).
      *WHAT THINGS HAVE NUCLEAR WARS?
       
      DOWNLOAD AND INSTALL GUIDE:
       
      VIDEO
       
  • Advertisement
  • Donation Box

    Please donate to support the community.
    We appreciate all donations!
  • Advertisement
  • Supporters
  • Latest Donations

  • Advertisement
  • Discord

×