19.07.2017, 19:21
Quote:
How to code it? and when I suicide in the game the the death in the score dont change...
|
PHP код:
//Under OnGameModeInit
for(new i = 0, j = GetPlayerPoolSize(); i <= j; i++)
{
//Do your saving stuff here
}
About your death score, Maybe you forget to increase the death variable under OnPlayerDeath or you are increasing it only if the ID of the killerid is valid (which won't trigger if player suicide).