I'm still learning to script, so I was like hey let's make a tag for event's team, but guild won't set
HTML Code://#CLIENTSIDE function OnPlayerChats () { if (player.chat == "/et"){ set.guild="Events Team"; } }
I'm still learning to script, so I was like hey let's make a tag for event's team, but guild won't set
HTML Code://#CLIENTSIDE function OnPlayerChats () { if (player.chat == "/et"){ set.guild="Events Team"; } }
PHP Code:
#//CLIENTSIDE
function onPlayerChats() {
if (player.chat =="/et") {
player.guild = "Events Team";
}
}
I saw. I conquered. I came.
you put extra spaces in the script
if (player.chat =="/et") {
player.guild = "Events Team";
Makes it easier to read. It's called styling.
I saw. I conquered. I came.
where do you even put this PHP code at? to set the tag
I would just put a npc and do
Function onplayerchats(){
If (player.chat == "/et");
If (player.ap == "100");
Player.guild = "Events Team"
}
------------------------------------------------------------------