AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   [ZP-HELP] First Zombie Teleport t Spawn! (https://forums.alliedmods.net/showthread.php?t=139186)

.Dare Devil. 09-27-2010 12:44

[ZP-HELP] First Zombie Teleport t Spawn!
 
Please Some One create this plugin.
I Try it make myself but i fail.:cry:

zhulo 09-27-2010 14:48

Re: [ZP-HELP] First Zombie Teleport t Spawn!
 
try this:

in zombie_plague40.sma find:

PHP Code:

            // Show First Zombie HUD notice
            
set_hudmessage(25500HUD_EVENT_XHUD_EVENT_Y00.05.01.01.0, -1)
            
ShowSyncHudMsg(0g_MsgSync"%L",LANG_PLAYER"NOTICE_FIRST"g_playername[forward_id])
            
client_print(0print_center"%L",LANG_PLAYER"NOTICE_FIRST"g_playername[forward_id])
            
            
// Mode fully started!
            
g_modestarted true
            
            
// Round start forward
            
ExecuteForward(g_fwRoundStartg_fwDummyResultMODE_INFECTIONforward_id); 


and replace it with this:

PHP Code:

            // Show First Zombie HUD notice
            
set_hudmessage(25500HUD_EVENT_XHUD_EVENT_Y00.05.01.01.0, -1)
            
ShowSyncHudMsg(0g_MsgSync"%L",LANG_PLAYER"NOTICE_FIRST"g_playername[forward_id])
            
client_print(0print_center"%L",LANG_PLAYER"NOTICE_FIRST"g_playername[forward_id])
            
            
// Mode fully started!
            
g_modestarted true
            
            
// Round start forward
            
ExecuteForward(g_fwRoundStartg_fwDummyResultMODE_INFECTIONforward_id);
            
            
do_random_spawn(id

not tested.

.Dare Devil. 09-27-2010 14:50

Re: [ZP-HELP] First Zombie Teleport t Spawn!
 
Quote:

Originally Posted by zhulo (Post 1310047)
try this:

in zombie_plague40.sma find:

PHP Code:

            // Show First Zombie HUD notice
            
set_hudmessage(25500HUD_EVENT_XHUD_EVENT_Y00.05.01.01.0, -1)
            
ShowSyncHudMsg(0g_MsgSync"%L",LANG_PLAYER"NOTICE_FIRST"g_playername[forward_id])
            
client_print(0print_center"%L",LANG_PLAYER"NOTICE_FIRST"g_playername[forward_id])
 
            
// Mode fully started!
            
g_modestarted true
 
            
// Round start forward
            
ExecuteForward(g_fwRoundStartg_fwDummyResultMODE_INFECTIONforward_id); 


and replace it with this:

PHP Code:

            // Show First Zombie HUD notice
            
set_hudmessage(25500HUD_EVENT_XHUD_EVENT_Y00.05.01.01.0, -1)
            
ShowSyncHudMsg(0g_MsgSync"%L",LANG_PLAYER"NOTICE_FIRST"g_playername[forward_id])
            
client_print(0print_center"%L",LANG_PLAYER"NOTICE_FIRST"g_playername[forward_id])
 
            
// Mode fully started!
            
g_modestarted true
 
            
// Round start forward
            
ExecuteForward(g_fwRoundStartg_fwDummyResultMODE_INFECTIONforward_id);
 
            
do_random_spawn(id

not tested.

Not Working...

RainePlayz1 08-26-2022 06:42

Re: [ZP-HELP] First Zombie Teleport t Spawn!
 
Dare Devil
Open zombie_plague40.sma
Find
// Randomly turn iMaxZombies players into zombies
while (iZombies < iMaxZombies)
{
// Choose random guy
id = fnGetRandomAlive(random_num(1, alive_count))

// Dead or already a zombie
if (!g_isalive[id] || g_zombie[id])
continue;

// Turn into a zombie
zombieme(id, 0, 0, 1, 0)
iZombies++

Replace With
->>>
// Randomly turn iMaxZombies players into zombies
while (iZombies < iMaxZombies)
{
// Choose random guy
id = fnGetRandomAlive(random_num(1, alive_count))

// Dead or already a zombie
if (!g_isalive[id] || g_zombie[id])
continue;

// Turn into a zombie
zombieme(id, 0, 0, 1, 0)
do_random_spawn(id, 1)
iZombies++
Its Working 100% :P
-------------------------------
Can Some One Give Me Server?

Salmon12 08-27-2022 04:32

Re: [ZP-HELP] First Zombie Teleport t Spawn!
 
forgive me if I relive the post, I don't know if it's allowed, I need a contact from . Dare Devil. a friend wants to talk to him, here I leave his contact of my friend : KaiTi#6523 (the number and letters are from disc*rd).


All times are GMT -4. The time now is 01:19.

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