some warnings I'd like to get rid of.
#1

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"

Reply
#2

Have you got
#include <zcmd>
at the top of your script?
Reply
#3

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
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)