Raised This Month: $ Target: $400
 0% 

Picking a choice for a player in menu's


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Diegorkable
Veteran Member
Join Date: Jun 2011
Old 07-25-2011 , 07:52   Re: Picking a choice for a player in menu's
Reply With Quote #1

I looked at it, and I don't understand alot of things since I don't know these functions, could you please help me and please post the part of code where he forces them to pick 1 then?

I believe that's it:

PHP Code:
stock handle_join(idiMsgidiTeam)
{
    new 
iMsgBlock get_msg_block(iMsgid);
    
set_msg_block(iMsgidBLOCK_SET);
    
    
engclient_cmd(id"jointeam"g_sTeamNums[iTeam]);
    
    new 
iClass get_team_class(iTeam);
    if(
<= iClass <= 4)
    {
        
engclient_cmd(id"joinclass"g_sClassNums[iClass 1]);
    }
    
set_msg_block(iMsgidiMsgBlock);

But I can't understand anything from it, therefore I don't know how to apply it to my code.

Last edited by Diegorkable; 07-25-2011 at 07:54.
Diegorkable 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 00:49.


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