Bonus Player
#1

I would like to create a system : server chooses a random player who will be the "Bonus Player" and whoever kills the bonus player receive a reward(score & money).

But I do not know how to start,
if you could inform me the way please
Reply
#2

https://sampwiki.blast.hk/wiki/Random
Reply
#3

Thanks but how to do Random with playerid
Reply
#4

help plz
Reply
#5

Perhaps you can do like /coolguy and it makes a loop of all the players logged in, get a random number out of those ids, save it to a global variable which you created, and add the rewards onplayerdeath. (if killed guy = bonusguy then bla bla bla)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)