View Single Post
Alurict
Junior Member
Join Date: Feb 2013
Old 02-16-2013 , 07:29   Re: [TF2 + TF2Items + TF2Items GiveWeapon] How to make a custom gamemode
Reply With Quote #13

Scratch that, I figured it out. New to all this code so I'm guessing around at syntax haha.

PHP Code:
    if (TF2_GetPlayerClass(iClient) == TFClass_Scout)
    {
        
TF2Items_GiveWeapon(iClient9990);
        
TF2Items_GiveWeapon(iClient9989);
    } 
Then, you'd just have to include a statement for every class with the items you want it them to use and it works wonders.

Thanks for the helpful post! =]

Last edited by Alurict; 02-16-2013 at 08:24.
Alurict is offline