AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [HELP] Cant Compimile (https://forums.alliedmods.net/showthread.php?t=245938)

adamCSzombie1 08-09-2014 03:40

[HELP] Cant Compimile
 
1 Attachment(s)
Hi all. I cant compimile this plugin. Can there are one player compimile?
Code:

#include <amxmisc>
#include <hamsandwich>
#include <cstrike>
#include <fun>
#include <fakemeta>
#include <engine>
#tryinclude <cstrike_pdatas>

For Help Thanks

PreDominance 08-09-2014 04:07

Re: [HELP] Cant Compimile
 
http://puu.sh/aKYVj/cdc4bb7efd.png
Look around line 167 of the file and tell me what looks wrong.
http://puu.sh/aKYWB/7a287ba245.png

Eagle07 08-09-2014 06:21

Re: [HELP] Cant Compimile
 
1 Attachment(s)
line 161
Change This
PHP Code:

public OnCWeaponBox_Touchweaponbox id )
{
    if( 
IsPlayer(id) && is_user_alive(id) && pev(weaponboxpev_flags) & FL_ONGROUND )
        
            return 
HAM_IGNORED
        
}
        return 
HAM_SUPERCEDE
    
}
    return 
HAM_IGNORED


:arrow:
PHP Code:

public OnCWeaponBox_Touchweaponbox id )
{
    if( 
IsPlayer(id) && is_user_alive(id) && pev(weaponboxpev_flags) & FL_ONGROUND )
        return 
HAM_SUPERCEDE

    
return HAM_IGNORED


-------------

And In Line 1848

change
PHP Code:

    if(is_user_alive(id))
    {
        new 
si menu_create("Epic Veci \w(\r/furien\w)","specialne_itemy_handle")
        
menu_additem(si,"Wall Jump \dcena\y:\r120$^n\dWall Jump pre normalneho hraca (KOLO) !")")
        menu_additem(si,"
AutoBunnyHop \w[\yVIP\w] \dcena\y:\r100$^n\dAutomaticky Bhop (KOLO)")")
        
menu_display(id,si)
    } 

:arrow:

PHP Code:

    if(is_user_alive(id))
    {
        new 
si menu_create("Epic Veci \w(\r/furien\w)","specialne_itemy_handle")
        
menu_additem(si,"Wall Jump \dcena\y:\r120$^n\dWall Jump pre normalneho hraca (KOLO) !")
        
menu_additem(si,"AutoBunnyHop \w[\yVIP\w] \dcena\y:\r100$^n\dAutomaticky Bhop (KOLO)")
        
menu_display(id,si)
    } 



All times are GMT -4. The time now is 13:10.

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