AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Optimization, fowards, natives, and others (https://forums.alliedmods.net/showthread.php?t=220092)

^SmileY 07-06-2013 22:32

Optimization, fowards, natives, and others
 
I need a help to re-write a pug mod using a correct ways, for use include files, states, stock functions, fowards natives and more.

I will aprecciate some help with this but in private or in this topic support.
I really do not know how to make the best method.

Thanks

fysiks 07-06-2013 23:21

Re: Optimization, fowards, natives, and others
 
Why do you think it needs re-written?

^SmileY 07-07-2013 11:57

Re: Optimization, fowards, natives, and others
 
I have one plugin using all in one functions, i think i will need to make a plugin to change evelts and count scores. And other plugin to hook a CS events and put in foward on any include.

Basically this.

fysiks 07-07-2013 13:50

Re: Optimization, fowards, natives, and others
 
Quote:

Originally Posted by ^SmileY (Post 1985485)
I have one plugin using all in one functions, i think i will need to make a plugin to change evelts and count scores. And other plugin to hook a CS events and put in foward on any include.

Basically this.

What in the world are you talking about? It sounds like you don't know what you are saying.

^SmileY 07-07-2013 18:28

Re: Optimization, fowards, natives, and others
 
I have a mod in plugin submissions, based on this i will need to re-create a same plugin with fowards, native calls.


Like yap pug.

fysiks 07-08-2013 00:54

Re: Optimization, fowards, natives, and others
 
Quote:

Originally Posted by ^SmileY (Post 1985775)
I have a mod in plugin submissions, based on this i will need to re-create a same plugin with fowards, native calls.


Like yap pug.

Still makes no sense.

^SmileY 07-08-2013 07:51

Re: Optimization, fowards, natives, and others
 
I know I can be explained incorrectly, but what is the best method to make a plugin based on events round? Like any match / scrim plugin

fysiks 07-08-2013 19:10

Re: Optimization, fowards, natives, and others
 
Quote:

Originally Posted by ^SmileY (Post 1986138)
I know I can be explained incorrectly, but what is the best method to make a plugin based on events round? Like any match / scrim plugin

Well, what do you mean by "events round"? Are you trying to refer to the events that correspond to the beginning and end of a round? If yes, there is a tutorial about what to use for "New Round / Player Spawn / Round Start / Round End"

^SmileY 07-09-2013 07:25

Re: Optimization, fowards, natives, and others
 
Yes but counting rounds and add it fowards to being used by other plugins, like.

forward PUG_HLTV();
forward PUG_RoundStart();
forward PUG_RoundEnd();

:)

Backstabnoob 07-09-2013 08:41

Re: Optimization, fowards, natives, and others
 
Then search the forums.


All times are GMT -4. The time now is 06:23.

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