Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //--------- FINAL DO GM:
- public OnPlayerWeaponShot( playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ )
- {
- if( hittype != BULLET_HIT_TYPE_NONE )
- {
- if( !( -1000.0 <= fX <= 1000.0 ) || !( -1000.0 <= fY <= 1000.0 ) || !( -1000.0 <= fZ <= 1000.0 ) )
- {
- new fdpcrasher[MAX_PLAYER_NAME];GetPlayerName(playerid, fdpcrasher, MAX_PLAYER_NAME);
- new crasher[300];
- format(crasher, sizeof(crasher), "{00FF00}%s {EE0000}foi kikado automaticamente. {00FF00}Motivo: {EE0000}Tentou crashar Players.", fdpcrasher);
- printf("[BPL]: Crasher de Players detectado: %d [ID:%s]",fdpcrasher,playerid);
- SendClientMessageToAll(0xC1C1C1FF, crasher);
- Kick(playerid, "Tentou crashar os players");
- return 0;
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement