15.05.2012, 18:03
Quote:
Also, can you make a pawn code that the killer of a player will recieve 10 score and 1,500 money?
|
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
if(killerid != INVALID_PLAYER_ID)
{
SetPlayerScore(killerid, GetPlayerScore(killerid) + 10); // +10 score
GivePlayerMoney(killerid, 1500); // cash 1500
}
return 1;
}
-FalconX