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: wszysty
1. Wszysty widzą czat
Witam chodzi mi o to ze to ma by? czat frakcyjny ale jak co? na nim napisze to widzi ca?y serwer, Da rade zrobic aby tylko osoby w frakcji widzieli?

function globalMessage2(thePlayercmd, ...)
    if 
getElementData(thePlayer"player:duty") == false then outputChatBox("Musisz byc w frakcji aby pisa? na czacie Frakcyjnym!",thePlayer) return end
    local message 
table.concat ( { ... }, " " )
    
local name getPlayerName(thePlayer)
    
outputChatBox("#FF0000[Frakcja]#00FF00"..name..": #FFFFFF"..messagegetRootElement(), 255255255true)
    
end
addCommandHandler
("frakcja"globalMessage2)