Hello, I want use admin model in jump mod, but... I try many way for it, but havent admin model, Some1 can help me?
Script:
AdminModel()
{
if(isDefined(self.cj["status"] && self getGuid() != "guid") && self.cj["status"]&& self getGuid() != "guid")
{
if((game["allies"] == "marines") || (game["axis"] == "marines")) // Map with Marines-Models
{
if(game["allies_soldiertype"] == "desert")
{
self detachAll();
self setModel("body_mp_usmc_assault");
self attach("head_mp_usmc_tactical_mich", "", true);
self setViewmodel("viewmodel_base_viewhands");
self.voice = "american";
}
else
{
self detachAll();
self setModel("body_mp_usmc_woodland_assault");
self attach("head_mp_usmc_tactical_mich", "", true);
self setViewmodel("viewhands_sas_woodland");
self.voice = "british";
}
}
else if((game["allies"] == "sas") || (game["axis"] == "sas")) // Map with SAS-Models
{
if(game["allies_soldiertype"] == "urban")
{
self detachAll();
self setModel("body_mp_sas_urban_assault");
self setViewmodel("viewhands_black_kit");
self.voice = "british";
}
else
{
self detachAll();
self setModel("body_mp_usmc_woodland_assault");
self attach("head_mp_usmc_tactical_mich", "", true);
self setViewmodel("viewhands_sas_woodland");
self.voice = "british";
}
}
else
{
}
}
else
{
}
}
I dont know why Pedsdude said that I should post it there x)
Admin model
Moderator: Core Staff
-
- Core Staff
- Posts: 13315
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Re: Admin model
Firstly, are you adding this to your own jump mod or are you adding this to a map file or something?
Secondly, I have yet to touch the model functions. I can only help with errors.
Secondly, I have yet to touch the model functions. I can only help with errors.

Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
Re: Admin model
Jump mod, I just havent model.
Who is online
Users browsing this forum: No registered users and 0 guests