Fighting
#3

First add variables like,
pawn Код:
IsPlayerFighting[MAX_PLAYERS];
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
pawn Код:
IsPlayerFighting = 0;
and OnPlayerDeath
check if player is dead
like
pawn Код:
IsPlayerFighting == 1 // checking if player in fight
and give the killer id some money and score :P
.
For this "extensive"
just add on
OnPlayerTakeDamage and all
Reply


Messages In This Thread
Fighting - by kevin1990 - 04.05.2014, 02:57
Re: Fighting - by Dignity - 04.05.2014, 03:14
Re: Fighting - by superrobot48 - 04.05.2014, 03:17

Forum Jump:


Users browsing this thread: 1 Guest(s)