Debug
07-20-2013, 09:42 PM
Hi, when I want to call the public, I get an error: Public with name _test does not exist
code:
//OnGameModeInit
CallPublic ( cmdname, ID, " " ) ; //cmdname = "_test"
//separate public
forward _test( playerid, params { } ) ;
public _test( playerid, params { } ) { return print ( "Test Command" ) ;}
debug log: https://pastebin.com/078tjL6u
code:
//OnGameModeInit
CallPublic ( cmdname, ID, " " ) ; //cmdname = "_test"
//separate public
forward _test( playerid, params { } ) ;
public _test( playerid, params { } ) { return print ( "Test Command" ) ;}
debug log: https://pastebin.com/078tjL6u