11.11.2013, 12:39
Quote:
Код:
public OnPlayerDeath(playerid, killerid, reason) { if(playerid != INVALID_PLAYER_ID) { pStats[playerid][deaths]++; } if(killerid != INVALID_PLAYER_ID && IsPlayerConnected(killerid)) { pStats[killerid][score]++; pStats[killerid][money]++; GivePlayerMoney(killerid, 1); SetPlayerScore(killerid, pStats[killerid][score]); } return 1; } |
But yeah.. That's how you save them.