Raised This Month: $ Target: $400
 0% 

Joinclass help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 05-31-2016 , 18:03   Joinclass help
Reply With Quote #1

How can i pick-up the class name?
I have a hook when X player choose X class, but idk how do pick-up this name.

PHP Code:
public PugMenuJoinClass(id)
{
 if(
get_pdata_int(id,205) == 3)
 {
  new 
sCommand[11],sArg[32];
  
read_argv(0,sCommand,charsmax(sCommand));
  
read_argv(1,sArg,charsmax(sArg));
  
  
engclient_cmd(id,sCommand,sArg);
  
ExecuteHam(Ham_Player_PreThink,id);
 }

Can you guys help?
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 06-01-2016 , 03:45   Re: Joinclass help
Reply With Quote #2

What do you exactly mean by picking up the class name? What is it exactly that you wanna do?
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 06-01-2016 , 13:42   Re: Joinclass help
Reply With Quote #3

https://forums.alliedmods.net/showthread.php?p=2407609
__________________
HamletEagle is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 06-01-2016 , 17:05   Re: Joinclass help
Reply With Quote #4

Quote:
Originally Posted by HamletEagle View Post
Thanks, you're fcking a-w-e-s-o-m-e
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx 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 18:33.


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