Raised This Month: $ Target: $400
 0% 

[Help] Custom Class Menu


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
kketan77
Member
Join Date: Apr 2012
Location: India
Old 05-10-2012 , 21:24   Re: [Help] Custom Class Menu
Reply With Quote #7

ok let me explain what i want!

PHP Code:
public plugin_precache() 
{
    
precache_model("models/player/swatboy/swatboy.mdl")
    
precache_model("models/player/swatgirl/swatgirl.mdl")
    
precache_model("models/player/trxboy/trxboy.mdl")
    
precache_model("models/player/trxgirl/trxgirl.mdl")

    return 
PLUGIN_CONTINUE

I want to set 2 models class for 2 team.
so i precache total 4 models.
=====================================
=====================================


When user connect to server, server will show following menu to the user:
Code:
Choose Team:
1. The SWAT Team	//CT Team
2. The TRX Team		//T Team
5. Random		//CT Team or T Team
6. Spectator
Now if user select CT Team, he will get CT Class Menu as follows:
Code:
Choose Class:
1. Boy Class		// cs_set_user_model "models/player/swatboy/swatboy.mdl"
2. Girl Class		// cs_set_user_model "models/player/swatgirl/swatgirl.mdl"
5. Random		// cs_set_user_model "swatboy.mdl" or "swatgirl.mdl"
If user press key 3 or key 4 nothing should happen.

Else if user select T Team, he will get T Class Menu as follows:
Code:
Choose Class:
1. Boy Class		// cs_set_user_model "models/player/trxboy/trxboy.mdl"
2. Girl Class		// cs_set_user_model "models/player/trxgirl/trxgirl.mdl"
5. Random		// cs_set_user_model "trxboy.mdl" or "trxgirl.mdl
If user press key 3 or key 4 nothing should happen.

Else if user select Random Team, he should redirect to "CT Class Menu" or "T Class Menu".

[I don't want default CS model & menu]
__________________
♚ || -=[ḰḝṮẫṊ]=- || ᕙ(`▽´)ᕗ || (⊙.⊙(☉_☉)⊙.⊙) || ⁀⊙﹏☉⁀

Last edited by kketan77; 05-10-2012 at 21:30.
kketan77 is offline
Send a message via Yahoo to kketan77
 



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:24.


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