AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   There is a trouble with my plugin...low fps in DS (https://forums.alliedmods.net/showthread.php?t=82644)

hzqst 12-27-2008 05:21

There is a trouble with my plugin...low fps in DS
 
It usually checks in second

1.Is fm_set/get_user_health faster than set/get_user_haelth?
2.Is fm_set/get_user_team faster than cs_set/get_user_team?(change team with CS_DONTCHANGE)
3.Is there any way (check if player is alive) faster than is_user_alive
4.Is it good to put player damage hook and entity damage hook in a function? Shall I divide them into two functions?
5.Shall I clear and show hud messages per second?

alien 12-27-2008 05:31

Re: There is a trouble with my plugin...low fps in DS
 
Sorry for not directly answering your questions but what makes you think, that set/get_user_health would be the thing causing fps drop? I'm almost sure, you're talking about client's fps ... and that's not affected by what's happening on server.

Low game fps is either low PC specs, PC being bussy with something else than CS or improperly mapped map (lots of water, lots of detailed models, lots of overlapping animated sprites etc).

xPaw 12-27-2008 05:36

Re: There is a trouble with my plugin...low fps in DS
 
1/2 cant be faster i think just fm_ using fakemeta, and others using fun

hzqst 12-27-2008 05:53

Re: There is a trouble with my plugin...low fps in DS
 
I said that the fps in HLDS will drops if my plugin runs
but when it runs with ZPmod ,fps never drops

xPaw 12-27-2008 06:00

Re: There is a trouble with my plugin...low fps in DS
 
then show your plugin we cant help you if we dont see the code

hzqst 12-27-2008 06:14

Re: There is a trouble with my plugin...low fps in DS
 
you can see them first:
Quote:


ckrun_showhud_status
ckrun_showhud_build
ckrun_showhud_center
ckrun_showhud_msg


ConnorMcLeod 12-27-2008 06:18

Re: There is a trouble with my plugin...low fps in DS
 
If you use fun and cstrike modules, then, don't use those fm_ native replacements.

hzqst 12-27-2008 06:20

Re: There is a trouble with my plugin...low fps in DS
 
If I use both of them then it will be slow?
I use cs_set_user_team because fm_set_user_team doesn't work,I have to send a message


All times are GMT -4. The time now is 09:12.

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