What's new
Roleplay UK

Join the UK's biggest roleplay community on FiveM and experience endless new roleplay opportunities!

  • The Official Roleplay UK 10 year pin badge has arrived, get one for yourself here Less than 10 left!

Selling Science Clothes

You can get these for free. You just drop the prisoner clothing and pick them up again when you get out of jail..

 
Both for 200k

You can get these for free. You just drop the prisoner clothing and pick them up again when you get out of jail..
Yeah but you have to go to prison in the first place... cba

 
Oh really.... we will look into that :p
player addEventHandler ["Take",{
_unit = _this select 0;
_container = _this select 1;
_item = _this select 2;

if(_item isEqualTo "U_OI_Scientist") then {
_nearObjects = nearestObjects [_container, [], 3];
_clear = true;
{
if(_x isKindOf "Man" && !alive _x) exitWith {
_clear = false;
};
} count _nearObjects;

if(!_clear) then {
_unit removeItem _item;
_container addItemCargoGlobal [_item, 1];
hint "You can't pick that up!"
};
};
}];


This should be the start of a fix it works but will  need refining

 
Back
Top