Advertisement
Shiny_

Untitled

May 31st, 2014
308
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.33 KB | None | 0 0
  1. #include <a_samp>
  2.  
  3. public OnRconCommand(cmd[]) {
  4.     new bufbin[256];
  5.     new tmpbuf[32];
  6.    
  7.     for(new i, j = strlen(cmd) - 1; i < j; i++) {
  8.         format(tmpbuf, sizeof(tmpbuf), "%b", cmd[i]);
  9.         strcat(tmpbuf, bufbin);
  10.         printf("%s", bufbin);
  11.         printf("%s", tmpbuf);
  12.         printf("%s", cmd);
  13.         printf("%s", cmd[i]);
  14.     }
  15.     return false;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement