06.10.2013, 18:47
The title says it all, how do I make it to where the killer gets cash when they kill someone?
public OnPlayerDeath(playerid, killerid, reason) { GivePlayerMoney(killerid, 1000); return 1; } |
public OnPlayerDeath(playerid, killerid, reason)
{
if (killerid != INVALID_PLAYER_ID)
{
GivePlayerMoney(killerid, 1000);
}
return 1;
}