Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (isServer) then
- {
- [] spawn {
- while {1 == 1} do
- {
- sleep 600;
- {
- _obj = _x;
- if (!isNull _obj) then
- {
- _characterID = _obj getVariable ['CharacterID','0'];
- if (_characterID == '0') then
- {
- _count = {isPlayer _x} count (_obj nearEntities 150);
- if (_count == 0) then
- {
- _objectID = _obj getVariable['ObjectID','0'];
- _objectUID = _obj getVariable['ObjectUID','0'];
- deleteVehicle _obj;
- [_objectID,_objectUID] call server_deleteObj;
- };
- };
- };
- } forEach (Entities 'Old_bike_TK_INS_EP1');
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement