Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ([["ItemGoldBar",3]] call player_checkAndRemoveItems) then {
- _box1 = createVehicle ["USVehicleBox",[coord1,coord2,0],[], 0, "CAN_COLLIDE"];
- clearWeaponCargoGlobal _box1;
- clearMagazineCargoGlobal _box1;
- _box1 addWeaponCargoGlobal ["ItemGoldBar",5];
- cutText[format["Box has been spawned within 5 meters"], "PLAIN DOWN"];
- } else {
- cutText[format["U don't have the required ammount of gold.."], "PLAIN DOWN"];
- };
Advertisement
Add Comment
Please, Sign In to add comment