Gang system messed up

Started by [VM_U]Spectra.PhantoM^, Apr 14, 2016, 09:24 AM

Previous topic - Next topic

[VM_U]Spectra.PhantoM^

so i copy/pasted a theirclantag function into my script made it like dis:
function onPlayerJoin( player )
{
if (TheirClanTag = "[thug]") Message(IM+"VIP Thugz Member " + player.Name + " Joined");
else Message("");
}
But someone named cap joined and it said VIP bla bla member cap joined.
Any Fix???
Wanna Talk To Me? Come At Irc #Jugo@LUNet

KAKAN

TheirClanTag is a function or a variable xd?
Anyways, here's the fixed one:
if (TheirClanTag == "[thug]") Message(IM+"VIP Thugz Member " + player.Name + " Joined");
else Message("");
It should be '==' and not '='.
oh no

[VM_U]Spectra.PhantoM^

Wow.....
-_- Im a  dope anywayz thnx solved.
Wanna Talk To Me? Come At Irc #Jugo@LUNet

Anik

Why not Use the button "Mark As Solved" If your issue have fixed