Raised This Month: $ Target: $400
 0% 

Need help. Just little help.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 04-21-2011 , 16:12   Need help. Just little help.
Reply With Quote #1

What is wrong. it not works

PHP Code:
 if (g_handle_models_on_separate_ent)
 {
  
// Set the right model
  
if (g_nemesis[id] || !g_weskerround && !g_lnjround)
  {
    
iRand random_num(0ArraySize(model_nemesis) - 1)
    
ArrayGetString(model_nemesisiRandg_playermodel[id], charsmax(g_playermodel[]))
    if (
g_set_modelindex_offsetfm_cs_set_user_model_index(idArrayGetCell(g_modelindex_nemesisiRand))
  }
  else if (
g_nemesis[id] || g_weskerround && g_lnjround)
  {
   
iRand random_num(0ArraySize(model_nemesis2) - 1)
   
ArrayGetString(model_nemesis2iRandg_playermodel[id], charsmax(g_playermodel[]))
   if (
g_set_modelindex_offsetfm_cs_set_user_model_index(idArrayGetCell(g_modelindex_nemesis2iRand))
  }
  else if (
g_assassin[id])
  {
   
iRand random_num(0ArraySize(model_assassin) - 1)
   
ArrayGetString(model_assassiniRandg_playermodel[id], charsmax(g_playermodel[]))
   if (
g_set_modelindex_offsetfm_cs_set_user_model_index(idArrayGetCell(g_modelindex_assassiniRand))
  }
  else
  {
   if (
get_pcvar_num(cvar_adminmodelszombie) && (get_user_flags(id) & g_access_flag[ACCESS_ADMIN_MODELS]))
   {
    
iRand random_num(0ArraySize(model_admin_zombie) - 1)
    
ArrayGetString(model_admin_zombieiRandg_playermodel[id], charsmax(g_playermodel[]))
    if (
g_set_modelindex_offsetfm_cs_set_user_model_index(idArrayGetCell(g_modelindex_admin_zombieiRand))
   }
   else
   {
    
iRand random_num(ArrayGetCell(g_zclass_modelsstartg_zombieclass[id]), ArrayGetCell(g_zclass_modelsendg_zombieclass[id]) - 1)
    
ArrayGetString(g_zclass_playermodeliRandg_playermodel[id], charsmax(g_playermodel[]))
    if (
g_set_modelindex_offsetfm_cs_set_user_model_index(idArrayGetCell(g_zclass_modelindexiRand))
   }
  } 
PHP Code:
 
  
if (g_nemesis[id] || !g_weskerround && !g_lnjround)
  {
   
size ArraySize(model_nemesis)
   for (
0sizei++)
   {
     
ArrayGetString(model_nemesisitempmodelcharsmax(tempmodel))
     if (
equal(currentmodeltempmodel)) already_has_model true
   
}
 
   if (!
already_has_model)
   {
    if (!
g_weskerround && !g_lnjround)
    {
     
iRand random_num(0size 1)
     
ArrayGetString(model_nemesisiRandg_playermodel[id], charsmax(g_playermodel[]))
     if (
g_set_modelindex_offsetfm_cs_set_user_model_index(idArrayGetCell(g_modelindex_nemesisiRand))
    }
   }
  }
  else if (
g_nemesis[id] || g_weskerround && g_lnjround)
  {
   
size ArraySize(model_nemesis2)
   for (
0sizei++)
   {
    
ArrayGetString(model_nemesis2itempmodelcharsmax(tempmodel))
    if (
equal(currentmodeltempmodel)) already_has_model true
   
}
 
   if (!
already_has_model)
   {
    
iRand random_num(0size 1)
    
ArrayGetString(model_nemesis2iRandg_playermodel[id], charsmax(g_playermodel[]))
    if (
g_set_modelindex_offsetfm_cs_set_user_model_index(idArrayGetCell(g_modelindex_nemesis2iRand))
   }
  } 
i made so wrong way, i now .that's why I need your help.

I want if g_weskerround and g_lnjround ( zombie plague gameplay mode ) then nemesis model are model_nemesis2 and if dont are that g_weskerround and g_lnjround , Then nemesis model is model_nemesis1.
.Dare Devil. is offline
Old 04-24-2011, 12:27
.Dare Devil.
This message has been deleted by Exolent[jNr]. Reason: Don't bump until 2 weeks have passed since last post.
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 19:47.


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