Admin model
Posted: April 8th, 2010, 7:13 am
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)
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)