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
      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\ )
       
    • By juandayz
      ALL CREDITS FOR @Sandbird
      Walk Amongst The Dead - (Hide from zombies like "The Walking Dead")
      original post 1.0.5.1
       
      *Allow players to walk through zeds and they dsnt been detected.
      *The diference with the old walk amongst is that you get the cammo directly from zeds, not using itemzombiepart.
      *Also i remove the rain wash (sory sandbird) (this was awesome but burn my brain ) but i added an option to wash the cammo in  lakes.
      *Another diference is when you shoot a weapon the cammo go away inmediatly, and the icon is diferent.
       
      INSTALL:
      1-init.sqf
       
       
      2- Description.ext  (ONLY IF URE USING COINS)
       
      3-custom fn_selfactions.sqf
      4-custom Variables.sqf
      5-Download from here:  http://www.mediafire.com/file/9d74axmfym1tz16/zedutility.rar
      and place the "zedutility" folder into mpmissions\the instance that youreusing\scripts\
       
      6- Open the config.sqf located in \zedutility\walkamongstthedead\  to add more or less time to your cammo before he wash automatically
      DZ_ZCAMO_USE_TIME = 30;//30 seconds for default.  
       
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...