Jump to content

Anti-Duping by JustBullet | AWCLOTHES


JustBullet

Recommended Posts

AWCLOTHES BY JUSTBULLET

ver. 1.0.3

info: Can not change clothes near the place of storage and vehicles.

 

Instructions:

add in player_wearClothes.sqf:

after:

private ["_item","_onLadder","_hasclothesitem","_config","_text","_myModel","_itemNew","_currentSex","_newSex","_model","_playerNear"];

this code:

//////////////////////////////////////////////////
/////////////* Author by JustBullet */////////////
//             AWClothes ver. 1.0.3             //
//////////////////////////////////////////////////
 
_storage = [
"TentStorage","TentStorageDomed","TentStorageDomed2","Wooden_shed_DZ",
"WoodShack_DZ","StorageShed_DZ","WoodCrate_DZ","DebugBoxPlayer_DZ","OutHouse_DZ",
"GunRack_DZ","DZ_Patrol_Pack_EP1","CZ_VestPouch_EP1","DZ_ALICE_Pack_EP1",
"DZ_Assault_Pack_EP1","DZ_Backpack_EP1","DZ_British_ACU","DZ_CivilBackpack_EP1",
"DZ_Czech_Vest_Puch","DZ_TK_Assault_Pack_EP1","DZ_TerminalPack_EP1",
"DZ_GunBag_EP1","DZ_LargeGunBag_EP1"
];
_AllVehicles = count nearestObjects [player, ["AllVehicles"], 10];
{
    if ((typeOf _x in DZE_LockableStorage) || (typeOf _x in _storage)) exitWith {DZE_ActionInProgress = true;};
} foreach (nearestObjects [player, ["All"], 10]);
if ((DZE_ActionInProgress) || (_AllVehicles > 1)) exitWith {systemchat "You can not change clothes near the place of storage and vehicles."; DZE_ActionInProgress = false;};

P.S. I can`t make the description because i am do not know English well enough. If you do not difficult to help me with this.

 

****************************************************

 

Link to comment
Share on other sites

  • 1 year later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...