death random
#5

Put this:
Quote:

stock randomEx(minnum = cellmin, maxnum = cellmax) return random(maxnum - minnum + 1) + minnum;

And put this on your OnPlayerDeath callback:
Quote:

new rspawn = random(4);
switch (rspawn)
{
case 0: ApplyAnimation(...); //here put your animation inf. for the first case of animation
case 1: ApplyAnimation(...); //here put your animation inf. for the second case of animation
case 2: ApplyAnimation(...); //here put your animation inf. for the 3th case of animation
}

GOOD LUCK .
REP me if i helped you !
Reply


Messages In This Thread
death random - by crukk11 - 30.03.2017, 17:32
Re: death random - by Toroi - 30.03.2017, 17:59
Re: death random - by crukk11 - 30.03.2017, 18:07
Re: death random - by Toroi - 30.03.2017, 18:12
Re: death random - by Kraeror - 30.03.2017, 18:13
Re: death random - by GoldenLion - 30.03.2017, 19:17
Re: death random - by crukk11 - 31.03.2017, 17:11
Re: death random - by crukk11 - 01.04.2017, 06:59

Forum Jump:


Users browsing this thread: 1 Guest(s)