ViniGuzela Posted September 5, 2019 Share Posted September 5, 2019 (edited) Coloquei a mensagem no Script mas não estou conseguindo visualizar dentro do jogo -- Menssagem para o jogador local joinMessage = "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" local joinMessage2 = "#00FF00Seja bem vindo ao servidor Equality RolePlay!" local joinMessage3 = "(Tecle F3) TS: XXXXXXX" local joinMessage4 = "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" -- Functions function spawnOnJoin() spawnPlayer(source, joinX, joinY, joinZ, 0 , joinSkin) fadeCamera(source, true) setCameraTarget(source, source) outputChatBox(joinMessage, joinMessage2, joinMessage3, joinMessage4, source) giveWeapon(source, joinWeapon, joinAmmo) givePlayerMoney(source, joinMoney) end Edited September 5, 2019 by ViniGuzela Link to comment
czarsight Posted September 5, 2019 Share Posted September 5, 2019 Tens de colocar um evento. Assim: addEventHandler("onPlayerJoin", root, spawnOnJoin) Link to comment
Furzy Posted September 18, 2019 Share Posted September 18, 2019 (edited) On 05/09/2019 at 07:25, ViniGuzela said: Coloquei a mensagem no Script mas não estou conseguindo visualizar dentro do jogo -- Menssagem para o jogador local joinMessage = "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" local joinMessage2 = "#00FF00Seja bem vindo ao servidor Equality RolePlay!" local joinMessage3 = "(Tecle F3) TS: XXXXXXX" local joinMessage4 = "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" -- Functions function spawnOnJoin() spawnPlayer(source, joinX, joinY, joinZ, 0 , joinSkin) fadeCamera(source, true) setCameraTarget(source, source) outputChatBox(joinMessage, joinMessage2, joinMessage3, joinMessage4, source) giveWeapon(source, joinWeapon, joinAmmo) givePlayerMoney(source, joinMoney) end local joinMessage = "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" local joinMessage2 = "#00FF00Seja bem vindo ao servidor Equality RolePlay!" local joinMessage3 = "(Tecle F3) TS: XXXXXXX" local joinMessage4 = "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" function mensagem() outputChatBox(joinMessage,source,255,255,0 ) outputChatBox(joinMessage2,source,255,255,0, true ) outputChatBox(joinMessage3,source,255,255,0 ) outputChatBox(joinMessage4,source,255,255,0 ) end addEventHandler("onPlayerJoin",root,mensagem) Server-side Edited September 18, 2019 by Furzy 1 Link to comment
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