Raised This Month: $ Target: $400
 0% 

Halloween Fire "green flames" applicable?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Hefal
Senior Member
Join Date: Jul 2015
Old 10-03-2015 , 21:31   Re: Halloween Fire "green flames" applicable?
Reply With Quote #1

Quote:
Originally Posted by Potato Uno View Post
PHP Code:
#include <sourcemod>
#include <tf2_stocks>
#include <tf2attributes>

#pragma semicolon 1
#pragma newdecls required

public Plugin myinfo 
{
    
name "Green something",
    
author "Potato Uno (Hydrogen)",
    
description "Does something",
    
version "1.0.0",
    
url "http://www.sourcemod.net"
}

public 
void OnPluginStart()
{
    
SetConVarInt(FindConVar("tf_forced_holiday"), 2);
    
HookEvent("player_spawn"PlayerSpawn);
}

public 
Action PlayerSpawn(Handle EventHandle, const char[] EventNamebool DontBroadcast)
{
    
int iClient GetClientOfUserId(GetEventInt(EventHandle"userid"));
    if (
TF2_GetPlayerClass(iClient) != TFClass_Pyro)
        return;
    
int Primary GetPlayerWeaponSlot(iClient0);
    
TF2Attrib_SetByDefIndex(Primary10081.0);

Just in case your wife doesn't tell you enough.

In all the faithless moments of hopelessness,

you do know, that Hefal loves, you.

Thank you so much!
Hefal 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 20:58.


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