Quote:
Originally Posted by Arkshine
Add Float:
Eg : new Float:mp_pool = Float:stats[id][pmp];
or you can directly put Float: in the enum on each element.
|
How that could work? Stats is already a float array.
What here fails is the tag list_stats. You have make a decision do you use the tag or not, either connors way or:
PHP Code:
enum //no tag here
{
istr = 0,// actual str
iagi, //1 actual agi
//....
Though if you have to use it with both the tag an not( can't imagine how that would be possible ):
PHP Code:
stats[ 0 ][ _:php ]
Edit: And about Connor's code, no you don't need the _: before the list_stats tag when creating the enum.