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

[L4D(2)] Pls help me crate plagin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
DaN1kyM
Junior Member
Join Date: Apr 2012
Location: Russia =)
Old 04-06-2012 , 07:09   [L4D(2)] Pls help me crate plagin
Reply With Quote #1

Pls help me crate plagin for me i'm Rus and i bad spoke english and i bad scripter))

I needed how player's WIN company who Alive getting him Spectate team and immediately changed the company to the next

I think this plagin should look something like this:

thanks in advance ! =)

PHP Code:
#include <sourcemod>
#include <sdktools>

#define PLUGIN_VERSION "0.0"

public Plugin:myinfo 
{
    
name "",
    
author "",
    
description "",
    
version PLUGIN_VERSION,
    
url ""
}

public 
OnPlaginStart()
{
    
HookEvent("finale_win"Event_finale_win)
}

public 
Action:Event_finale_win(Handle:event, const String:name[], bool:dontBroadcast)
{
    new 
maxplayers GetMaxClients();
    for (new 
18<= maxplayersi++)
    {
        if (
IsPlayerAlive(i))
        {
          (
GetClientTeam(i) == 1)
           return;
        }
    }

DaN1kyM is offline
 



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 18:35.


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