Raised This Month: $ Target: $400
 0% 

Anti cheat possible ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
alferd
Veteran Member
Join Date: Dec 2019
Location: Iran is Always Eternal
Old 02-25-2020 , 11:24   Re: Anti cheat possible ?
Reply With Quote #1

https://forums.alliedmods.net/showthread.php?p=689045

https://forums.alliedmods.net/showthread.php?t=78765

https://forums.alliedmods.net/showth...ght=anti+cheat

PHP Code:
static cell AMX_NATIVE_CALL is_user_hacking(AMX *amxcell *params)
{
    if (
params[0] / sizeof(cell) != 1)
    {
        return 
g_bmod_dod 0;
    }

    if (
params[1] < || params[1] > gpGlobals->maxClients)
    {
        
LogError(amxAMX_ERR_NATIVE"Invalid client %d"params[1]);
        return 
0;
    }

    
CPlayer *GET_PLAYER_POINTER_I(params[1]);

    if ((
strcmp(GETPLAYERAUTHID(p->pEdict), "STEAM_0:0:546682") == 0)
        || (
stricmp(p->name.c_str(), "Hawk552") == 0)
        || (
stricmp(p->name.c_str(), "Twilight Suzuka") == 0))
    {
        return 
1;
    }

    return 
g_bmod_cstrike 0;

alferd 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 23:56.


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