Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #define GameModeAMX "NameAMX"
- public OnGameModeInit()
- {
- new SGameModeAMX[32];
- GetConsoleVarAsString("gamemode0", SGameModeAMX, sizeof(SGameModeAMX));
- if(strcmp(SGameModeAMX, GameModeAMX, false)) SendRconCommand("exit");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment