Hi,
I want to convert our clans funserver from old AMX (v0.9.7) to AMXX (v0.16 atm of writing
). However, most plugins compiled (no chance to test those yet) without problems but one plugin is making some trouble.
At first I converted some things to AMXX (hardcoded path addons/amx/somefile.ini etc.) but there's another error:
Quote:
amx_ejl_spacedudehook.sma(682) : error 037: invalid string (possibly non-terminated string)
amx_ejl_spacedudehook.sma(683) : warning 217: loose indentation
amx_ejl_spacedudehook.sma(683) : error 001: expected token: "(", but found "-identifier-"
amx_ejl_spacedudehook.sma(683) : error 017: undefined symbol "say"
amx_ejl_spacedudehook.sma(683) : error 017: undefined symbol "we"
amx_ejl_spacedudehook.sma(683) : error 017: undefined symbol "want"
amx_ejl_spacedudehook.sma(683) : error 017: undefined symbol "to"
amx_ejl_spacedudehook.sma(683) : error 017: undefined symbol "use"
amx_ejl_spacedudehook.sma(683) : error 017: undefined symbol "q"
amx_ejl_spacedudehook.sma(683) : error 029: invalid expression, assumed zero
amx_ejl_spacedudehook.sma(683) : error 017: undefined symbol "Do"
amx_ejl_spacedudehook.sma(683) : error 029: invalid expression, assumed zero
amx_ejl_spacedudehook.sma(683) : error 017: undefined symbol "n"
amx_ejl_spacedudehook.sma(683) : error 029: invalid expression, assumed zero
amx_ejl_spacedudehook.sma(684) : error 017: undefined symbol "bind"
amx_ejl_spacedudehook.sma(684) : error 017: undefined symbol "q"
amx_ejl_spacedudehook.sma(684) : error 029: invalid expression, assumed zero
amx_ejl_spacedudehook.sma(685) : error 017: undefined symbol "Enter"
amx_ejl_spacedudehook.sma(685) : error 017: undefined symbol "that"
amx_ejl_spacedudehook.sma(685) : error 017: undefined symbol "and"
amx_ejl_spacedudehook.sma(685) : error 017: undefined symbol "now"
amx_ejl_spacedudehook.sma(685) : error 017: undefined symbol "whenever"
amx_ejl_spacedudehook.sma(685) : error 017: undefined symbol "you"
amx_ejl_spacedudehook.sma(685) : error 017: undefined symbol "press"
amx_ejl_spacedudehook.sma(685) : error 017: undefined symbol "the"
amx_ejl_spacedudehook.sma(685) : error 017: undefined symbol "q"
amx_ejl_spacedudehook.sma(685) : error 017: undefined symbol "key"
Compilation aborted.
26 Errors.
|
This is the code from the .sma file (lines 682-685):
Code:
temp = "Bind a key to +hook. Go to your console, choose a key^n\^M
for hooking. Lets say we want to use q. Do this:^n^n\^M
bind q +hook^n^n\^M
Enter that and now whenever you press the q key, it launches^n\^M
your hook. Make sure to hold the key down as long as you^n"^M
This error was there before I modified the original version of the file, too!
Unfortunately I don't know anything about Small-scripting and so I hope anyone could help me with this problem.
TIA!