SA-MP Forums Archive
Some warning about y_commands - 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: Some warning about y_commands (/showthread.php?tid=554481)



Some warning about y_commands - bigboy81 - 03.01.2015

Код:
warning 218: old style prototypes used with optional semicolumns
warning 203: symbol is never used: "params"
Warning on line

Код:
YCMD:startsweep(playerid, params[], help)
i try
Код:
#pragma unused params
but don't work
also i try put
Код:
#pragma unused help
together under bud also don't work


Re: Some warning about y_commands - ikkentim - 03.01.2015

A quick search shows me that it might have something to do with compile parameters. Did you change the compile parameters?


Re: Some warning about y_commands - bigboy81 - 04.01.2015

what is the compile parameters i don't change nothing about that


Re: Some warning about y_commands - Translator - 04.01.2015

Try this;

pawn Код:
YCMD:startsweep(playerid, params[])



Re: Some warning about y_commands - Crayder - 04.01.2015

Quote:
Originally Posted by Translator
Посмотреть сообщение
Try this;

pawn Код:
YCMD:startsweep(playerid, params[])
Dont try this, YCMD most definitely does have a help param. But what you could try is
pawn Код:
CMD:startsweep(playerid, params[])
ZCMD is plug-n-play so this will use YCMD but it looks like ZCMD.


Re: Some warning about y_commands - bigboy81 - 04.01.2015

Not work and Bump


Re: Some warning about y_commands - bigboy81 - 04.01.2015

Fixed