giving error this while running this code
'function ConsoleCommand' differs from original; different number of parameters
so pls correct me pls
Code:class SFMenuTutorial extends GFxMoviePlayer; var GFxClikWidget StartButton; var GFxObject MainMenuTitle; function bool Start(optional bool StartPaused = false) { super.Start(); Advance(0); MainMenuTitle = GetVariableObject("_root.textField"); MainMenuTitle.SetText("HELLO WORLD!"); return true; } event bool WidgetInitialized(name WidgetName, name WidgetPath, GFxObject Widget) { switch(WidgetName) { case ('startBtn'): StartButton = GFxClikWidget(Widget); StartButton.addEventListener('CLIK_press', OnStartButtonPress); break; default: break; } return true; } function OnStartButtonPress(GFxClikWidget.EventData ev) { ConsoleCommand("open DM-Deck"); } final function ConsoleCommand(string Cmd, optional bool bWriteToLog) { if (PlayerOwner != none) PlayerOwner.ConsoleCommand(Cmd, bWriteToLog); } defaultproperties { WidgetBindings.Add((WidgetName="startBtn",WidgetClass=class'GFxClikWidget')) }





Reply With Quote
every thing is working SIR but SIR there is still one prblm when my menu come there is no cursor but whn i saw ur video there is cursor nd also litlle confusion tht in ur video there is no spaces form top nd bottom but i mine there is little little spaces which showing ur room


Bookmarks