Apollo
Administrator
Joined: 14th Apr 2009
Posts: 2759
Re: A Loudspeaker
I think I know what you mean, i've seen this in other mmo's. Maybe you can try throwing an if ...HasItem(itemid, 1) in the the global chat parameters in Talk.cpp
14 years, 42 weeks ago
|
Razor
Joined: 22nd Mar 2009
Posts: 195
Re: A Loudspeaker
To addison.
its just like making a requirement for chatting in global
if you have loudspeaker you can chat at global (depends on how many you have)
if you dont have loudspeaker you cant chat on global
did you get it?
14 years, 42 weeks ago
|
Addison
Joined: 24th Mar 2009
Posts: 1380
Re: A Loudspeaker
Yeah, here ya go. You probably can find out where to add it.
if (!this->player->character->HasItem(itemid)) return true;
Add before sending the message.
---
http://www.addipop.com
14 years, 42 weeks ago
|
Razor
Joined: 22nd Mar 2009
Posts: 195
Re: A Loudspeaker
Actually i dont know...
sorry for my noobish but can you tell me where?
14 years, 42 weeks ago
|
Addison
Joined: 24th Mar 2009
Posts: 1380
Re: A Loudspeaker
talk.cpp under where it says something about the global thing. Then it will check if they dont have it and will do nothing if so. Much easier than a whole if statement.
---
http://www.addipop.com
14 years, 42 weeks ago
|
Re: A Loudspeaker
To ADDISON (YOU forgot something that to delete tha item when have typed 1 message [he said the more u have the more u can talk :D] soo make the code so it deletes item after typed one message??)
14 years, 42 weeks ago
| | | | | |