Quote:
Originally Posted by Natsheh
Listen ill explain more easily remove every line you get error of.
Remove #include jailbreak_core line from the script..
|
So, First i removed #include jailbreak_core line from the script
Then when i tried to compile it this happened:
// ----------------------------------------
//// jb_ctban.sma
// C:\Users\sampl\OneDrive\Desktop\jb\addons\amx modx\scripting\jb_ctban.sma(29) : error 017: undefined symbol "register_jailbreak_mmitem"
// C:\Users\sampl\OneDrive\Desktop\jb\addons\amx modx\scripting\jb_ctban.sma(49) : error 017: undefined symbol "TEAM_GUARDS"
// C:\Users\sampl\OneDrive\Desktop\jb\addons\amx modx\scripting\jb_ctban.sma(69) : error 017: undefined symbol "cprint_chat"
// C:\Users\sampl\OneDrive\Desktop\jb\addons\amx modx\scripting\jb_ctban.sma(71) : error 017: undefined symbol "cprint_chat"
// C:\Users\sampl\OneDrive\Desktop\jb\addons\amx modx\scripting\jb_ctban.sma(129) : error 017: undefined symbol "cprint_chat"
// C:\Users\sampl\OneDrive\Desktop\jb\addons\amx modx\scripting\jb_ctban.sma(142) : error 017: undefined symbol "cprint_chat"
// C:\Users\sampl\OneDrive\Desktop\jb\addons\amx modx\scripting\jb_ctban.sma(186) : error 017: undefined symbol "TEAM_GUARDS"
// C:\Users\sampl\OneDrive\Desktop\jb\addons\amx modx\scripting\jb_ctban.sma(203) : error 017: undefined symbol "cprint_chat"
// C:\Users\sampl\OneDrive\Desktop\jb\addons\amx modx\scripting\jb_ctban.sma(215) : error 017: undefined symbol "cprint_chat"
//
// 9 Errors.
// Could not locate output file compiled\jb_ctban.amx (compile failed).
//
// Compilation Time: 0.14 sec
// ----------------------------------------
Then, i removed all these lines. I compiled it and it worked but with 1 warning. So i put it in the addons, and it doesnt let me select CT side, it let's to pick T side but it allways kills me when i pick, and kills me every round. Without even executing the command on me, just by connecting to the server.