Raised This Month: $ Target: $400
 0% 

Quickest way to get what class a client is


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
KaidemonLP
Member
Join Date: Jul 2016
Old 04-06-2018 , 10:01   Quickest way to get what class a client is
Reply With Quote #1

Id like the folowing script to only work when the players is demoman


Code:
           if (!found[3]) if (cvarsetting & BALLOON_ON) CreateVM(client, BALLOONICORN);
		        found[3] = true;
So example
Code:
if(class==demoman){

        if (!found[3]) if (cvarsetting & BALLOON_ON) CreateVM(client, BALLOONICORN);
		        found[3] = true;

}
What would be the simplest way to achieve this?
KaidemonLP 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 21:22.


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