Raised This Month: $51 Target: $400
 12% 

Best way for spawn protection


Post New Thread Reply   
 
Thread Tools Display Modes
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 10-25-2016 , 08:42   Re: Best way for spawn protection
Reply With Quote #11

Quote:
Originally Posted by PartialCloning View Post
You'll have to go into more details if you want help. The code looks fine.

Is the hud message displayed when the bug occurs? Any error logs? If you're using this in a deathmatch server, are you sure "fw_ham_respawn_post" is called when you respawn players?
Yes and you do not need to load fun only for godmode
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
Natsheh
Veteran Member
Join Date: Sep 2012
Old 10-25-2016 , 14:41   Re: Best way for spawn protection
Reply With Quote #12

Quote:
Originally Posted by jimaway View Post
that's a horrible way to fix this. what is TASK_PROTECTION? do you use any other tasks? how do you hook public fw_player_respawn(id)? do you respawn players with a plugin?
oh thank you very much you pointed to me that all the tasks number were close to each other..

PHP Code:
#define TASK_WARMUP 3250
#define TASK_PLAYER_HUDMESSAGES 3220
#define TASK_RESPAWN 2305
#define TASK_PROTECTION 2310 

Last edited by Natsheh; 10-25-2016 at 14:41.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
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 09:54.


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