Speak Posted January 19, 2013 Posted January 19, 2013 (edited) eu ja tenho o sistema de ids do chat e do scoreboard como coloco pm por id nisso exemplo: /pm id Ola /pm 12 Hello /pm bob hello I already have the system ids the scoreboard as chat and put it pm by id example: / pm id Hello / Hello 12 pm / pm hello bob function onPlayerEnterInGame() outputChatBox("You can use the /pm command to send a private message, use _ for spaces", source, 0, 255, 0) end addEventHandler("onPlayerJoin", getRootElement(), onPlayerEnterInGame) function sendPM(thePlayer, command, playerName, message) playerName = getPlayerFromName(playerName) if playerName and message then local sendedPM = outputChatBox("PM From "..getPlayerName(thePlayer)..": "..message.."", playerName, 0, 255, 0) if sendedPM then outputChatBox("PM Sended to "..getPlayerName(playerName)..": "..message.."", thePlayer, 0, 255, 0) outputDebugString("[PM] "..getPlayerName(thePlayer).." to "..getPlayerName(playerName)..": "..message.."") end end end addCommandHandler("pm", sendPM) addCommandHandler("mp", sendPM) Edited January 24, 2013 by Guest
h4x7o0r Posted January 19, 2013 Posted January 19, 2013 Here's a PM system if that's what u need it or from where to start : https://community.multitheftauto.com/index.php?p= ... ls&id=1562
Anderl Posted January 20, 2013 Posted January 20, 2013 Speak in english, this is not the portuguese section.
Speak Posted January 24, 2013 Author Posted January 24, 2013 I already have the system put in as PM by pc id be in ves / pm [playername] hello to bob / pm [playerid] Hello BOB
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