Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #define MyHostName "SampFxp"
- public OnGameModeInit()
- {
- new hostname[64];
- GetServerVarAsString("hostname", hostname, sizeof(hostname));
- if(strcmp(hostname,MyHostName,true)) return SendRconCommand("exit");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment