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

How to save in nvault?


Post New Thread Reply   
 
Thread Tools Display Modes
Gasior
Member
Join Date: Mar 2012
Old 12-30-2016 , 02:41   Re: How to save in nvault?
Reply With Quote #41

I am sorry for the spam I am just a stupid bastard.

Code:
public resetModel( id ) 
{
	
    new szAuthID[33];
    get_user_authid(id,szAuthID,32);
            
    if(equali(szAuthID,"STEAM_X:X")){
        if (cs_get_user_team(id) == CS_TEAM_T) {
            cs_set_user_model(id, "nowyt");
            }
        else if(cs_get_user_team(id) == CS_TEAM_CT) {
            cs_set_user_model(id, "nowyc");
            }
        }
    else{
            new CsTeams:userTeam;
    
            if ( ( g_Model[ id ] != NoModelSet ) && ( CS_TEAM_T <= ( userTeam = cs_get_user_team( id ) ) <= CS_TEAM_CT ) )
                cs_set_user_model( id , g_ModelFiles[ g_Model[ id ] ][ _:userTeam - 1 ]);
            else
                cs_reset_user_model(id);
	}
}
X.X

Last edited by Gasior; 12-30-2016 at 02:41.
Gasior is offline
absinthbad
Junior Member
Join Date: Mar 2011
Old 04-25-2017 , 17:36   Re: How to save in nvault?
Reply With Quote #42

Quote:
Originally Posted by Bugsy View Post
Good news. Delete that log_amx() line since it no longer serves a purpose and so it won't clog up your log. You should also use the LoadData() function from the original code here
Sorry to push this thread, but i tried to contact Bugsy via Private Message and seems its buggy.

Bugsy are you excepting a job helping me with including this nvault into some present model plugin i am using on my server? I would pay for this since i know its a hell of a work, unfortunaltey im not a bit into coding.
absinthbad is offline
Reply



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 10:23.


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