Posts: 3,351
Threads: 780
Joined: Jan 2010
Hi all,in my gm i use gTeam and i've medics team:
TEAM_MEDICS
I need to do,if a player kill a medic,a pickup of 15% health will be dropped when the medic dies.
I know i need to work on OnPlayerDeath,but how?
Thanks
Posts: 102
Threads: 14
Joined: Apr 2008
Reputation:
0
At onPlayerDeath Create a pickup and at Onplayerpickup make it to give to the player 15% of 100?
Posts: 3,351
Threads: 780
Joined: Jan 2010
Yeah i know that but,i need to drop the pickup ONLY when u kill a MEDIC.
Posts: 380
Threads: 11
Joined: Feb 2010
Reputation:
0
If you at least try to script it I will help you, but your requests for scripting help are all kind of "can you script this for me" rather than "can you tell me why this isn't working"
Posts: 3,351
Threads: 780
Joined: Jan 2010
Quote:
Originally Posted by Rachael
If you at least try to script it I will help you, but your requests for scripting help are all kind of "can you script this for me" rather than "can you tell me why this isn't working"
|
If the world will run as like u think,no one will help others.
And btw,i can script for myself,i just post code when i REALLY need help (ex: functions dont working or other).
@matute,thanks.
Posts: 3,351
Threads: 780
Joined: Jan 2010
Yeah,but i dont care if someone steal my code.I give you an example:
Look at this COD servers,they've all same gm,and guess what?Only original servers has much players,the others copy has less 10-20 at day.