Quote:
Originally Posted by FlyingHorse
solved already .. i made this:
PHP Code:
public respawn(victim, attacker, shouldgib) { new attackername[33] get_user_name(attacker, attackername, 32) ExecuteHamB(Ham_CS_RoundRespawn, victim) }
I added a task to delay with 1 second so u dont respawn instantly when u die.. kinda confusing
|
Why do you have 'attackername' and the function get_user_name if you don't use that variable in the function? You can just delete that.. And at the top, since you're not going to be using attacker you can take that out and take out the shouldgib too.
__________________