Please help! Can't seem to find the error...
https://github.com/samvds/JoinAlert/blob/master/JoinAlert.py

https://github.com/samvds/JoinAlert/blob/master/JoinAlert.py


Please help! Can't seem to find the error...
https://github.com/samvds/JoinAlert/blob/master/JoinAlert.py
View attachment 2375
__title__ = 'JoinAlert'
__author__ = 'samvds'
__version__ = '1.0'
import clr
clr.AddReferenceByPartialName("Fougerite")
import Fougerite
"""
Class
"""
cyan = "[color #00ffff]"
green = "[color #00ff00]"
sysname = "Server"
class JoinAlert:
"""
Methods
"""
def On_PlayerConnected(self, Player):
Server.BroadcastFrom(sysname, green + "☢ "
+ Player.Name + " joined the server!")
def On_PlayerDisconnected(self, Player):
Server.BroadcastFrom(sysname, red + "☢ "
+ Player.Name + " left the server...")
Yes, you can use.... Why no? @RevezundsIs this plugin present in plugin download section @ice cold ? if not can i use it?
A team effort, feel free to use it!Is this plugin present in plugin download section @ice cold ? if not can i use it?
Ofcourse i dont seem a reason why notIs this plugin present in plugin download section @ice cold ? if not can i use it?
You are missing the + signs.Please help! Can't seem to find the error...
https://github.com/samvds/JoinAlert/blob/master/JoinAlert.py
View attachment 2375
You are missing the + signs.
Server.BroadcastFrom(sysname, green + "☢ " Player.Name " joined the server!")
Server.BroadcastFrom(sysname, green + "☢ " + Player.Name +" joined the server!")
Use PyCharm for learning
Plus sysname variable is not defined.
sysname = "Name"