SwiZzoR

Untitled

Apr 10th, 2014
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.25 KB | None | 0 0
  1. #include <a_samp>
  2. #define MyHostName "SampFxp"
  3.  
  4.  
  5. public OnGameModeInit()
  6. {
  7.     new hostname[64];
  8.     GetServerVarAsString("hostname", hostname, sizeof(hostname));
  9.     if(strcmp(hostname,MyHostName,true)) return SendRconCommand("exit");
  10.     return 1;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment