stock variables? - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: stock variables? (
/showthread.php?tid=239016)
stock variables? -
legodude - 12.03.2011
pawn Код:
stock foo(bar[])
{
print(bar);
return 1;
}
if thats not used it won't produce warnings.
how to create it so that this:
pawn Код:
stock foo(bar[])
{
print("bar isnt used here");
return 1;
}
won't produce warnings too.
i can't use #pragme unused bar here
help me please!
Re: stock variables? -
dice7 - 12.03.2011
then use it
Re: stock variables? -
legodude - 12.03.2011
i can
't use it. since its in a define. i sometimes must use it and sometimes not so it must be optional