02.03.2013, 22:29
Hi guys, when I kill someone in my server, i become $5000 and lost the $5000 in the same time.
My code:
My code:
Код:
SendDeathMessage(killerid,playerid,reason); SetPlayerScore(killerid,GetPlayerScore(killerid)+2); GivePlayerMoney(killerid,5000); GameTextForPlayer(killerid,"~g~+$5000",5000,1); SetPlayerScore(playerid,GetPlayerScore(playerid)-1); GivePlayerMoney(playerid, -2000); GameTextForPlayer(playerid,"~r~-$2000",5000,1);