2 modes

Started by BrYaN_FuRy, Aug 01, 2015, 07:48 AM

Previous topic - Next topic

BrYaN_FuRy

i am using seby custom menu but when ever i add this on requestclass it send one error

index ShowMenu does not exist
here is the code

CreateMenu("Choose World","Deathmatch","Racing", "Derby", "FreeRoam");
if( menu[0] ) menu[0].ShowMenu( player );

Mashreq

#1
Is there a function called 'ShowMenu' in your script?

Sebastian

#2
Did you add everything that needs to be in your main.nut file ?
Also make sure you have the S_CMS_v2.nut file in the correct directory.



As you see, by default, the "brain" of CMSS is set to be loaded from dofile( "scripts/S_CMSS_v2.nut" ).
Maybe your file is not located there, and that's why the file wasn't loaded.