some warnings I'd like to get rid of. - 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: some warnings I'd like to get rid of. (
/showthread.php?tid=138645)
some warnings I'd like to get rid of. -
Ragidon - 02.04.2010
pawn Код:
//zcmd
CMD:minigames( playerid,params[])
{
#pragma unused params
ShowPlayerDialog{playerid, 2, DIALOG_STYLE_LIST, "Choose a minigame", "Race \nDeathmatch \nSkydive", "Start", "Cancel");
return 1;
}
CMD:mg( playerid, params[])
{
#pragma unused params
return cmd_minigames(playerid, params);
}
Quote:
Untitled.pwn(342) : warning 203: symbol is never used: "mg"
Untitled.pwn(342) : warning 203: symbol is never used: "minigames"
|
Re: some warnings I'd like to get rid of. -
jonrb - 01.06.2010
Have you got
#include <zcmd>
at the top of your script?
some warnings I'd like to get rid of. -
[NoV]LaZ - 01.06.2010
pawn Код:
CMD:minigames( playerid,params[])
{
#pragma unused params
ShowPlayerDialog{playerid, 2, DIALOG_STYLE_LIST, "Choose a minigame", "Race \nDeathmatch \nSkydive", "Start", "Cancel");
return 1;
}
CMD:mg( playerid, params[] )
{
return cmd_minigames( playerid, params );
}
________
Asian live