y_commands question
#1

Hello, I am wondering I can use a filterscript to all a command that's in the main script e.g:

mainscript:
pawn Код:
YCMD:togphone(playerid, params[], help) {
if(help){ return 1;}
SendClientMessage(playerid, -1, "Command 'togphone' called");
return 1;
}
filterscript:
pawn Код:
// >> Inside of OnDialogResponse
Command_ReProcess(playerid, "togphone", false);
Reply
#2

Like this setup?
CMD in main gamemode and on dialogresponse on filterscript?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)