Results 1 to 1 of 1
  1. #1
    DylanSMR's Avatar
    Join Date
    Jul 2016
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0

    No Pixel Information

    Was digging through the files, decided to share some values, etc. Keep in mind some of this could be a tad out-dated due to my mission file being about a month old.

    Weed
    Code:
    WaterArray = ["WARNING: The leaves are fading!","WARNING: The dirt looks too dry!","WARNING: The plant is wiltering!"]; //When to water
    PruneArray = ["WARNING: Has too many leaves covering the buds!","WARNING: Looks overgrown!"]; //When to prune
    CoolArray2 = ["WARNING: Is getting brown spots on the leaves!","WARNING: Is drying out from the heat!"]; //When to cool
    HeatArray2 = ["WARNING: There is too much moisture!"]; //When to heat
    TurnoverArray = ["WARNING: The soil needs turning!"]; //When to turn
    
    Weed: "CG_WeedBag4","CG_WeedBag3","CG_WeedBag2","CG_WeedBag1"
    Heroin: "CG_Heroin"
    Cocaine: "CG_cocaine"
    Meth: "CG_MethBag100","CG_MethBag90","CG_MethBag80","CG_MethBag70","CG_MethBag60","CG_MethBag50"
    Growing Pot: "NP_GrowingPlot"
    Oil/Ores
    Code:
    Oil: "CG_OilBarrel"
    Copper: "np_copperore1"
    Iron: "np_ironore1"
    Silver: "np_sivlerore1"
    Fishing?
    Code:
    _rareFish = ["Fish_Mackerel_7", "Fish_Tuna_7", "Fish_Trout_Rare", "Fish_Shark_Rare"];
    _oreArray = ["Fish_Tuna_1","Fish_Tuna_2","Fish_Tuna_3","Fish_Tuna_4","Fish_Tuna_5","Fish_Tuna_6","Fish_Mackerel_1","Fish_Mackerel_2","Fish_Mackerel_3","Fish_Mackerel_4","Fish_Mackerel_5","Fish_Mackerel_6"];
    _barArray = ["np_fishmeat"];
    
    _farmingVehicles = ["POP_Speed_yatch","vvv_NewYacht"];
    Random Items/Snippets
    Code:
    [] spawn client_fnc_plantweed; // Plants weed remotely.
    [] spawn client_fnc_usedrugtable; // Plants meth table remotely.
    [_unit,_source] spawn client_fnc_tazed; //Adds taze based on source being(person who fired) and unit who is being acted upon. I think :P
    Cop Stuff
    Code:
    Spikes: "CG_Spikes_Collapsed"
    Baton: "cg_baton"
    Player Health/Drinks
    Code:
    ["remove","unhealthiness",1] call client_fnc_sustain; ["add","drink",100] call client_fnc_sustain; //Removes unhealthiness and Adds Water
    ["remove","unhealthiness",1] call client_fnc_sustain; ["add","food",100] call client_fnc_sustain; //Removes unhealthiness and Adds food
    [player,10] spawn drug_beer_effects; client_drunk = client_drunk + 2; //Creates drug effects
    Cash/Bank values
    Code:
    [_amount] call Client_fnc_addCash;
    [_amount] call Client_fnc_removeCash;
    
    [_amount] call Client_fnc_removeBank;
    [_amount] call Client_fnc_addBank;
    
    ["Remove",_amount] remoteexec ["server_fnc_updateMafiaBank",2];
    ["Add",_amount] remoteexec ["server_fnc_updateMafiaBank",2];
    
    [_amount] remoteExec ["Client_fnc_addBank",_player]; // Sends it to another player it seems. Client_fnc_addbank can probably be replaced with the above code.
    
    _cash = player getVariable "wallet"; 
    _bank = player getVariable "atm";
    Last edited by DylanSMR; 04-09-2017 at 02:47 AM.

Similar Threads

  1. First Look: WR Information AND Screenshots
    By Dave84311 in forum WarRock - International Hacks
    Replies: 33
    Last Post: 07-09-2006, 01:41 AM
  2. MPGH - Information
    By Dave84311 in forum General
    Replies: 22
    Last Post: 03-23-2006, 11:56 PM
  3. 2 Pixel Tutorial
    By Flawless in forum Tutorials
    Replies: 15
    Last Post: 02-21-2006, 02:53 PM