SetPlayerScore
#1

Hey guys i am still learning pawno and i decided to make a nice clean DM script so i can learn some basics. I wanna know how to do that when a a player die he get -1 score too because this type of script is that if you kill some one you get +1 but if you die you get noting the score stays the same:

Код:
SendDeathMessage(killerid,playerid,reason);
SetPlayerScore(killerid, GetPlayerScore(killerid)+1);
GivePlayerMoney(killerid,1000);
GivePlayerMoney(playerid,-1000);
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)