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: służby...
1. Koniec służby...
Witam jak zrobi?, ?e jak wejd? za 2 razem to wywala mnie z teamu ?


function teamPolicja (thePlayer)
local playerName = getAccountName ( getPlayerAccount ( thePlayer ) ) 
if 
isObjectInACLGroup ( "user." .. playerName, aclGetGroup ( "Policja" ) ) then 
setPlayerTeam 
( thePlayer, politeamx )
outputChatBox ("Rozpocz??e? s?u?b? w tej frakcji", thePlayer, 0, 100, 255, false)  
else 
outputChatBox( "Nie nale?ysz do tej frakcji. ", thePlayer, 0, 100, 255, false) 
end
end
addEventHandler
( "onMarkerHit", markerpoli, teamPolicja )