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: ogloszeniu
1. nick przy ogloszeniu
chce zeby na czacie po <OG?OSZENIE> <nick osoby> ...

kod:


function message (thePlayer,cmd,...)

            
local accName = getAccountName ( getPlayerAccount ( thePlayer ) )

   if 
isObjectInACLGroup ("user."..accName, aclGetGroup ( "Everyone" ) ) then

         

          local allArgs 
= {...}




          
local theMessage = table.concat(allArgs, " ")

          
outputChatBox("<OG?OSZENIE> "..theMessage.."", getRootElement(), 0, 216, 202)

          
outputServerLog("OGLOSZENIE: "..theMessage.."")
   
          
outputDebugString ( "OGLOSZENIE: "..theMessage.."" )

         

          
end

          end

         

          addCommandHandler
("ogloszenie", message)