Raised This Month: $ Target: $400
 0% 

Optimization, fowards, natives, and others


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 07-06-2013 , 22:32   Optimization, fowards, natives, and others
Reply With Quote #1

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
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-06-2013 , 23:21   Re: Optimization, fowards, natives, and others
Reply With Quote #2

Why do you think it needs re-written?
__________________
fysiks is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 07-07-2013 , 11:57   Re: Optimization, fowards, natives, and others
Reply With Quote #3

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.
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-07-2013 , 13:50   Re: Optimization, fowards, natives, and others
Reply With Quote #4

Quote:
Originally Posted by ^SmileY View Post
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.
__________________
fysiks is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 07-07-2013 , 18:28   Re: Optimization, fowards, natives, and others
Reply With Quote #5

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.
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-08-2013 , 00:54   Re: Optimization, fowards, natives, and others
Reply With Quote #6

Quote:
Originally Posted by ^SmileY View Post
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.
__________________
fysiks is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 07-08-2013 , 07:51   Re: Optimization, fowards, natives, and others
Reply With Quote #7

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
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-08-2013 , 19:10   Re: Optimization, fowards, natives, and others
Reply With Quote #8

Quote:
Originally Posted by ^SmileY View Post
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"
__________________

Last edited by fysiks; 07-08-2013 at 19:11.
fysiks is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 07-09-2013 , 07:25   Re: Optimization, fowards, natives, and others
Reply With Quote #9

Yes but counting rounds and add it fowards to being used by other plugins, like.

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

__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 07-09-2013 , 08:41   Re: Optimization, fowards, natives, and others
Reply With Quote #10

Then search the forums.
Backstabnoob is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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