Raised This Month: $12 Target: $400
 3% 

request adminmodel


Post New Thread Reply   
 
Thread Tools Display Modes
SHIELD755
Veteran Member
Join Date: Feb 2018
Location: FROM MARVEL STUDIO
Old 03-21-2019 , 11:26   Re: request adminmodel
Reply With Quote #11

Quote:
Originally Posted by DON KHAN 1 View Post
i cant remove it i tried but i couldn't
go to edit => advanced => upload and there you can remove
__________________
SED LYF !!!
SHIELD755 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 03-21-2019 , 15:12   Re: request adminmodel
Reply With Quote #12

And don't change the original author's name and make the plugin yours when you have no clue how to create a plugin. Also don't post something that is much worse than the previous suggestions.
__________________

Last edited by OciXCrom; 03-21-2019 at 15:12.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
lantimilan
Senior Member
Join Date: May 2016
Old 03-22-2019 , 03:30   Re: request adminmodel
Reply With Quote #13

Im using one plugin in AMXMODX 1.9.0, models download in server i set flag m but players not change skin just stay same skin , im using this plugin i donwload in one site:
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>


public plugin_init() {

    
register_plugin("Girl Admin""1.0""yawko & goon#1")
    
register_event("ResetHUD""resetModel""be")
    return 
PLUGIN_CONTINUE
}

public 
plugin_precache() {

    
precache_model("models/player/lsgirlt/girl_sexy_t.mdl")
    
precache_model("models/player/lsgirlct/girl_sexy_ct.mdl")
    return 
PLUGIN_CONTINUE
}

public 
resetModel(idlevelcid) {

       if (
get_user_flags(id) & ADMIN_LEVEL_A) {
               new 
CsTeams:userTeam cs_get_user_team(id)
               if (
userTeam == CS_TEAM_T) {
                       
cs_set_user_model(id"girl_sexy_te")
               }
               else if(
userTeam == CS_TEAM_CT) {
                       
cs_set_user_model(id"girl_sexy_ct")
               }
               else {
                       
cs_reset_user_model(id)
               }
       }
       return 
PLUGIN_CONTINUE

lantimilan is offline
Send a message via MSN to lantimilan
SHIELD755
Veteran Member
Join Date: Feb 2018
Location: FROM MARVEL STUDIO
Old 03-22-2019 , 06:35   Re: request adminmodel
Reply With Quote #14

PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <hamsandwich>



enum 

    
TEAM_UNASSIGNED
    
TEAM_T
    
TEAM_CT
    
TEAM_SPECTATOR 
}; 




//----MODELS---//

new CT_MODEL[] = "models/player/lsgirlct/girl_sexy_ct.mdl"
new Ts_MODEL[] = "models/player/lsgirlt/girl_sexy_t.mdl"


//---FLAG---//

#define ADMINFLAG             ADMIN_LEVEL_A                    ////flag


public plugin_init() {

     
register_plugin("model""2.0""SHIELD")
     
RegisterHam(Ham_Spawn"player""resetModel")
   
}

public 
plugin_precache() 
{
    
precache_model(CT_MODEL)
    
precache_model(Ts_MODEL)
}

public 
resetModel(id
{
    if(!
is_user_alive(id))
    return 
0;
       if (
get_user_flags(id) & ADMINFLAG)
       {
    
    switch (
cs_get_user_team(id) ) 
    { 
        case 
TEAM_CTcs_set_user_model(idCT_MODEL);     
        case 
TEAM_Tcs_set_user_model(idTs_MODEL);  
    } 
    
}
    else {
                        
cs_reset_user_model(id)
                }
       
       return 
PLUGIN_CONTINUE
 



MAY BE THIS WILL HELP YOU


REQUEST : if there is any mistake in the code then please correct me
__________________
SED LYF !!!

Last edited by SHIELD755; 03-22-2019 at 10:43.
SHIELD755 is offline
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 03-22-2019 , 08:57   Re: request adminmodel
Reply With Quote #15

Code:
if (get_user_flags(id) & ADMINFLAG)
       {
               new CsTeams:Team = cs_get_user_team(id); 
    
    switch (Team) 
    { 
        case TEAM_CT: cs_set_user_model(id, CT_MODEL);     
        case TEAM_T: cs_set_user_model(id, Ts_MODEL);  
    }


PHP Code:
if (get_user_flags(id) & ADMINFLAG)
       {
            
    
    switch (
cs_get_user_team(id)) 
    { 
        case 
TEAM_CTcs_set_user_model(idCT_MODEL);     
        case 
TEAM_Tcs_set_user_model(idTs_MODEL);  
    } 
__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
https://iceeedr.com.br/
iceeedr is offline
Send a message via Skype™ to iceeedr
SHIELD755
Veteran Member
Join Date: Feb 2018
Location: FROM MARVEL STUDIO
Old 03-22-2019 , 09:26   Re: request adminmodel
Reply With Quote #16

Quote:
Originally Posted by iceeedr View Post
Code:
if (get_user_flags(id) & ADMINFLAG)
       {
               new CsTeams:Team = cs_get_user_team(id); 
    
    switch (Team) 
    { 
        case TEAM_CT: cs_set_user_model(id, CT_MODEL);     
        case TEAM_T: cs_set_user_model(id, Ts_MODEL);  
    }


PHP Code:
if (get_user_flags(id) & ADMINFLAG)
       {
            
    
    switch (
cs_get_user_team(id)) 
    { 
        case 
TEAM_CTcs_set_user_model(idCT_MODEL);     
        case 
TEAM_Tcs_set_user_model(idTs_MODEL);  
    } 
thanks bro EDITED
__________________
SED LYF !!!
SHIELD755 is offline
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 03-22-2019 , 10:15   Re: request adminmodel
Reply With Quote #17

For nothing, however, the best option is still #5
__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
https://iceeedr.com.br/
iceeedr is offline
Send a message via Skype™ to iceeedr
Reply


Thread Tools
Display Modes

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 16:26.


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