options: reload: player #Kto ma wykonac komende reload: Console - konsola/ Player - Gracz command /csgo [] []: executable by: players aliases: CounterStrike, DeathMatch, cs trigger: if arg 1 is not set: send "&c&m=========================================" send "&9 CounterStrike&f:&9GlobalEffensive" send "&9 DeathMatch&f:&9Edition" send "&7- &e/csgo setspawn 1-15 &7- Ustawia spawny" send "&7- &e/csgo setlobby &7- Ustawia lobby" send "&7- &e/csgo join &7- Dolacza do areny" send "&7- &e/csgo reload &7- Przeladowywuje skrypt" send "&7- &e/csgo leave &7- Wychodzisz z gry" send "&7- &e/csgo update &7- Opcje aktualizacji" send "&9 Api boleknowak&f/&9Update Sewer" send "&c&m=========================================" if arg 1 is "setspawn": if arg 2 is not set: send "&7Uzyj liczby od 1 do 15!" if arg 2 is "1": set {csgo::spawn::1} to location of player send "&7Spawn 1 zostal zapisany!" if arg 2 is "2": set {csgo::spawn::2} to location of player send "&7Spawn 2 zostal zapisany!" if arg 2 is "3": set {csgo::spawn::3} to location of player send "&7Spawn 3 zostal zapisany!" if arg 2 is "4": set {csgo::spawn::4} to location of player send "&7Spawn 4 zostal zapisany!" if arg 2 is "5": set {csgo::spawn::5} to location of player send "&7Spawn 5 zostal zapisany!" if arg 2 is "6": set {csgo::spawn::6} to location of player send "&7Spawn 6 zostal zapisany!" if arg 2 is "7": set {csgo::spawn::7} to location of player send "&7Spawn 7 zostal zapisany!" if arg 2 is "8": set {csgo::spawn::8} to location of player send "&7Spawn 8 zostal zapisany!" if arg 2 is "9": set {csgo::spawn::9} to location of player send "&7Spawn 9 zostal zapisany!" if arg 2 is "10": set {csgo::spawn::10} to location of player send "&7Spawn 10 zostal zapisany!" if arg 2 is "11": set {csgo::spawn::11} to location of player send "&7Spawn 11 zostal zapisany!" if arg 2 is "12": set {csgo::spawn::12} to location of player send "&7Spawn 12 zostal zapisany!" if arg 2 is "13": set {csgo::spawn::13} to location of player send "&7Spawn 13 zostal zapisany!" if arg 2 is "14": set {csgo::spawn::14} to location of player send "&7Spawn 14 zostal zapisany!" if arg 2 is "15": set {csgo::spawn::15} to location of player send "&7Spawn 15 zostal zapisany!" if arg 2 is not "1" or "2" or "2" or "3" or "4" or "5" or "6" or "7" or "8" or "9" or "10" or "11" or "12" or "13" or "14" or "15": send "&7Poprawne uzycie /csgo setspawn 1-15" stop if arg 1 is "Update": send "&7Obecna wersja skryptu nie wspiera aktualizacji!" if arg 1 is "reload": execute {@reload} command "sk reload %script%" send "&7Skrypt zostal przeladowany" if arg 1 is "setlobby": set {csgo::lobby} to location of player send "&7Lobby gry zostalo zapisane!" if arg 1 is "leave": set {csgo::tt::%player%} to false set {csgo::ct::%player%} to false set {csgo::fragi::%player%} to 0 set {csgo::smierci::%player%} to 0 clear inventory of player teleport player to {csgo::lobby} remove 1 from {csgo::gracze} send "&7Wyszedles z gry!" if arg 1 is "join": if {csgo::team::join} is true: send "&7Dolaczyles do druzyny &3AntyTerrorystow" to player set {csgo::team::join} to false set {csgo::local} to random integer between 1 and 15 wait 1 tick teleport player to {csgo::spawn::%{csgo::local}%} set {csgo::ct::%player%} to true set {csgo::tt::%player%} to false set {csgo::gram::%player%} to true set slot 1 of player's inventory to iron sword named "knife" set slot 2 of player's inventory to wood hoe named "&6P250" add 1 to {csgo::gracze} stop if {csgo::team::join} is false: send "&7Dolaczyles do druzyny &cTerrorystow" to player set {csgo::team::join} to true set {csgo::local} to random integer between 1 and 15 wait 1 tick teleport player to {csgo::spawn::%{csgo::local}%} set {csgo::tt::%player%} to true set {csgo::ct::%player%} to false set {csgo::gram::%player%} to true set slot 1 of player's inventory to iron sword named "knife" set slot 2 of player's inventory to stone hoe named "&6Glock-18" add 1 to {csgo::gracze} stop if arg 1 is not "setspawn" or "setlobby" or "join" or "reload" or "leave" or "update": send "&c&m=========================================" send "&9 CounterStrike&f:&9GlobalEffensive" send "&9 DeathMatch&f:&9Edition" send "&7- &e/csgo setspawn 1-15 &7- Ustawia spawny" send "&7- &e/csgo setlobby &7- Ustawia lobby" send "&7- &e/csgo join &7- Dolacza do areny" send "&7- &e/csgo reload &7- Przeladowywuje skrypt" send "&7- &e/csgo leave &7- Wychodzisz z gry" send "&7- &e/csgo update &7- Opcje aktualizacji" send "&9 Api boleknowak&f/&9Update Sewer" send "&c&m=========================================" stop on load: set {csgo::team::join} to true set {csgo::gracze} to 0 set {csgo::online} to 0 on damage: if attacker is a player: if victim is a player: if {csgo::tt::%attacker%} is true: if {csgo::tt::%victim%} is true: send "&fGracz %attacker% zaatakowal kolege z druzyny!" to attacker cancel event stop if {csgo::ct::%attacker%} is true: if {csgo::ct::%victim%} is true: send "&fGracz %attacker% zaatakowal kolege z druzyny!" to attacker cancel event stop on respawn: if {csgo::tt::%player%} is true: set {csgo::local} to random integer between 1 and 15 wait 1 tick teleport player to {csgo::spawn::%{csgo::local}%} set slot 1 of player's inventory to iron sword named "knife" set slot 2 of player's inventory to stone hoe named "&6Glock-18" else: set {csgo::local} to random integer between 1 and 15 wait 1 tick teleport player to {csgo::spawn::%{csgo::local}%} set slot 1 of player's inventory to iron sword named "knife" set slot 2 of player's inventory to wood hoe named "&6P250" on join: set {csgo::tt::%player%} to false set {csgo::ct::%player%} to false set {csgo::fragi::%player%} to 0 set {csgo::smierci::%player%} to 0 add 1 to {csgo::online} teleport player to {csgo::lobby} clear player' inventory on quit: remove 1 from {csgo::online} remove 1 from {csgo::gracze} on rightclick on crafting table: cancel event on pickup: cancel event on drop: cancel event on death of player: set death message to "" on sign change: player has permission "csgo.admin" line 1 is "[CSGO]" line 2 is "join" send "&7Pomyslnie utworzono tabliczke do dolaczania!" set line 1 to "&1[CS:GO]" set line 2 to "&6DeathMatch" set line 3 to "Join" on right click on a sign: if line 1 is "&1[CS:GO]": if line 2 is "&6DeathMatch": if line 3 is "Join": execute player command "csgo join"