how to put return cmd(playerid, params); in ondialogresponse?
#1

hey everybody,

how can i put
pawn Код:
return cmd_lsa(playerid, params);
in ondialogresponse? cuz everytime i do that it says undefined symbol "params"...

greets niels
Reply
#2

pawn Код:
return cmd_lsa(playerid, "");
There is no params parameter in OnDialogResponse.
Reply
#3

and this wont cause any trouble, this will work?
Reply
#4

Indeed it will work OnDialogResponse have no params for returning cmd.
Reply
#5

but do i have to put anything between the ""?
Reply
#6

No. You don't have to.
Reply
#7

Just look at the function of "OnDialogResponse"; unless there won't be any "params" included, simply put in what Jarnu said: " "

Remember; this rule takes place for ANY function which doesn't include "params"!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)