Script Tutorial For A Score System Please
#7

Quote:
Originally Posted by Steven Paul
Посмотреть сообщение
I don't think that's possible
It is possible.

Paste this above your scrtip, under the includes and defines:
pawn Код:
forward MoneyTimer(playerid);
Paste this in OnGameModeInit:
pawn Код:
SetTimer("MoneyTimer", 15000, true); // Each 15 seconds the score will be updated.
Paste this somewhere in your script:
pawn Код:
public MoneyTimer(playerid)
{
     new money = GetPlayerMoney(playerid);
     SetPlayerScore(playerid, money);
}
This will update each 15 second your score display and your money
will be shown at if you press tab for example. Anyways, i hope this
was were you was searching for..
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 5 Guest(s)