Quote:
Originally Posted by fysiks
So, you want amx_vote but in its own plugin and with a different name? If so, what name?
Here is the plugin with just the vote command but renamed to amx_vote2:
|
Thank you for reply fysiks,
I just wanted the command amx_vote i need it to to just vote for somethings without votemap and other things
I will try your code and let you know
Its okay if its just amx_vote and not amx_vote2
EDIT:
I Got These errors while compile
Code:
//AMXXPC compile.exe
// by the AMX Mod X Dev Team
//// amx_vote2.sma
// E:\Steam\steamapps\common\Half-Life\cstrike\addons\amxmodx\scripting\amx_vote2.sma(59) : error 017: undefined symbol "MAX_NAME_LENGTH"
// E:\Steam\steamapps\common\Half-Life\cstrike\addons\amxmodx\scripting\amx_vote2.sma(61) : error 009: invalid array size (negative or zero)
// E:\Steam\steamapps\common\Half-Life\cstrike\addons\amxmodx\scripting\amx_vote2.sma(62) : error 017: undefined symbol "name"
// E:\Steam\steamapps\common\Half-Life\cstrike\addons\amxmodx\scripting\amx_vote2.sma(62) : error 072: "sizeof" operator is invalid on "function" symbols
// E:\Steam\steamapps\common\Half-Life\cstrike\addons\amxmodx\scripting\amx_vote2.sma(62) : error 029: invalid expression, assumed zero
// E:\Steam\steamapps\common\Half-Life\cstrike\addons\amxmodx\scripting\amx_vote2.sma(62) : fatal error 107: too many error messages on one line
//
// Compilation aborted.
// 6 Errors.
// Could not locate output file E:\Steam\steamapps\common\Half-Life\cstrike\addons\amxmodx\scripting\compiled\amx_vote2.amx (compile failed).
//
// Compilation Time: 0.09 sec