Anti Crash
#1

Hey, I need a anti crash what work with vortex and screen,where can I found?
Reply
#2

eu folosesc asta, pune o la onplayerupdate

PHP код:
if (GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        new 
Float:vec0,Float:vec1,Float:vec2;
        
GetPlayerCameraFrontVector(playeridvec0vec1vec2);
        new 
bool:possible_crasher false;
        if (
floatabs(vec0) > 10.0 || floatabs(vec1) > 10.0 || floatabs(vec2) > 10.0)
            
possible_crasher true;
       
        if (
possible_crasher) {
            new 
stringw[128];
            
format(stringw,128,"(Anti-Cheat) %s(%d) posibil crasher / spam!",GetName(playerid),playerid); 
            
ABroadCast(COLOR_ADMCOMMANDS,stringw,1);
            return 
0//do not send fake data, prevents crash
        
}
    } 
Reply
#3

Mersi.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)