Advertisement
DraKiNs

[COD] SetServerSlots Source

Jun 26th, 2011
271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.40 KB | None | 0 0
  1. static cell AMX_NATIVE_CALL nativeSetServerSlots(AMX *amx, cell *params)
  2. {
  3.     if(params[0] / sizeof(cell) == 1)
  4.     {
  5.         int slots_ = params[1];
  6.         WriteProcessMemory((HANDLE)-1,(void *)0x012FE88, &slots_, 4, NULL);
  7.         return true;
  8.     }
  9.     logprintf("[ERRO] Numero de parametros invalido");
  10.     return false;
  11. }
  12. /*
  13. By DraKiNs
  14. www.ips-team.blogspot.com
  15.  
  16. native SetServerSlots(slots);
  17. SetServerSlots(600);
  18. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement