Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if( hittype != BULLET_HIT_TYPE_NONE )
- {
- if( !( -1000.0 <= fX <= 1000.0 ) || !( -1000.0 <= fY <= 1000.0 ) || !( -1000.0 <= fZ <= 1000.0 ) )
- {
- if(IsPlayerNPC(playerid))
- {
- return 1;
- }
- new StrAntiCresher[350];
- format(StrAntiCresher,sizeof(StrAntiCresher),""CRVENA"[RCA] "ZUTA"%s je kikovan od strane ANTI-CRASHER!",GetName(playerid));
- AdminSupport(-1, StrAntiCresher);
- return 0;
- }
- }
- if( hittype == BULLET_HIT_TYPE_PLAYER )
- {
- if(hitid == playerid)
- {
- if(IsPlayerNPC(playerid))
- {
- return 1;
- }
- new StrAntiCresher[350];
- format(StrAntiCresher,sizeof(StrAntiCresher),""CRVENA"[RCA] "ZUTA"%s je kikovan od strane ANTI-CRASHER!",GetName(playerid));
- AdminSupport(-1, StrAntiCresher);
- return 0;
- }
- }
- if( hittype == BULLET_HIT_TYPE_PLAYER )
- {
- if( fX == 0.000000 && fY == 0.000000 && fZ == 0.500000 && weaponid == 0)
- {
- if(IsPlayerNPC(playerid))
- {
- return 1;
- }
- new StrAntiCresher[350];
- format(StrAntiCresher,sizeof(StrAntiCresher),""CRVENA"[RCA] "ZUTA"%s je kikovan od strane ANTI-CRASHER!",GetName(playerid));
- AdminSupport(-1, StrAntiCresher);
- return 0;
- }
- }
- if( hittype == 0 && !IsValidWeapon(weaponid) )
- {
- if( fX == 0.000000 && fY == 0.000000 && fZ == 0.000000 )
- {
- if(IsPlayerNPC(playerid))
- {
- return 1;
- }
- new StrAntiCresher[350];
- format(StrAntiCresher,sizeof(StrAntiCresher),""CRVENA"[RCA] "ZUTA"%s je kikovan od strane ANTI-CRASHER!",GetName(playerid));
- AdminSupport(-1, StrAntiCresher);
- return 0;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement