Raised This Month: $ Target: $400
 0% 

Player model changes.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
egbertjan
Senior Member
Join Date: Mar 2007
Location: The Netherlands
Old 04-05-2011 , 12:25   Player model changes.
Reply With Quote #1

Hello I got a diablo mod server and I wanted to give assassins their own player model. When I added this to the script it compiled without any trouble, but when I picked the assassin race the server crashes. Does anyone see anything wrong or any improvements?

PHP Code:
        if(player_class[id] == Assassin && cs_get_user_team(id) == CS_TEAM_CT
        {
          
cs_set_user_model(id"models/diablomod/dbo/AssassinCT.mdl")
        }

        if(
player_class[id] == Assassin && cs_get_user_team(id) == CS_TEAM_T
        {
          
cs_set_user_model(id"models/diablomod/dbo/AssassinT.mdl")
        } 
P.S. The precache also works just fine.
egbertjan is offline
 



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 19:45.


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