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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Similar Content

    • By Tricks
      We are back! Ranked 7th overall in 2014! Classic DayZ Epoch PvP Server!! No stupid start bonus, no heavy military. Just classic Epoch gameplay with new updates!

       
      - Top of the Line Hardware - Overclocked 8700k servers with SSDs. Super high FPS!!

      - XP System & XP Trader - Acquire handy Perks, Skills, and Permits with our XP system!

      - Custom Traders - Totally custom traders unique to this server!

      - Military Bases - High Loot areas perfect for gearing up.

      - Custom Map Content - Aircraft Carriers, Secret Military Bases, New Towns, and more!

      - All The Major Mods - All the major mods like Coin System, Heli Evac, Hide from Zeds, and many more.

      - Lots of AI Missions - Challenging AI missions color-coded by difficulty.

      - Custom AI Missions for Groups - Static missions with super high difficulty and major loot rewards!

      - Realistic Loot Spawns - You wont find high-powered weapons while hunting for loot, realistic loot spawns.

      - No Heavy Weapons, Tanks, Attack Choppers, Jets - Just the classic Epoch vehicles with a few new additions!

      - Lots of Vehicles - Lots of vehicles scattered around the map. Some are ready to go, others need to be fixed first!

      - Base Building - Fully modular base building system with unique build items and crafting recipes.

      - Full Day/Night Cycle - Realistic day and night cycle, no stupid 24 hours daylight!!

      - Full Weather System - Rain, thunderstorms and snow in the winter!!

      - Destructible Base/Garage Doors - Base raiding without losing your whole base! Just the doors are destructible.

      - Abandoned Safes/Lockboxes - Abandoned bases will have their safes unlocked for you to raid!!

      - Fresh Server, All The Best Base Locations Still Available! - No more wipes, server is done and all progress will be saved.

      - Regular Updates/Suggestions Considered - Pass along ideas to the admin staff. We consider all changes.

      - Admin Events - Events with High Loot and great times! See pic below.

      - Active Admin Staff - Find us on Discord anytime or by email!





      Connect to us on DayZ Launcher or directly:

      [SHG]ClassicEpoch|XPSystem|CustomTraders|CustomAImissions|Coins|FPS++

      144.217.62.76:2302

      Discord: http://xn--discrd-zxa.com/join.php?v=OXHD95

      Email: [email protected]

      Website: Under construction


    • By Tricks
      I have been browsing the forums looking for unique mods to add to my server. I noticed Juandayz deleted a lot of his mods before leaving the community. Just curious if anyone has them all and would possibly repost them giving him full credit? I am particularly interested in his "Admin Skin" and "Debug" mods.
       
      Thanks community, here's hoping someone will step up!
    • By victorks
      my first work in editin :) https://uploaddeimagens.com.br/imagens/20180307202515_1-jpg https://uploaddeimagens.com.br/imagens/20180307202245_1-jpg DOWNLOAD: https://www.dropbox.com/s/oq97j7x59362kqe/CASTLEai.sqf?dl=0 AI M2 NEED WAI: https://pastebin.com/GJMnPvZP ON THE MAP: https://pastebin.com/cyqH9rNV  
       
      https://www.dropbox.com/s/oq97j7x59362kqe/CASTLEai.sqf?dl=0
       
       
       
       
       
       
       
       
       
    • By juandayz
      VIDEO:
      If (You dont have a custom compiles.sqf or a custom keyboard.sqf) exitWith { step1;}else{ proceed with step 2; } forEach user; 1-Making a custom compiles.sqf and custom keyboard.sqf
       
       
      2-In your CUSTOM!!! keyboard.sqf at bottom but before the last "_handled" paste:
      3-Create remote_key.sqf  (mpmissions\your instance\scripts\ )
       
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...