Score Problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Score Problem (
/showthread.php?tid=179381)
Score Problem -
[Lsrcr]Rafa - 26.09.2010
guys can some help me with my score i have added this but in game don't work...
pawn Код:
public OnPlayerUpdate(playerid)
{
SetPlayerScore(playerid,GetPlayerMoney(playerid));
return 1;
}
i have same score like my money in game !!!
Please help... !
Thanks !
Re: Score Problem -
Jeffry - 26.09.2010
Sure, with this code you will have same score as you have money.
What score do you want to have?
Re: Score Problem -
[Lsrcr]Rafa - 26.09.2010
omg how u thing what score u want to have ??
i want to have normal score
to start from 0 and unlimited
idk what u mean :S
Re: Score Problem -
Voldemort - 26.09.2010
Quote:
Originally Posted by [Lsrcr]Rafa
omg how u thing what score u want to have ??
i want to have normal score
to start from 0 and unlimited
idk what u mean :S
|
pwned, What you want as score for real?
Because atm looks like as example
SetPlayerHealth(playerid,100);
Why I have 100 health !!!
Re: Score Problem -
[4k]Wang - 26.09.2010
Wish they had a [Palmface] [/palmface] in this forum that just showed a guy getting slapped i agree with voldemort, epic fail.
Re: Score Problem -
[Lsrcr]Rafa - 26.09.2010
what scores have man tell me the scores
IDK WHAT U MEAN WHAT SCORE ? :S
BTW i want to have when player will buy a car or something to get 1 score up !
or when he will kill another player to up his score for 1
Re: Score Problem -
Code_Red - 26.09.2010
try asking this in your countrys forums in
Languages because i dont seem to understand what do you want to code...
Re: Score Problem -
Voldemort - 26.09.2010
new PlayerScore[MAX_PLAYERS];
OnPlayerDeath
PlayerScore[killerid]++;
SetPlayerScore(killerid,PlayerScore[killerid]);
Re: Score Problem - Guest3598475934857938411 - 26.09.2010
Maybe:
Код:
public OnPlayerUpdate(playerid)
{
SetPlayerScore(playerid,GetPlayerMoney(playerid));
return 1;
}
It's working fine for me!