Raised This Month: $ Target: $400
 0% 

ExecuteHamB(Ham_CS_RoundRespawn, victim)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 05-26-2010 , 15:28   Re: ExecuteHamB(Ham_CS_RoundRespawn, victim)
Reply With Quote #1

Quote:
Originally Posted by FlyingHorse View Post
solved already .. i made this:
<ugly code that has errors>

I added a task to delay with 1 second so u dont respawn instantly when u die.. kinda confusing
Or you could've just registered it as post and saved yourself from the set_task and new functions...
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
Kreation
Veteran Member
Join Date: Jan 2010
Location: Illinois
Old 05-26-2010 , 16:51   Re: ExecuteHamB(Ham_CS_RoundRespawn, victim)
Reply With Quote #2

Quote:
Originally Posted by FlyingHorse View Post
solved already .. i made this:
PHP Code:
public respawn(victimattackershouldgib)
{
    new 
attackername[33]
    
get_user_name(attackerattackername32)
    
ExecuteHamB(Ham_CS_RoundRespawnvictim)

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.
__________________
Hi.
Kreation is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode