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";
}
}
Printable View
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 wonder why there needs to be spaces?
you put extra spaces in the script
if (player.chat =="/et") {
player.guild = "Events Team";
Makes it easier to read. It's called styling.
Doesn't work
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"
}