Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Hey All. Its me iCool with a new Fs. With this you can have your server's hostname , gamemode text and map name.
- //Please do not re-releae it without my permission or remove the credits.
- //Thank You
- #include <a_samp>
- public OnFilterScriptInit()
- {
- SetTimer("mapname",500,1);
- SetTimer("hostname",500,1);
- SetTimer("gamemode",500,1);
- return 1;
- }
- forward mapname();
- public mapname()
- {
- new var = random(3); // u can add more mapnames by increasing the random(3) to any number and a case below.
- switch (var)
- {
- case 0: SendRconCommand("mapname change me"); //You can change the map names here.
- case 1: SendRconCommand("mapname change me");
- case 2: SendRconCommand("mapname change me");
- }
- }
- forward hostname();
- public hostname()
- {
- new var = random(4); // u can add more hostnames by increasing the random(4) to any number and a case below.
- switch (var)
- {
- case 0: SendRconCommand("hostname change me");//You can change the hostnames here.
- case 1: SendRconCommand("hostname change me");
- case 2: SendRconCommand("hostname change me");
- case 3: SendRconCommand("hostname change me");
- }
- }
- forward gamemode();
- public gamemode()
- {
- new var = random(4); // u can add more gamemode text by increasing the random(4) to any number and a case below.
- switch (var)
- {
- case 0: SendRconCommand("gamemodetext change me"); //You can change the gamemode text here.
- case 1: SendRconCommand("gamemodetext change me");
- case 2: SendRconCommand("gamemodetext change me");
- case 3: SendRconCommand("gamemodetext change me");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment