Warning Symbol is never used?
#2

You're not using the symbol. You should get rid of it if you don't need it, but if you really do need it and just want to get rid of the problem using a temporary fix, then you can use #pragma unused.

pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    new RandCurePickup = random(sizeof(randcure));
    #pragma unused randcure

    if(pickupid == RandCurePickup)
    {
        GivePlayerMoney(playerid,10000); // Just for the test
        SendClientMessage(playerid, COLOUR_RED, "JACKPOT" );
    }
    return 1;
}
Reply


Messages In This Thread
Warning Symbol is never used? - by Vero - 07.06.2012, 21:36
Re: Warning Symbol is never used? - by Calgon - 07.06.2012, 22:02
Re: Warning Symbol is never used? - by Vero - 08.06.2012, 14:15

Forum Jump:


Users browsing this thread: 1 Guest(s)