07.06.2012, 21:36
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;
}