Pickups after Death!
#1

Hi all!

So, I had the idea instead of givin' the player killing an enemy just money, giving him pickups! That means:
Player "X" killed player "Y", so when "Y" is dead, there should be a pickup near him (money), which the killer can pick up then! I don't know what to do, because there is a position needed! Do I have to do it like that?

PHP код:
OnGameModeInit() {
new 
Float:xFloat:yFloat:zFloat:angle;
    
GetPlayerPos(playeridxyz);
mypickup CreatePickup(12391xyz, -1); 
Also, I want that when a player picks that money up, he should get an random amount between 100 and 1000 dollar!
Reply


Messages In This Thread
Pickups after Death! - by Twisted_Insane - 16.02.2012, 15:43
Re: Pickups after Death! - by System64 - 16.02.2012, 15:56
Re: Pickups after Death! - by Nonameman - 16.02.2012, 16:05
Re: Pickups after Death! - by Twisted_Insane - 16.02.2012, 16:05
Re: Pickups after Death! - by Nonameman - 16.02.2012, 16:20
Re: Pickups after Death! - by Twisted_Insane - 16.02.2012, 18:06
Re: Pickups after Death! - by Nonameman - 16.02.2012, 18:26
Re: Pickups after Death! - by Twisted_Insane - 16.02.2012, 18:52
Re: Pickups after Death! - by Nonameman - 16.02.2012, 19:14
Re: Pickups after Death! - by Twisted_Insane - 16.02.2012, 19:30

Forum Jump:


Users browsing this thread: 1 Guest(s)