Raised This Month: $ Target: $400
 0% 

plugin error


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
serhat2110
Junior Member
Join Date: May 2020
Old 12-06-2021 , 00:50   plugin error
Reply With Quote #1

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)
	}
}
serhat2110 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:47.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode