You can put the code in a format like this (With the brackets [ ]:
CODE
(Code Here]
/CODE
Makes it a bit more appealing to read, also I think the newsbanner script is wrong; don't know much about scripting though.
hello guys iv been working on a custom menu for myself that bring wasteland and dayz into one menu so i dont have to switch between them and im haveing problem with two scripts
1. money: img = img + [""]; option = option + [" Money","wasteland\money.sqf","1","0","0"];
the script itself: https://pastebin.com/7KzJ01LC
2. news banner: img = img + [""]; option = option + [" News Broadcast","newsbanner.sqf","0","0","0"];
script itself: https://pastebin.com/4FkdMrgr
they seem not to work in game
You can put the code in a format like this (With the brackets [ ]:
CODE
(Code Here]
/CODE
Makes it a bit more appealing to read, also I think the newsbanner script is wrong; don't know much about scripting though.
Your money script wont work on wasteland, it wont do anything.
I havnt seen that newsbanner scripts work on wasteland either
Money script isn't working as it's for Takistan Life. The newsbanner is not working because of wastelands way to block it somehow or because of a scripting error which I am unable to check for since you have not put the code in a code format :P (Check post above to see how to)
Last edited by qaper123; 01-27-2013 at 09:32 PM.
diehardx95 (01-28-2013)
i hope this works because it wont let me edit the og
thank you for making that simpler, i am new so my bad for the stupid shitAll you need to do is "CODE" "/CODE" and replace quotes with [ and ] then put the code in between.
money:news banner:Code:["moneh",5000000] call INV_addinventoryitem; hint "Money is added Enjoy";Code:if (isNil "nb") then { nb = 0; }; if (nb == 0) then { nb = 1; hint "Begin Project... 123"; _text = "["123", "123"] spawn BIS_fnc_infoText;"; [_text] execVM "scr\exec.sqf"; _news = "[parseText ""<t size='2.3' color='#00FF00'>123</t><br/><t color='#00FFFF'>test</t>"",parseText ""<t size='1.5' color='#FE2E2E'>|:3 </t><t size='1.5' color='#FACC2E'>|:3 </t><t size='1.5' color='#80FF00'>|:3 </t><t size='1.5' color='#00FF00'>|:3 </t><t size='1.5' color='#2EFE9A'>|:3 </t><t size='1.5' color='#00FFFF'>|:3 </t><t size='1.5' color='#0174DF'>|:3 </t><t size='1.5' color='#013ADF'>|:3 </t><t size='1.5' color='#3A01DF'>|:3 </t><t size='1.5' color='#A901DB'>|:3 </t><t size='1.5' color='#DF0174'>|:3 </t><t size='1.5' color='#00FFFF'>|:3 </t>""] spawn BIS_fnc_AAN;"; sleep 3; [_news] execVM "scr\exec.sqf"; sleep 3; _vid = "[""\ca\video_pmc\CP10b_reynolds.ogv"", 1.04] spawn BIS_fnc_customGPSvideo;"; [_vid] execvm "scr\exec.sqf"; } else { nb = 0; hint "Ending Project... |:3"; _news = "3000 cutRsc [""Default"", ""PLAIN"", 2];"; [_news] execVM "scr\exec.sqf"; };
Alright honestly I can't see what's wrong with the news banner. If you want to I can give you the code from my working one and you could edit that to whatever you like?
I believe the newsbanner isn't working, but not sure.