VersusRT

Untitled

Jul 28th, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. #include <a_samp>
  2. #include <sscanf2>
  3. #include <kolory>
  4. #include <zcmd>
  5.  
  6. CMD:kick(playerid, params[])
  7. {
  8. new id, reason[64];
  9. if(sscanf(params, "ds[64]", id, reason))
  10. {
  11. return SendClientMessage(playerid, COLOR_GREEN, "Uzyj /kick id powod");
  12. }
  13. if(!IsPlayerConnected(id))
  14. {
  15. return SendClientMessage(playerid, COLOR_GREEN, "Gracz o wpisanym ID nie jest podlaczony do serwera!");
  16. }
  17.  
  18. Kick(id);
  19. return 1;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment