Quote:
Originally Posted by GoD-Tony
Sorry if this has already been answered, but couldn't this be done in pawn (still providing natives) since it's based on usermessages?
|
It can, but in doing so, you lose:
- Handle type checking.
- The ability to return things via multi-dimensional arrays.
The decision to make this an extension was made by me in order to make it as close to a drop-in replacement for the current voting system as possible.
#2 causes huge problems because of how the current
VoteHandler callback works, which is used with SetVoteResultsCallback. Specifically, it takes two multi-dimensional arrays. Which means the BuiltinVotes equivalent would have to return adt_arrays and the vote processing would have to be different.
__________________