Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Process Action
- /* Funktion: _null = [2,"diamond",life_inv_diamondUncut] spawn life_fnc_AddActionToScript; */
- case 2:
- {
- _vendorName = (_this select 1);
- _processType = (_this select 2);
- _processItem = (_this select 3);
- if(!isNil "_vendorName" && !isNil "_processType" && !isNil "_processItem") then
- {
- if(_processItem > 0) then
- {
- if(!life_is_processing) then
- {
- [_vendorName,_processType] spawn life_fnc_processAction
- } else {
- hint "Du bist schon am Vearbeiten."
- };
- } else {
- hint "Du hast nicht genug dabei zum Verarbeiten!"
- };
- };
- };
- // Lizenzen
- /* Funktion: _null = [3,"driver",license_civ_driver] spawn life_fnc_AddActionToScript; */
- case 3:
- {
- _lizenzBuyName = (_this select 1);
- _hatLizenz = (_this select 2);
- if(!isNil "_lizenzBuyName" && !isNil "_hatLizenz") then
- {
- if(!_hatLizenz) then
- {
- [_lizenzBuyName] spawn life_fnc_buyLicense;
- } else {
- hint "Du hast die Lizenz schon!"
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement