Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include a_samp
- public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
- {
- if(GetPlayerCameraMode(issuerid) != 53 || !IsPlayerConnected(issuerid)) return 1
- switch(weaponid)
- {
- case 22..34:
- {
- if(GetPlayerTargetPlayer(issuerid) == INVALID_PLAYER_ID)
- {
- new string[61], Nome[24];
- GetPlayerName(issuerid, Nome, 24);
- format(string, sizeof(string), "PTAC: [%d]%s está usando AimBot.", issuerid, Nome);
- for(new i, PT = MAX_PLAYERS; i < PT; i++) if(IsPlayerConnected(i) && IsPlayerAdmin(i)) SendClientMessage(i, -1, string);
- }
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment