how to return a callback on dcmd
#1

can anyone help me with my problem?

Code:
pawn Код:
dcmd_startmb(playerid, params[]) return MoneyBag();// i know params and player id is not used
Error:
pawn Код:
warning 203: symbol is never used: "params"
warning 203: symbol is never used: "playerid"
or i will do this? but i dont know if this is right
pawn Код:
dcmd_startmb(playerid, params[])
{
    #pragma unused params
    #pragma unused playerid
    MoneyBag();
    return 1;
}
is there any possible way than that? to shorter the code?
Reply
#2

Problem Fixed
By: Me
Topic Closed
sorry for double posting
Reply
#3

This is just a warning, not error.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)