14.04.2014, 19:19
help!
Код:
error 025: function heading differs from prototype
Код:
public MotozasTimer(targetid) <<ERROR
{
if(IsPlayerConnected(targetid))
{
new kotszer = PlayerInfo[targetid][pKotszer];
new cigi = PlayerInfo[targetid][pCigi];
new kaja = PlayerInfo[targetid][pKaja];
new orvossag = PlayerInfo[targetid][pOrvossag];
new marihuana = PlayerInfo[targetid][pMarihuana];
new kokain = PlayerInfo[targetid][pKokain];
new heroin = PlayerInfo[targetid][pHeroin];
new opciok[512];
format(opciok, 512,"Mennyisйg\t\tNйv\n\
%d\t\t\tKцtszer\n\
%d\t\t\tSzendvics\n\
%d\t\t\tCigaretta\n\
%d\t\t\tMELOXON 15 mg tabletta\n\
%d\t\t\tMarihuana\n\
%d\t\t\tKokain\n\
%d\t\t\tHeroin\n",kotszer,kaja,cigi,orvossag,marihuana,kokain,heroin);
ShowPlayerDialog(targetid, DIALOG_MOTOZAS, DIALOG_STYLE_LIST, "Tбrgyak a szemйlynйl", opciok, "Ok", "Mйgsem");
}
TogglePlayerControllable(targetid, 1);
ClearAnimations(targetid);
return 1;
}

