Fixed result always refused even if admin accepted vote result.
This commit is contained in:
parent
eb36757ef1
commit
3b670333de
@ -113,9 +113,8 @@ public checkVotes( id ) {
|
||||
new len = format(menuBody,511,g_coloredMenus ? "\y%L: \w%s^n^n" : "%L: %s^n^n", id, "THE_WINNER", g_mapName[ g_choosed ] )
|
||||
len += format( menuBody[len] ,511 - len, g_coloredMenus ? "\y%L^n\w" : "%L^n", id, "WANT_CONT" )
|
||||
format( menuBody[len], 511-len, "^n1. %L^n2. %L",id,"YES",id,"NO")
|
||||
new menuName[64]
|
||||
format(menuName,63,"%L","en","THE_WINNER")
|
||||
show_menu( id, 0x03, menuBody, 10, menuName )
|
||||
|
||||
show_menu( id, 0x03, menuBody, 10, "The winner: ")
|
||||
set_task(10.0,"autoRefuse",4545454)
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user