Save Killstreak configuration with Y_ini
#3

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 :

Код:
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
}
how can i do?
Reply


Messages In This Thread
Save Killstreak configuration with Y_ini - by PryX0G3n - 22.09.2012, 16:20
Re: Save Killstreak configuration with Y_ini - by Kitten - 23.09.2012, 10:07
Re: Save Killstreak configuration with Y_ini - by PryX0G3n - 23.09.2012, 10:37

Forum Jump:


Users browsing this thread: 1 Guest(s)