enzopaul4 Posted September 24, 2016 Posted September 24, 2016 Salut , as dori un exemplu de script , atunci cand scriu gen /ann test , sa imi apara in chat gen "Anunt Staff : test" multumesc anticipat
..:D&G:.. Posted September 25, 2016 Posted September 25, 2016 function adminAnn(thePlayer, cmd, ...) if not (...) then outputChatBox("[SYNTAXA] /"..cmd.." [Mesaj]", thePlayer, 255, 255, 0) else local mesaj = table.concat({...}, " ") outputChatBox("Anunt Admin By "..getPlayerName(thePlayer)..": "..mesaj, getRootElement(), 255, 255, 0) end end addCommandHandler("ann", adminAnn) Vezi ca oricine poate folosii comanda, fa-o sa o poata folosii doar admini
enzopaul4 Posted September 25, 2016 Author Posted September 25, 2016 (edited) o sa incerc EDIT: Nu merge , imi da o eroare Error: ad\server.lua:25: unexpected symbol near ')' Edited September 25, 2016 by enzopaul4
enzopaul4 Posted September 25, 2016 Author Posted September 25, 2016 Am rezolvat! multumesc de exemplu
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