05.02.2018, 07:22
No need for it to be a public function. Also use the "+" and "=" operators.
i.e:
i.e:
PHP код:
stock GetPlayerPoints( playerid )
return pInfo[ playerid ][ Points ];
stock GivePlayerPoints( playerid, amount ) {
pInfo[ playerid ][ Points ] += amount;
return 1;
}