Raised This Month: $ Target: $400
 0% 

End round .tga


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dreamedward
Senior Member
Join Date: Aug 2010
Location: ZombieWorld
Old 09-11-2010 , 12:02   End round .tga
Reply With Quote #1

Hey guys i'm looking for a plugin at the end of the round to show .tgas like this
But i dont want it for ZP i want to be like Terrorists Win, Counter-Terrorists Win
- [IMG]http://img843.**************/img843/1486/hl2010091118300755.png[/IMG]
dreamedward is offline
mottzi
Veteran Member
Join Date: May 2010
Location: Switzerland
Old 09-11-2010 , 13:04   Re: End round .tga
Reply With Quote #2

give this ZM plugin. ill see what i can do..
__________________
Quote:
#define true ((rand() % 2)? true: false) //Happy debugging suckers
mottzi is offline
Send a message via MSN to mottzi
dreamedward
Senior Member
Join Date: Aug 2010
Location: ZombieWorld
Old 09-11-2010 , 13:17   Re: End round .tga
Reply With Quote #3

Well i dont have it but i think its made for ZM so i hope someone has it and can make it for normal servers.
dreamedward is offline
Welgericht
Member
Join Date: Jul 2010
Old 09-11-2010 , 13:40   Re: End round .tga
Reply With Quote #4

This picture is knife model.
Welgericht is offline
dreamedward
Senior Member
Join Date: Aug 2010
Location: ZombieWorld
Old 09-11-2010 , 13:47   Re: End round .tga
Reply With Quote #5

Nope i dont think so it downloaded me .tga models befor i get into the server but didnt download any mdl files.

Last edited by dreamedward; 09-11-2010 at 13:49.
dreamedward is offline
Welgericht
Member
Join Date: Jul 2010
Old 09-11-2010 , 13:50   Re: End round .tga
Reply With Quote #6

PHP Code:
/*
    [ZP] New Win Messages

    Plugin by Shidla [SGC] & xPaw & 93()|29!/<
    
    Idea & models:
    Koshak        | ICQ: 283-361-228    (zombie-mod.ru)

    Credits:
    xPaw                                    (Main code... My was worse... But it worked too :))
    93()|29!/<    | SkyPE: georgik_braila     (Bug fixing)
                | Yahoo Messenger: george_stafie
    MeRcyLeZZ                                (For his Zombie Plague)
    CHyCMyMpNk    | ICQ: 4-888-617            (forum.hlds.us)
    Fedcomp        | ICQ: 536020                (gm-community.net / forum.hlds.us / amx-x.ru / gscom.org)
    PomanoB        | ICQ: 147-919                (gm-community.net / forum.hlds.us / amx-x.ru)
    DJ_WEST        | ICQ: 634-866                 (For his amx-x.ru & reallite.cs2.ru)
    meTaLiCroSS                                (For something, what ever... I know him - we steal something: his idea\code\constant\crap\brain\blablabla :))



    Shidla [SGC] | 2010 | ICQ: 312-298-513
    
    1.3 [Final Version]

    http://forums.alliedmods.net/showthread.php?t=128385        // Eng
    http://forum.hlds.us/showthread.php?p=84425                    // Rus
*/

#include <amxmodx>
#include <fakemeta>
#include <zombieplague>

new Hands[33], MaxPlayers

new const MODELS[3][] =
{
    
"",
    
"models/zombie_plague/zombie_win.mdl",
    
"models/zombie_plague/human_win.mdl"
};

new const 
MODELS_FLIP[3][] =
{
    
"",
    
"models/zombie_plague/zombie_win-f.mdl",
    
"models/zombie_plague/human_win-f.mdl"
};


new 
g_iModelIndex[3], g_iWinTeamg_iModelIndexFlip[3];

public 
plugin_init()
{
    
register_plugin("[ZP] Sub-Plugin: New Win Messages""1.3""Shidla, xPaw, 93()|29!/<" );
    
register_event("HLTV""EventRoundStart""a""1=0""2=0" );
    
register_event("CurWeapon""EventCurWeapon""be""1=1");

    
MaxPlayers get_maxplayers();

    
register_cvar("Shidla""[ZP] New Win Messages v.1.3"FCVAR_SERVER|FCVAR_SPONLY);
    
register_cvar("zp_new_win_messages""[ZP] New Win Messages v.1.3"FCVAR_SERVER|FCVAR_SPONLY);
}

public 
plugin_precache()
{
    for (new 
WIN_ZOMBIES<= WIN_HUMANSi++)
    {
        
precache_model(MODELS[i]);
        
g_iModelIndex[i] = engfunc(EngFunc_AllocStringMODELS[i]);
        
precache_model(MODELS_FLIP[i]);
        
g_iModelIndexFlip[i] = engfunc(EngFunc_AllocStringMODELS_FLIP[i]);
    }
}

public 
client_connect(id)
{
    if(!
is_user_bot(id))
        
query_client_cvar(id "cl_righthand" "Hands_CVAR_Value");
}

public 
Hands_CVAR_Value(id, const cvar[], const value[])
{
    if(
<= id <= MaxPlayers)    // Bug Fix
        
Hands[id] = str_to_num(value)
}

public 
client_disconnect(id)
{
    
Hands[id] = 0
}

public 
zp_round_ended(iTeam)
{
    if (
iTeam == WIN_NO_ONE)
        return;
    
g_iWinTeam iTeam;
    new 
iPlayers[32], iNum;
    
get_players(iPlayersiNum"ch");
    for (new 
iiNumi++)
    {
        
client_cmd(iPlayers[i], "cl_righthand ^"1^"");
        
zp_set_user_nightvision(iPlayers[i], 1);

        if (
get_user_weapon(iPlayers[i]) != CSW_KNIFE)
            
set_pev(iPlayers[i], pev_viewmodelg_iModelIndexFlip[iTeam]);
        else
            
set_pev(iPlayers[i], pev_viewmodelg_iModelIndex[iTeam]);
    }
}

public 
EventRoundStart()
{
    
g_iWinTeam WIN_NO_ONE;

    for (new 
1<= MaxPlayersi++)
    {
        if(!
is_user_connected(i))
            continue;        
// xPaw fix)))

        
client_cmd(i"cl_righthand ^"%d^""Hands[i]);
        
//client_print(i,print_chat,"[DEBUG] –ó–Ω–∞—á–µ–Ω–∏–µ –¥–∞–Ω–Ω—ã—Ö '%d'***", Hands[i]);
    
}
}

public 
EventCurWeapon(const id)
{
    if (
g_iWinTeam WIN_NO_ONE)
    {
        
client_cmd(id"cl_righthand ^"1^"");

        if (
get_user_weapon(id) != CSW_KNIFE)
            
set_pev(idpev_viewmodelg_iModelIndexFlip[g_iWinTeam]);
        else
            
set_pev(idpev_viewmodelg_iModelIndex[g_iWinTeam]);
    }
}

// Yes, baby, its's Russia! xDD
// Thanks for all, who help me))) 
Welgericht is offline
Old 09-11-2010, 13:51
Welgericht
This message has been deleted by Welgericht.
dreamedward
Senior Member
Join Date: Aug 2010
Location: ZombieWorld
Old 09-11-2010 , 13:55   Re: End round .tga
Reply With Quote #7

Yup, that is exactly the one i needed but can someone make it for normal servers ?
dreamedward is offline
avril-lavigne
Banned
Join Date: Apr 2009
Old 09-11-2010 , 15:48   Re: End round .tga
Reply With Quote #8

Ill try
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc
avril-lavigne is offline
Old 09-12-2010, 03:22
dreamedward
This message has been deleted by YamiKaitou. Reason: bump
am_amx
Senior Member
Join Date: Jul 2010
Location: here
Old 09-12-2010 , 21:13   Re: End round .tga
Reply With Quote #9

thats a nice idea looking for it

edit : Ps make it sooon :p

Last edited by am_amx; 09-13-2010 at 07:27.
am_amx is offline
Old 09-13-2010, 21:51
FragOwn
This message has been deleted by Exolent[jNr]. Reason: Don't bump until 2 weeks have passed since last post.
am_amx
Senior Member
Join Date: Jul 2010
Location: here
Old 09-24-2010 , 06:16   Re: End round .tga
Reply With Quote #10

b
u
m
p
am_amx 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 04:23.


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