change
#9

Quote:
Originally Posted by manchestera
Посмотреть сообщение
Will this not just set the players score not added it to the players score they already have?
It will be added to the player score.

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 );
And you can use Kostas' way! -
pawn Код:
GivePlayerScore( playerid, Race[ Player [ playerid ][ IdRace ] ][ Cost ] * 2 );
Reply


Messages In This Thread
change - by manchestera - 06.11.2011, 18:08
Re: change - by Kostas' - 06.11.2011, 18:13
Re: change - by SmiT - 06.11.2011, 18:17
Re: change - by manchestera - 06.11.2011, 18:17
Re: change - by Kostas' - 06.11.2011, 18:25
Re: change - by manchestera - 06.11.2011, 18:28
Re: change - by Kostas' - 06.11.2011, 18:32
Re: change - by manchestera - 06.11.2011, 18:33
Re: change - by SmiT - 06.11.2011, 18:35
Re: change - by manchestera - 06.11.2011, 19:01

Forum Jump:


Users browsing this thread: 4 Guest(s)