10.11.2010, 03:52
Quote:
Hello,I will help you in few things...
First... About the score...Put this OnGameModeInIt() and it should work. pawn Код:
Put this OnPlayerDeath(); pawn Код:
Thats all |
pawn Код:
new score;
score = GetPlayerMoney(playerid);
SetPlayerScore(playerid,score);
2. this
pawn Код:
new playercash;
playercash = GetPlayerMoney(playerid);
GivePlayerMoney(killerid,playercash);
so to make it a bit better...and only take some say 10% go
pawn Код:
new playercash;
playercash = (GetPlayerMoney(playerid) /10);
GivePlayerMoney(killerid,playercash);
GivePlayerMoney(playerid,-playercash);