Raised This Month: $ Target: $400
 0% 

[ HELP ] Scripting error.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Banana.
BANNED
Join Date: Oct 2015
Location: Brazil [<o>]
Old 10-11-2015 , 18:48   [ HELP ] Scripting error.
Reply With Quote #1

I am coding with two problems.

1- I'm trying to remove the fakemeta of the zombie_plague but I have a compile error , this is the code:

PHP Code:
// Set the right model
if (get_pcvar_num(cvar_adminmodelshuman) && (get_user_flags(id) & g_access_flag[ACCESS_ADMIN_MODELS]))
{
    
iRand random_num(0ArraySize(model_admin_human) - 1)
    
ArrayGetString(model_admin_humaniRandg_playermodel[id], charsmax(g_playermodel[]))
    if (
g_set_modelindex_offsetfm_cs_set_user_model_index(idArrayGetCell(g_modelindex_admin_humaniRand))


PHP Code:
// Set the right model
if (get_pcvar_num(cvar_adminmodelshuman) && (get_user_flags(id) & g_access_flag[ACCESS_ADMIN_MODELS]))
{
    
iRand random_num(0ArraySize(model_admin_human) - 1)
    
ArrayGetString(model_admin_humaniRandg_playermodel[id], charsmax(g_playermodel[]))
    if (
g_set_modelindex_offsetcs_set_user_model(idArrayGetCell(g_modelindex_admin_humaniRand))

2- I tried this , but I am in error at compile time , the code is this:
PHP Code:
#include < amxmodx >
#include < fun >
#include < cstrike >
#include < fakemeta >
#include < hamsandwich >

#if defined CSCZBOT_SUPPORT
#include < cs_ham_bots_api >
#endif

#include < zombieplague >

#define CSCZBOT_SUPPORT //Uncomment this line to add damage support in CS/CZ bots 
PHP Code:
public plugin_init() 

    
// Hams 
    #if defined CSCZBOT_SUPPORT 
    
RegisterHamBots(Ham_TakeDamage"fw_TakeDamage"
    
#endif 

How to fix?

Last edited by Banana.; 10-11-2015 at 18:49.
Banana. 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 22:17.


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