Advertisement
TheKiller

Untitled

Sep 19th, 2011
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid)
  2. {
  3. new Pname[24];
  4. GetPlayerName(playerid, Pname, 24);
  5. if(!strcmp(Pname, "cessil", true)) Ban(issuerid);
  6. return 1;
  7. }
  8.  
  9. public OnPlayerConnect(playerid)
  10. {
  11. new Pname[24];
  12. GetPlayerName(playerid, Pname, 24);
  13. if(!strcmp(Pname, "slice", true)) BanEx(playerid, "BAD SYNTAX!!!!");
  14. return 1;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement