_iLustcheR_

[SAMP-IL] Four Ways To Protect Your Server - Third Way

Oct 18th, 2016
375
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.15 KB | None | 0 0
  1. #include <a_samp>
  2.  
  3. #define Port 7777
  4.  
  5. public OnGameModeInit()
  6. {
  7.     if(GetConsoleVarAsInt("port") != Port) SendRconCommand("exit");
  8.     return 1;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment