Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: będąc
1. Nie będąc w ACL
Witam. Osoba, kt?ra nie jest w ACL mo?e zmieni? team...


function teamPolicja (thePlayer)
local playerName = getAccountName ( getPlayerAccount ( thePlayer ) ) 
if 
isObjectInACLGroup ( "user." .. playerName, aclGetGroup ( "Policja" ) ) then 
setPlayerTeam 
( thePlayer, politeamx )  
else 
outputChatBox( "Nie jeste? pracownikiem Policji", thePlayer, 0, 0, 255, false) 
end
end
addEventHandler
( "onMarkerHit", markerpoli, teamPolicja )