Quote:
Originally Posted by kc
Quote:
Originally Posted by On_Top_Non_Stop
To start with you send a death message without even knowing if there was a killer.
pawn Код:
public OnPlayerDeath(playerid, killerid, reason) { if(killerid == INVALID_PLAYER_ID) { SendDeathMessage(INVALID_PLAYER_ID,playerid,reason); } else { SendDeathMessage(killerid,playerid,reason); GivePlayerMoney(killerid, 5000); } return 1; }
|
http://forum.sa-mp.com/index.php?top....0#post_values
|
I maked it but the game crash