Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Any idea what I've missed?
thanks bro i own you a tonne! i'll just leave this correct job check here incase other people come bothering you and you can say "read the bloody comments i've had enough of this" xD
local ply = self.Owner;
if ply:Team() != TEAM_CULTIST and ply:Team() != TEAM_CULTLEADER and ply:Team() != TEAM_MANGEMORTE and ply:Team() != TEAM_DETRAQUEUR and ply:Team() != TEAM_ESPAGNOL and ply:Team() != TEAM_ZIKNOTVIP then
ply:ChatPrint("You need to be Black Magic user to cast this spell!!")
return
end
this is what i tried but it didn't work either D:
function Spell:OnFire(wand)
local ent = wand:GetOwner()
if(!IsValid(ent)) then return end
if ent:Team() ~= TEAM_CULTIST or ent:Team() ~= TEAM_CULTLEADER then
(do stuff here...)
end
...
end
(Good god its hard to format in this)
customCheck = function(ply) return CLIENT or
table.HasValue({TEAM_CULTIST, TEAM_CULTLEADER}, ply:Team())
end,
CustomCheckFailMsg = "You are not a Cultist?",
})
function Spell:OnFire(wand)