15.04.2010, 14:40
Hi!
I want that when the someone kills anyone he gets all the money from that guy.
How do i do it?
I want that when the someone kills anyone he gets all the money from that guy.
How do i do it?
new Float:money;
GetPlayerMoney(playerid,money);
GivePlayerMoney(killerid,money);
public OnPlayerDeath(playerid,killerid,reason)
{
GivePlayerMoney(killerid,GetPlayerMoney(playerid));
return 1;
}