Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- OnChatInput("input")
- {
- If(String.Equals(VariableString("input"),"/notitan"))
- {
- Game.PrintMessage("<size=15><b><color=#F31215>Titan</color></b></size><size=12>_IS_NO_ALLOWED</size>");
- VariablePlayer.Set("myPlayer", VariablePlayer("null"));
- VariableBool.set("done", false);
- ForeachTitan("t")
- {
- lf(Bool.Equals(VariableBool("done"), false))
- {
- Titan.MoveTitan(VariableTitan("t"), RegionRandomX("nt"),RegionRandomY("nt"),RegionRandomZ("nt"));
- VariableBool.set("done", false);
- }
- }
- }
- If(String.Equals(VariableString("input"),"/ltitan"))
- {
- Game.PrintMessage("<size=15><b><color=#F31215>ALLOWED</color></b></size><size=12>_TO_HAVE_TITAN_RANDOM-SPAWN</size>");
- VariablePlayer.Set("myPlayer", VariablePlayer("null"));
- VariableBool.set("done", false);
- ForeachTitan("t")
- {
- lf(Bool.Equals(VariableBool("done"), false))
- {
- Titan.MoveTitan(VariableTitan("t"), RegionRandomX("rd"),RegionRandomY("rd"),RegionRandomZ("rd"));
- VariableBool.set("done", false);
- }
- }
- }
- If(String.Equals(VariableString("input"),"/stc"))
- {
- Game.PrintMessage("<size=15><b><color=#F31215>Titan_invade!!_city</color></b></size>");
- {
- Titan.SpawnTitanAt(0, 3.0, 0, 1, RegionRandomX("ti"), RegionRandomY("ti"), RegionRandomZ("ti"));
- Titan.SpawnTitanAt(0, 3.0, 0, 1, RegionRandomX("ti"), RegionRandomY("ti"), RegionRandomZ("ti"));
- Titan.SpawnTitanAt(0, 3.0, 0, 1, RegionRandomX("ti"), RegionRandomY("ti"), RegionRandomZ("ti"));
- Titan.SpawnTitanAt(0, 3.0, 0, 1, RegionRandomX("ti"), RegionRandomY("ti"), RegionRandomZ("ti"));
- Titan.SpawnTitanAt(0, 3.0, 0, 1, RegionRandomX("ti"), RegionRandomY("ti"), RegionRandomZ("ti"));
- Titan.SpawnTitanAt(0, 3.0, 0, 1, RegionRandomX("ti"), RegionRandomY("ti"), RegionRandomZ("ti"));
- }
- }
- If(String.Equals(VariableString("input"),"/stdz"))
- {
- Game.PrintMessage("<size=15><b><color=#F31215>Titan_invade!!_dead_zone</color></b></size>");
- {
- Titan.SpawnTitanAt(0, 1.0, 0, 1, RegionRandomX("td"), RegionRandomY("td"), RegionRandomZ("td"));
- Titan.SpawnTitanAt(0, 1.0, 0, 1, RegionRandomX("td"), RegionRandomY("td"), RegionRandomZ("td"));
- Titan.SpawnTitanAt(0, 1.0, 0, 1, RegionRandomX("td"), RegionRandomY("td"), RegionRandomZ("td"));
- Titan.SpawnTitanAt(0, 1.0, 0, 1, RegionRandomX("td"), RegionRandomY("td"), RegionRandomZ("td"));
- Titan.SpawnTitanAt(0, 1.0, 0, 1, RegionRandomX("td"), RegionRandomY("td"), RegionRandomZ("td"));
- }
- }
- If(String.Equals(VariableString("input"),"/stree"))
- {
- Game.PrintMessage("<size=15><b><color=#F31215>Titan_invade!!_tree_zone</color></b></size>");
- {
- Titan.SpawnTitanAt(0, 1.0, 0, 1, RegionRandomX("stt"), RegionRandomY("stt"), RegionRandomZ("stt"));
- Titan.SpawnTitanAt(0, 1.0, 0, 1, RegionRandomX("stt"), RegionRandomY("stt"), RegionRandomZ("stt"));
- Titan.SpawnTitanAt(0, 1.0, 0, 1, RegionRandomX("stt"), RegionRandomY("stt"), RegionRandomZ("stt"));
- Titan.SpawnTitanAt(0, 1.0, 0, 1, RegionRandomX("stt"), RegionRandomY("stt"), RegionRandomZ("stt"));
- Titan.SpawnTitanAt(0, 1.0, 0, 1, RegionRandomX("stt"), RegionRandomY("stt"), RegionRandomZ("stt"));
- }
- }
- If(String.Equals(VariableString("input"),"/stst"))
- {
- Game.PrintMessage("<size=15><b><color=#F31215>Titan_invade!!_small_town</color></b></size>");
- {
- Titan.SpawnTitanAt(0, 3.0, 0, 1, RegionRandomX("stst"), RegionRandomY("stst"), RegionRandomZ("stst"));
- Titan.SpawnTitanAt(0, 3.0, 0, 1, RegionRandomX("stst"), RegionRandomY("stst"), RegionRandomZ("stst"));
- Titan.SpawnTitanAt(0, 3.0, 0, 1, RegionRandomX("stst"), RegionRandomY("stst"), RegionRandomZ("stst"));
- Titan.SpawnTitanAt(0, 3.0, 0, 1, RegionRandomX("stst"), RegionRandomY("stst"), RegionRandomZ("stst"));
- Titan.SpawnTitanAt(0, 3.0, 0, 1, RegionRandomX("stst"), RegionRandomY("stst"), RegionRandomZ("stst"));
- }
- }
- If(String.Equals(VariableString("input"),"/tpcs"))
- {
- Game.PrintMessage("<size=15><b><color=#FFFFFF>City_zone</color></b></size>");
- VariablePlayer.Set("myPlayer", VariablePlayer("null"));
- VariableBool.set("done", false);
- ForeachPlayer("myPlayer")
- {
- lf(Bool.Equals(VariableBool("done"), false))
- {
- Player.MovePlayer(VariablePlayer("myPlayer"), 0.0, 15.0, 20.0);
- VariableBool.set("done", false);
- }
- }
- }
- If(String.Equals(VariableString("input"),"/tpds"))
- {
- Game.PrintMessage("<size=15><b><color=#FFFFFF>Dead_zone</color></b></size>");
- VariablePlayer.Set("myPlayer", VariablePlayer("null"));
- VariableBool.set("done", false);
- ForeachPlayer("myPlayer")
- {
- lf(Bool.Equals(VariableBool("done"), false))
- {
- Player.MovePlayer(VariablePlayer("myPlayer"), 1790.0, 15.0, -300.0);
- VariableBool.set("done", false);
- }
- }
- }
- If(String.Equals(VariableString("input"),"/tpts"))
- {
- Game.PrintMessage("<size=15><b><color=#FFFFFF>Tree_zone</color></b></size>");
- VariablePlayer.Set("myPlayer", VariablePlayer("null"));
- VariableBool.set("done", false);
- ForeachPlayer("myPlayer")
- {
- lf(Bool.Equals(VariableBool("done"), false))
- {
- Player.MovePlayer(VariablePlayer("myPlayer"), -1295.0, 15.0, -1000.0);
- VariableBool.set("done", false);
- }
- }
- }
- If(String.Equals(VariableString("input"),"/tpsts"))
- {
- Game.PrintMessage("<size=15><b><color=#FFFFFF>Small_Town_zone</color></b></size>");
- VariablePlayer.Set("myPlayer", VariablePlayer("null"));
- VariableBool.set("done", false);
- ForeachPlayer("myPlayer")
- {
- lf(Bool.Equals(VariableBool("done"), false))
- {
- Player.MovePlayer(VariablePlayer("myPlayer"), 0.0, 15.0, -1780.0);
- VariableBool.set("done", false);
- }
- }
- }
- If(String.Equals(VariableString("input"),"/tprds"))
- {
- Game.PrintMessage("<size=15><b><color=#FFFFFF>RAN_DOM_TELEPORT</color></b></size>");
- VariablePlayer.Set("myPlayer", VariablePlayer("null"));
- VariableBool.set("done", false);
- ForeachPlayer("myPlayer")
- {
- lf(Bool.Equals(VariableBool("done"), false))
- {
- Player.MovePlayer(VariablePlayer("myPlayer"), RegionRandomX("rd"),RegionRandomY("rd"),RegionRandomZ("rd"));
- VariableBool.set("done", false);
- }
- }
- }
- If(String.Equals(VariableString("input"),"/ctp"))
- {
- Game.PrintMessage("<color=#15F6D1>Server</color>:Show_command_player");
- Game.PrintMessage("<size=15><b><color=#F31215>Teleport</color></b>:Teleport_player</size>");
- Game.PrintMessage("<size=15><b><color=#F31215>/tpcs</color></b>:Teleport_player_to_city_zone</size>");
- Game.PrintMessage("<size=15><b><color=#F31215>/tpds</color></b>:Teleport_player_to_dead_zone</size>");
- Game.PrintMessage("<size=15><b><color=#F31215>/tpts</color></b>:Teleport_player_to_tree_zone</size>");
- Game.PrintMessage("<size=15><b><color=#F31215>/tpsts</color></b>:Teleport_player_to_small_town</size>");
- Game.PrintMessage("<size=15><b><color=#F31215>/tprds</color></b>:Teleport_player_ran_dom</size>");
- }
- If(String.Equals(VariableString("input"),"/cst"))
- {
- Game.PrintMessage("<color=#15F6D1>Server</color>:Show_command_titan");
- Game.PrintMessage("<size=15><b><color=#F31215>Spawn_titan</color></b>:Spawn_titan</size>");
- Game.PrintMessage("<size=15><b><color=#F31215>/stc</color></b>:Titan_invade!!_city_zone</size>");
- Game.PrintMessage("<size=15><b><color=#F31215>/stdz</color></b>:Titan_invade!!_dead_zone</size>");
- Game.PrintMessage("<size=15><b><color=#F31215>/stree</color></b>:Titan_invade!!_tree_zone</size>");
- Game.PrintMessage("<size=15><b><color=#F31215>/stst</color></b>:Titan_invade!!_small_town</size>");
- Game.PrintMessage("<size=15><b><color=#F31215>/ltitan</color></b>ALLOWED_TO_HAVE_TITAN_RANDOM-SPAWN</size>");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement