Jump to content

Gonobob

Member
  • Content Count

    26
  • Joined

  • Last visited

  • Medals

Community Reputation

1 Neutral

About Gonobob

  • Rank
    Private First Class
  1. ok, and how can i spawn item (without createVehicle) and setvariable on it?
  2. Hi all i have a big trouble with 'setvariable on item spawned into WeaponHolder' my script(only on server-side) #define _locStart1 [13495.3,4470.54,0.001] _itemBible = "ItemBookBible"; _isSpawned = 0; while {true} do { _date = date; If ( _isSpawned == 0 ) then { _qPack = createVehicle ["WeaponHolder", _locStart1, [], 0, "NONE"]; _qPack addMagazineCargoGlobal ["ItemBookBible",1]; _isSpawned = 1; _result = getMagazineCargo _qPack; { if ((_x select 0) == _itemBible) then { _iBible = _x select 0; _iBible setVariable ["spawned", _date, true]; //_var = _x getVariable ["spawned",-1]; diag_log "_x2"; }; } foreach _result; }; }; i have an error with _x(it is STRING type), but setvariable only on OBJECT i think Can anyone help with this? Or may be need another way to do this Thanks (sorry for bad english)
  3. hi all i'm trying to make new skins in config.cpp and get error Bad Vehicle Type can anyone help me with this? sorry for bad english Thanks. class CfgPatches { class dayz_server { units[] = {"Ins_Soldier_Base","YourTag_test_objs","Bot_Sniper"}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"dayz_code","CACharacters2","CACharacters"}; }; class CfgVehicleClasses { class YourTag_test_objs { displayName = "Test Objects"; }; }; class CfgVehicles { class Ins_Soldier_Base; class Bot_Sniper: Ins_Soldier_Base { displayName = "BOT_Sniper"; vehicleClass = "YourTag_test_objs"; model = "\ca\characters2\civil\Pilot\Pilot"; side = 1; weapons[] = {"Throw","Put"}; backpack = ""; magazines[] = {}; respawnWeapons[] = {"Throw","Put"}; respawnMagazines[] = {}; weaponSlots = "1 + 4 + 12* 256 + 2* 4096 + 2 + 8* 16 + 12*131072"; canHideBodies = 1; }; };
  4. hi all how can i change inventory color? like this http://puu.sh/38MVw.jpg Thanks
  5. how it is possible to disable MAP and GPS completely?
  6. Hi all, how can i send cuttext or titletext to all players on the server? Thanks
  7. i have a question ) Can i create parameter in mpmission like units = ["1","2","3"]; and get this "units" into my addon?
  8. i have a question ) Can i create parameter in mpmission like units = ["1","2","3"]; and get this "units" in my addon?
  9. i have another question ) Can i create parameter in mpmission like units = ["1","2","3"]; and get this "units" in my addon?
  10. Hi all, I have a problem) I need to start and stop script executing when i bress one button on keyboard. if (_dikCode == 0x0D) then { _nill = execvm "player_do.sqf"; }; and player_do.sqf; while {true} do { player playMove ""; sleep .1; }; its working, but i need: press button = start hint infinitely press second time = stop player_do.sqf Thanks))
  11. thx, i have another question =)) how to make check on flatness of a surface? ))) cant find this functions but i saw it))))
  12. where can i find animation classes for example?
  13. Is it possible to increase player movement speed? any ideas?
×