Script now amended, restarted the server but no go - still just t-poses. It's gotta be my config txt then right?
/just/ in case i read something wrong this is what my .sp looks like verbatim right now
Code:
#include <sourcemod>
#include <tf2items>
#include <tf2_stocks>
#include <tf2items_giveweapon>
new TF2ItemSlot = 8;
public Plugin:myinfo =
{
name = "SmootheBrainBan",
author = "Jerem",
description = "Accessable TF2",
version = "0.12",
url = ""
};
public OnPluginStart()
{
HookEvent( "post_inventory_application", OnPostInventoryApplicationAndPlayerSpawn );
}
public OnPostInventoryApplicationAndPlayerSpawn( Handle:hEvent, const String:strEventName[], bool:bDontBroadcast )
{
new iClient = GetClientOfUserId( GetEventInt( hEvent, "userid" ) )
if (TF2_GetPlayerClass(iClient) == TFClass_Scout)
{
TF2_RemoveWeaponSlot( iClient, 0 );
TF2Items_GiveWeapon(iClient, 17);
TF2_RemoveWeaponSlot( iClient, 1 );
TF2Items_GiveWeapon(iClient, 29);
}
}
Quote:
Are you wanting to give every Human and Bot Scout a STOCK Syringe Gun and a Medi Gun?
|
&
Quote:
What are the specific loadout do you want for a specific class?
|
For this test, yes. Stock syringe gun and medigun.
However, my final product I want to look pretty dang similar to the picture i attached (simpler tf2 v0.4.png)
All regular unless specified
Scout with Backscat, Crit-a-cola, Bat
Heavy with Rocket Launcher(2rocketclip), Family Business, Cabertoss
(+movementspeed while active)
Engineer with Panic Attack, Ambassadore, Gunslinger
Medic with Shotgun, Quick-fix, Solemn Vow
Sniper with Classic, Piss, Bushwhacka
Quote:
Are you running TF2Attributes?
|
Nope, perhaps we have a winner I'll install it now.
Alright, copied the .sp, .smx & .inc into their directories & restarted but still t-pose central for now.
Quote:
Are you wanting to change player cosmetics?
|
Nah, I /did/ want to make all of blue team robots and disable/reduce cosmetics but after looking into it it seemed like a major hassle.
I guess I wouldn't mind being able to so some of that but I didn't think of doing that with this plugin.