Jump to content

THE Z-IMS


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"];

 

Link to comment
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 

Link to comment
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;                 

 

 

Link to comment
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

Link to comment
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
  • Discord

×
×
  • Create New...