how to return a callback on dcmd - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: how to return a callback on dcmd (
/showthread.php?tid=408707)
how to return a callback on dcmd - Patrick - 19.01.2013
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?
Re: how to return a callback on dcmd - Patrick - 19.01.2013
Problem Fixed
By: Me
Topic Closed
sorry for double posting
Re: how to return a callback on dcmd -
Diorturato - 19.01.2013
This is just a warning, not error.