ProDMRac3r Posted June 13, 2011 Share Posted June 13, 2011 ======================================================= |Custom Chat Script With Help Of YOsse.exe^^| ======================================================= That Script Made By Me And I Made Some Cool Scripts That's A Simply New Color Powerful For Some Server And Thanks For Download Reg YOsse Regards Features : *New Color When Type Color = Green *New Bind Is The "P" Letter Version 1.2.0 New Updates : *New Chatbox Color *A New Tag For Language *Type /clan See All Clans Have You Been In [if We Can Do We Will ] *If He Is An Admin Or Mod In First Of His Name Tag e .x ([Pro]Castillo) *When He Join We Update JOINQUIT Resource To When He Join Country ANd When He Played MTA Version 1.3.0 Updates Soon : *Fix All Bugs has Report *Make They See If He Is A Noob Or No Credits : MindJack [DKR]Oz DarkMeD sonnytheking Link to comment
Castillo Posted June 14, 2011 Share Posted June 14, 2011 I'am not sure of what is this actually, is this some kind of new CHAT box system...? Link to comment
ProDMRac3r Posted June 14, 2011 Author Share Posted June 14, 2011 Yes But New Chatbox System Is Hard Im Work At It New System At 1.2.0 That's New Chatbox Typing Link to comment
ProDMRac3r Posted June 14, 2011 Author Share Posted June 14, 2011 chat_range=100 addEventHandler("onPlayerJoin",getRootElement(), function () bindKey(source,"P","chatbox","P") end) addEventHandler("onResourceStart",getResourceRootElement(getThisResource()), function () for index, player in pairs(getElementsByType("player")) do bindKey(player,"P","down","chatbox","P") end end) function isPlayerInRangeOfPoint(player,x,y,z,range) local px,py,pz=getElementPosition(player) return ((x-px)^2+(y-py)^2+(z-pz)^2)^0.5<=range end function onChat(player,_,...) local px,py,pz=getElementPosition(player) local msg = table.concat({...}, " ") local nick=getPlayerName(player) for _,v in ipairs(getElementsByType("player")) do if isPlayerInRangeOfPoint(v,px,py,pz,chat_range) then outputChatBox("[stunter]"..nick..": #00FF00"..msg,v,30,30,200,true) end end end addCommandHandler("P",onChat) Link to comment
Castillo Posted June 14, 2011 Share Posted June 14, 2011 I didn't meant that, I meant a NEW chatbox, that means a custom chatbox system apart from MTA's built-in one. P.S: This code is taken from this topic: viewtopic.php?f=91&t=33677 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