23.09.2012, 10:37
hmm, But how do such configure :
I have selected Restore Heal 3 KillStreak, in the file :
3 KillStreak : 1 or 2 (1 : Heal, 2: Armour)
And in the onplayerdeath :
how can i do?
I have selected Restore Heal 3 KillStreak, in the file :
3 KillStreak : 1 or 2 (1 : Heal, 2: Armour)
And in the onplayerdeath :
Код:
KillStreak[playerid] = 0; if(killerid != INVALID_PLAYER_ID) { KillStreak[killerid] ++; if(KillStreak[killerid] == 3) { SetPlayerHealth(playerid,100); //if selected Restore Health // ... script check file cfg killstreak SetPlayerArmour(playerid,100); //if selected restore armour }