Code:
eklenti.sma(9266) : error 034: argument does not have a default value (argument 3)
eklenti.sma(9266) : error 088: number of arguments does not match definition
my server does not support amxx 1.8.3. The plugin was created with 1.8.3. I'm converting the plugin to 1.8.2 It gives errors. I fixed some bugs. How can I resolve this error?
HTML Code:
new Data[6], key;
new sz_name[32]
get_user_name(id, sz_name, 31)
menu_item_getinfo(menu, item, _, Data, charsmax(Data)); // error line
key = str_to_num(Data);
switch(key) {
case 1: {
score[CT]++
ColorChat(0,YELLOW, "^x04%s^x03 isimli Admin, ^x04Juventus FC ^x03'nin skorunu^x03 arttirdi.", sz_name)
}
case 2: {
score[CT]--
ColorChat(0,YELLOW, "^x04%s^x03 isimli Admin, ^x04Juventus FC ^x03'nin skorunu^x03 azaltti.", sz_name)
}
case 3: {
score[T]++
ColorChat(0,YELLOW, "^x04%s^x03 isimli Admin, ^x04M.United ^x03'in skorunu^x03 arttirdi.", sz_name)
}
case 4: {
score[T]--
ColorChat(0,YELLOW, "^x04%s^x03 isimli Admin, ^x04M.United ^x03'in skorunu^x03 azaltti.", sz_name)
}
}