AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   help ... game chat (https://forums.alliedmods.net/showthread.php?t=134146)

EpicFail. 08-01-2010 11:54

help ... game chat
 
i make a shop but when some buddy buy from shop this say to all server what he buy in the chat some like i buy a Anti-Flash so this say to all server
[Clan Tag] You have buy Anti-Flash.
How i can block this shit ?

Sorry for bad English ..

Bugsy 08-01-2010 12:02

Re: help ... game chat
 
Quote:

Originally Posted by EpicFail. (Post 1258283)
i make a shop but when some buddy buy from shop this say to all server what he buy in the chat some like i buy a Anti-Flash so this say to all server
[Clan Tag] You have buy Anti-Flash.
How i can block this shit ?

Sorry for bad English ..

Show the code.

EpicFail. 08-01-2010 12:04

Re: help ... game chat
 
i cant show this is private .. you can just say me how to fix \ block this ?

vL. 08-01-2010 12:24

Re: help ... game chat
 
We can't tell you nothing, cause we don't know whats wrong with it, if you don't show us the code.

EpicFail. 08-01-2010 12:26

Re: help ... game chat
 
this no have Errors or something this just a bug and i dont know how to fix this
@Bugsy..
i PM you with the shop ..

Bugsy 08-01-2010 12:42

Re: help ... game chat
 
Quote:

Originally Posted by EpicFail. (Post 1258302)
this no have Errors or something this just a bug and i dont know how to fix this
@Bugsy..
i PM you with the shop ..

Check your chat functions, normally specifying 0 sends msg to everyone and id (or w\e index) sends msg to a specific player. If you want to remove it all together, delete the chat line.

EpicFail. 08-01-2010 13:26

Re: help ... game chat
 
Quote:

Originally Posted by Bugsy (Post 1258325)
Check your chat functions, normally specifying 0 sends msg to everyone and id (or w\e index) sends msg to a specific player. If you want to remove it all together, delete the chat line.

i dont know what you main can you do this for me ?

drekes 08-01-2010 13:30

Re: help ... game chat
 
you will have a line like this in your code:
Code:

client_print(0, print_chat, "[Clan Tag] You have buy Anti-Flash.");
Comment that.

EpicFail. 08-01-2010 13:33

Re: help ... game chat
 
Quote:

Originally Posted by drekes (Post 1258376)
you will have a line like this in your code:
Code:

client_print(0, print_chat, "[Clan Tag] You have buy Anti-Flash.");
Comment that.

This a line i have ..
PHP Code:

ChatColor0"%s You already bought this item!"CLAN_TAG ); 


drekes 08-01-2010 13:36

Re: help ... game chat
 
That will show to everybody in the server, change the 0 to id or w/e you use to hold the player's index.

It's not easy without code


All times are GMT -4. The time now is 00:08.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.