Advertisement
DraKiNs

[COD] Thread Time Plugin

Jun 30th, 2011
415
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.49 KB | None | 0 0
  1. void WINAPI THRDoToribiBash(cell * xuxatempo);
  2.  
  3. static cell AMX_NATIVE_CALL XamarGostozo(AMX * amx, cell * params)
  4. {
  5.     DWORD dwXuxaTHR;
  6.     HANDLE hThread = CreateTchread(0,0,(LPTHREAD_START_ROUTINE)THRDoToribiBash,(void*)params[1],0,&dwXuxaTHR);
  7.     return true;
  8. }
  9.  
  10. AMX_NATIVE_INFO HelloWorldNatives[ ] =
  11. {
  12.     { "XamarGostozo",XamarGostozo},
  13.     { 0,                    0 }
  14. };
  15.  
  16. void WINAPI THRDoToribiBash(cell * xuxatempo)
  17. {
  18.     Sleep((INT)xuxatempo);
  19.     printf("us gostoszo vinhero !!!!!11");
  20. }
  21. //by drakins
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement