Raised This Month: $ Target: $400
 0% 

Run Time error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
RedRobster
Veteran Member
Join Date: Apr 2010
Location: Your Closet
Old 06-18-2010 , 17:04   Re: Run Time error
Reply With Quote #1

You didn't show us the right part of the code, I don't think.
RedRobster is offline
edgaras85
Senior Member
Join Date: Mar 2010
Location: Lithuania
Old 06-18-2010 , 17:52   Re: Run Time error
Reply With Quote #2

Quote:
Originally Posted by RedRobster View Post
You didn't show us the right part of the code, I don't think.
PHP Code:
public resetModel(idlevelcid) {
 new 
CsTeams:Team cs_get_user_team(id)   85Line
 
 
if(Team == CS_TEAM_CT) {
  switch(
random_num(13))
  {
    case 
1cs_set_user_model(id"model1");
    case 
2cs_set_user_model(id"model2");
   case 
3cs_set_user_model(id"model3");
  }
 }
 else if(
Team == CS_TEAM_T){
 
cs_reset_user_model(id)
 }
 return 
PLUGIN_CONTINUE


Last edited by edgaras85; 06-18-2010 at 18:31.
edgaras85 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 14:48.


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