No score ! - 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)
+--- Thread: No score ! (
/showthread.php?tid=523490)
No score ! -
YanLanger - 02.07.2014
Hey, in my server when i kill i don't get score O.o
Re: No score ! -
Konstantinos - 02.07.2014
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
if (killerid != INVALID_PLAYER_ID) SetPlayerScore(killerid, GetPlayerScore(killerid) + 1);
return 1;
}
the above adds 1 score everytime you kill a player.