Jump to content

Help chatbox all players


magicplayerc

Recommended Posts

 

 

I want this message to appear with the name of the person example Leonardo Bateu card and this in service already tried all functions of OutchatBox anyway still continues giving error help please

 

function PM ( ThePlayer )
if not isElementWithinMarker(ThePlayer, JoinMaker) then return end
if isPedInVehicle(ThePlayer) then return end
if getElementData(ThePlayer, "PMEMPREGO", true) then
outputChatBox("#FFFFFFVoçe ja bateu o cartao ",Players,255,255,255,true)
else
outputChatBox("#FFFF00Bateu Cartao e esta em serviço agora", Players, 255, 255, 255, true) ------------ QUERO QUE APAREÇA COM NOME DA PESSOA E NADA QUE COLOCO DA CERTO
setElementData(ThePlayer, "PMEMPREGO", true)
end
end
addCommandHandler("trabalhar", PM)

 

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...