AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   WARZZZ mode respawn (https://forums.alliedmods.net/showthread.php?t=188805)

gump497 06-30-2012 14:44

WARZZZ mode respawn
 
Hello,
I would like to make WARZZZ mode VIP was the revival. VIP player will reinvigorate in 1 second a normal player for 3 seconds. It has been so code?

g_i_user_respawn_time[id] = get_pcvar_num(g_cvar_res_time & ADMIN_LEVEL_H = g_cvar_res_vip_time) + 1

<VeCo> 06-30-2012 15:43

Re: WARZZZ mode respawn
 
PHP Code:

g_i_user_respawn_time[id] = (get_user_flags(id) & ADMIN_LEVEL_H) ? : (get_pcvar_num(g_cvar_res_time) + 1


gump497 06-30-2012 17:02

Re: WARZZZ mode respawn
 
Thank you, but I would not ask for two things:
First: When I set spawn protection na 2.0 (default), so server shows me that the spawn protection is disabled. How do I fix it?
Second: www.bluegame.sk/cs_assault2.bmp as is GALIL, M4A1..., so I would like to set the GALIL to Galil. How do I set it up?

<VeCo> 07-01-2012 06:14

Re: WARZZZ mode respawn
 
1. Yes, when the spawn protection time ends, the protection is removed from the player and he receives a message about it.
2.
Find:
PHP Code:

strtoupper(sz_cache_lang_msg

Replace with:
PHP Code:

sz_cache_lang_msg[0] = toupper(sz_cache_lang_msg[0]) 


gump497 07-01-2012 06:37

Re: WARZZZ mode respawn
 
thank you, otherwise there would fit too /shop

<VeCo> 07-01-2012 06:59

Re: WARZZZ mode respawn
 
Quote:

Originally Posted by gump497 (Post 1740306)
thank you, otherwise there would fit too /shop

You can use another plugin for shop - there are thousands of them...

gump497 07-01-2012 07:35

Re: WARZZZ mode respawn
 
Yes, but do not know any shop that would fit for this mode?


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

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