AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Block packets from sending (https://forums.alliedmods.net/showthread.php?t=131290)

Empowers 07-03-2010 04:54

Block packets from sending
 
Hello. I have an idea to a make a plugin reducing bandwidth, via doing this in some cases:
PHP Code:

public fw_AddToFullPack(handleeenthosthostflagsplayerpset)
{
forward_return(FMV_CELL0)
return 
FMRES_SUPERCEDE;


On map called zm_dust2_pinger I had ping 500-600 because of to many entities, I blocked the send channel but nothing happend with my ping.

Would this code really make some part of packets not not be sent to client? Or just changes info to 0 or something like that?


All times are GMT -4. The time now is 07:10.

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