number of arguments does not match definition
#1

i got an error when i add HouseData[Address]..I've add this for house address but when i compli i got this warring how to fix it?!?


PHP код:
    new label[256];
    if(!
strcmp(HouseData[id][Owner], "-")) {
        
format(labelsizeof(label), "{FF0000}[{E5E5E5}House For Sale{FF0000}] (ID: %d)\n{FFFFFF}%s\n{FF0000}Price: {2ECC71}$%s\n{FF0000}Address: {FFFFFF}%s"idHouseInteriorsHouseData[id][Interior] ][IntName], convertNumber(HouseData[id][Price] ,HouseData[Address])); 
Reply
#2

Because you're passing HouseData[Address]'s value to function convertNumber.
Reply
#3

Oh Thank you Problem sloved.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)