09.07.2014, 14:20
Hi, I have a problem with this code:
DRUG_GRAM_PRICE is already defined as being 500
The warnings:
What is wrong? Please help me.
DRUG_GRAM_PRICE is already defined as being 500
pawn Код:
new pdrg = PDrugs[playerid][pDrugs];
new dprice = DRUG_GRAM_PRICE;
new dworth = pdrg * dprice;
ShowPlayerDialog(playerid, MY_DRUGS_MENU, DIALOG_STYLE_MSGBOX,"{006600}Your drug stats:","{00FF00}Drugs: %dg\n{00FF00}Drugs worth: %d","Ok", PDrugs[playerid][pDrugs], dworth);
Код:
C:\Users\Cretu\Desktop\Testing Server\filterscripts\dsystem.pwn(277) : warning 202: number of arguments does not match definition C:\Users\Cretu\Desktop\Testing Server\filterscripts\dsystem.pwn(276) : warning 204: symbol is assigned a value that is never used: "dworth" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Warnings.