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]
__________________