Posts: 106
Threads: 28
Joined: Nov 2009
Reputation:
0
hi
How I can do that when i kill a player, creates a pickup in the place where he died with his money, that I can take and if I forgot to take or not take a player to destroy it to make an X seconds?
I don't need another FS from this forum, only a simple script.
Posts: 686
Threads: 29
Joined: Feb 2011
Reputation:
0
And a timer to call DestroyPickup.
Posts: 106
Threads: 28
Joined: Nov 2009
Reputation:
0
and how i can took all the money had that player in one pickup ... ? ?
Posts: 85
Threads: 14
Joined: Oct 2010
Reputation:
0
When a Player death, use GetPlayerMoney for set a Money in a Var/Array.
(Ex. new Pick_VarMoney = GetPlayerMoney(playerid);)
After, Create a Pickup, type 1 under Var.
In OnPlayerPickUpPickup, Destroy the Pickup and give the $ to Player.
(Ex: GivePlayerMoney(playerid, Pick_VarMoney);)
Posts: 106
Threads: 28
Joined: Nov 2009
Reputation:
0
01.03.2011, 08:33
(
Последний раз редактировалось k3nw00d_kri5ty; 01.03.2011 в 10:04.
)
I have a problem, when i pickup up another pickup(armour, guns and others) shows "You picked up: $945 from someones dead body."
Posts: 106
Threads: 28
Joined: Nov 2009
Reputation:
0
help me someone, please .