Score Problem
#1

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 !
Reply
#2

Sure, with this code you will have same score as you have money.
What score do you want to have?
Reply
#3

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
Reply
#4

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 !!!
Reply
#5

Wish they had a [Palmface] [/palmface] in this forum that just showed a guy getting slapped i agree with voldemort, epic fail.
Reply
#6

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
Reply
#7

try asking this in your countrys forums in Languages because i dont seem to understand what do you want to code...
Reply
#8

new PlayerScore[MAX_PLAYERS];


OnPlayerDeath
PlayerScore[killerid]++;
SetPlayerScore(killerid,PlayerScore[killerid]);
Reply
#9

Maybe:

Код:
public OnPlayerUpdate(playerid)
{
    SetPlayerScore(playerid,GetPlayerMoney(playerid));
    return 1;
}
It's working fine for me!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)