Warning Symbol is never used?
#1

Hey guys hit a problem and I'm not seeing how to fix it. I know the script sees the symbol as not used, but I can't see why, can someone else take a quick look?

pawn Код:
warning 203: symbol is never used: "randcure"
pawn Код:
new randcure[10] = {
{pickup}, {pickup2}, {pickup3},{pickup4},{pickup5},
{pickup6},{pickup7}, {pickup8},{pickup9},{pickup10}
};
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    new RandCurePickup = random(sizeof(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)