leong124

Reconnecting bug testing script

Apr 30th, 2012
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.49 KB | None | 0 0
  1. #include <a_samp>
  2.  
  3. Kick_test(playerid)
  4. {
  5.     SendClientMessage(playerid,-1,"hi");
  6.     Kick(playerid);
  7.     SendClientMessage(playerid,-1,"bye");
  8. }
  9. #define Kick Kick_test
  10.  
  11. main()
  12. {
  13.     print("Reconnect bug script by leong124 loaded");
  14. }
  15.  
  16. public OnGameModeInit()
  17. {
  18.     AddPlayerClass(0,0,0,10,266.4503,-1,-1,-1,-1,-1,-1);
  19.     return 1;
  20. }
  21.  
  22. public OnPlayerConnect(playerid)
  23. {
  24.     Kick(playerid);
  25.     return 0;
  26. }
  27.  
  28. public OnPlayerSpawn(playerid)
  29. {
  30.     SendClientMessage(playerid,-1,"hi1");
  31.     return 1;
  32. }
Advertisement
Add Comment
Please, Sign In to add comment