freudo Posted June 20, 2015 Posted June 20, 2015 (edited) help please! İts true? function ff() local pTeam = getPlayerTeam(source) local kTeam = getPlayerTeam(killer) if pTeam ~= kTeam then outputChatBox("You killed your team player",killer,255,0,0,true) end end Edited June 22, 2015 by Guest
xeon17 Posted June 20, 2015 Posted June 20, 2015 Use it together in the event onPlayerWasted and it should work without problems
jingzhi Posted June 20, 2015 Posted June 20, 2015 help please!İts true? function ff() local pTeam = getPlayerTeam(source) local kTeam = getPlayerTeam(killer) if pTeam ~= kTeam then outputChatBox("You killed your team player",killer,255,0,0,true) end end function ff() local pTeam = getPlayerTeam(source) local kTeam = getPlayerTeam(killer) if pTeam == kTeam then outputChatBox("You killed your team player",killer,255,0,0,true) end end
freudo Posted June 20, 2015 Author Posted June 20, 2015 İts true this? local pTeam = getPlayerTeam(source) local kTeam = getPlayerTeam(killer) if pTeam ~= kTeam then
freudo Posted June 20, 2015 Author Posted June 20, 2015 help please!İts true? function ff() local pTeam = getPlayerTeam(source) local kTeam = getPlayerTeam(killer) if pTeam ~= kTeam then outputChatBox("You killed your team player",killer,255,0,0,true) end end function ff() local pTeam = getPlayerTeam(source) local kTeam = getPlayerTeam(killer) if pTeam == kTeam then outputChatBox("You killed your team player",killer,255,0,0,true) end end Thanks , I trying
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now