Serious Roleplaying Hell
  • Search
  • Leaderboard
  • Member List
  • Help
  • Donate
  • Portal

Register


Serious Roleplaying Hell DarkRP Drake's To-Do List Archive v
« Previous 1 ... 35 36 37 38 39 ... 59 Next »
[BUG] E2 not running on chat

 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
[BUG] E2 not running on chat
12-27-2012, 05:03 PM
Post: #1
BaconManRules Offline
Game Moderator
****
Joined: Jan 2012
SteamID: STEAM_0:0:25265186
Coder
[BUG] E2 not running on chat
E2 chat functionality is obviously very useful for adding commands and inputting data that would otherwise be tedious. I believe your custom PlayerSay hook is always returning, therefor blocking E2's chat hook from getting ran. A work around could be to directly call E2's PlayerSay hook:
God Wrote:hook.GetTable()["PlayerSay"]["Exp2TextReceiving"](ply, text, isTeam)

[Image: srhavatar.png]
E2 DarkRP Extensions
Find all posts by this user
12-27-2012, 05:13 PM
Post: #2
Drakehawke Online
Imboseal
*******
Joined: May 2010
SteamID: STEAM_0:0:22342869
Pancake WarriorOld CodgerCoder#STG2012AthleteTop Poster
RE: [BUG] E2 not running on chat
Done, although it will only work if the text isn't a command (! / or @), you'll have to find a new prefix for your E2 chat commands.

Drakehawke
SRH Leader
Lua Scripter

"Scientia Potentia Est"
For also knowledge itself is power
Francis Bacon - 1597
Find all posts by this user
« Next Oldest | Next Newest »


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact UsSerious Roleplaying HellReturn to TopReturn to ContentLite (Archive) ModeRSS SyndicationPowered by Steam

Powered By MyBB, © 2002-2013 MyBB Group.
Theme by Ryan McGrane of Audentio Design.