06.11.2011, 18:35
Quote:
Will this not just set the players score not added it to the players score they already have?
|
SetPlayerScore( playerid, GetPlayerScore( playerid ) + Race[ Player [ playerid ][ IdRace ] ][ Cost ] * 2 );
EDIT: If you want GivePlayerScore function you can simply do:
pawn Код:
stock GivePlayerScore( playerid, score ) SetPlayerScore( playerid, GetPlayerScore( playerid ) + score );
pawn Код:
GivePlayerScore( playerid, Race[ Player [ playerid ][ IdRace ] ][ Cost ] * 2 );