Quote:
Originally Posted by elpouletorange
and do this is correct ?
PHP Code:
skill_strenght(id) = skill_strenght(id) + 1
|
No. First, you have to define it as being an array. So, you would have to define it like this.
PHP Code:
new skill_strenght[33];
Then, you would rewrite that line like this
PHP Code:
skill_strenght[id]++;
OR
PHP Code:
skill_strenght[id] = skill_strenght[id] + 1;
__________________