Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #include <sscanf2>
- #define ServerName "Spirit Gamers Roleplay" // define server(host) name, •••> Host Name <•••
- forward hostname(playerid);
- //Style 1 is with ">" Style 2 is with "¦+" and Style 3 is with "›‹"
- //just change number
- #define Style 1
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Host Name Changer by Antonio Loaded!!!");
- print("--------------------------------------\n");
- SetTimer("hostname", 500, 1);
- return 1;
- }
- //please keep credits :)
- public OnFilterScriptExit()
- {
- print("\n--------------------------------------");
- print(" Host Name Changer by Antonio UnLoaded!!!");
- print("--------------------------------------\n");
- return 1;
- }
- public hostname(playerid)
- {
- #if Style == 1
- new Msg[128], var = random(4);
- switch (var)
- {
- case 0:
- {
- format(Msg, 200, "hostname %s Super Grege!", ServerName);
- SendRconCommand(Msg);
- }
- case 1:
- {
- format(Msg, 200, "hostname %s www.spirit-gamers.vv.si", ServerName);
- SendRconCommand(Msg);
- }
- case 2:
- {
- format(Msg, 200, "hostname %s Ingat Donated!!!", ServerName);
- SendRconCommand(Msg);
- }
- case 3:
- {
- format(Msg, 200, "hostname %s Ngk Join Barbel Melayang!", ServerName);
- SendRconCommand(Msg);
- }
- }
- #endif
- #if Style == 2
- new Msg[128], var = random(4);
- switch (var)
- {
- case 0:
- {
- format(Msg, 200, "hostname %s|Event-Event Menarik!", ServerName);
- SendRconCommand(Msg);
- }
- case 1:
- {
- format(Msg, 200, "hostname %s|Admin yang baik!", ServerName);
- SendRconCommand(Msg);
- }
- case 2:
- {
- format(Msg, 200, "hostname %s|Mancing Time!!", ServerName);
- SendRconCommand(Msg);
- }
- case 3:
- {
- format(Msg, 200, "hostname %s|Ngk Join Di Mahoin!!!", ServerName);
- SendRconCommand(Msg);
- }
- }
- #endif
- #if Style == 3
- new Msg[128], var = random(4);
- switch (var)
- {
- case 0:
- {
- format(Msg, 200, "hostname %s|Server Termaho!!", ServerName);
- SendRconCommand(Msg);
- }
- case 1:
- {
- format(Msg, 200, "hostname %s|Server Ganteng!•", ServerName);
- SendRconCommand(Msg);
- }
- case 2:
- {
- format(Msg, 200, "hostname %s|www.spiri-gamers.vv.si/forum/", ServerName);
- SendRconCommand(Msg);
- }
- case 3:
- {
- format(Msg, 200, "hostname %s|Terima Kasih!", ServerName);
- SendRconCommand(Msg);
- }
- }
- #endif
- }
Advertisement
Add Comment
Please, Sign In to add comment