 |
|
Veteran Member
Join Date: Oct 2004
Location: abort73.com
|

03-24-2005
, 00:26
|
#2
|
Make a variable, let's say "new wanted[33];". The array size is 33 so that we can store ids from 1-32, each representing a player in the game.
In the command that handles amx_wanted, use cmd_target to get the target. Set wanted[theirplayerid] to 1. When a player leaves, make sure to reset wanted[theirplayerid] back to 0.
On death, see if wanted[theirplayerid] is 1.
__________________
No longer around. Thanks your support, everyone! As always: THIS ONES FOR YOU
3000 PTS
|
|
|
|