04.05.2014, 03:17
First add variables like,
To check if player is fighting and to block player commands while fighting.
then .
when player /fight . i'll just tp them to the place they will fight(like A Ring)
and under the command i'll
and OnPlayerDeath
check if player is dead
like
and give the killer id some money and score :P
.
For this "extensive"
just add on
OnPlayerTakeDamage and all
pawn Код:
IsPlayerFighting[MAX_PLAYERS];
then .
when player /fight . i'll just tp them to the place they will fight(like A Ring)
and under the command i'll
pawn Код:
IsPlayerFighting = 0;
check if player is dead
like
pawn Код:
IsPlayerFighting == 1 // checking if player in fight
.
For this "extensive"
just add on
OnPlayerTakeDamage and all