Raised This Month: $12 Target: $400
 3% 

CS Pug Mod (4.0.2) [22/12/2021]


Post New Thread Reply   
 
Thread Tools Display Modes
kbr
Member
Join Date: Sep 2011
Old 08-30-2013 , 16:04   Re: Pug MOD XT (Rewritten)
Reply With Quote #171

Quote:
Originally Posted by ^SmileY View Post
Buy defuses are not allowed by default in pregame lol
You're right, i'm sorry, i was testing with bots, and they can buy defuses and then drop them.
kbr is offline
pepe_thugs
Senior Member
Join Date: Aug 2010
Location: Portugal , Braga
Old 08-31-2013 , 11:46   Re: Pug MOD XT (Rewritten)
Reply With Quote #172

Hello ^SmileY PUG gives me one error.

Error:

Code:
[AMXX] Run time error 10: native error (native "cs_get_user_team")
[AMXX]    [0] PUG.sma::PUG_cmdReadyUP (line 991)
pepe_thugs is offline
icircs
Junior Member
Join Date: Jul 2013
Old 08-31-2013 , 14:35   Re: Pug MOD XT (Rewritten)
Reply With Quote #173

At the end of the match i want to modify a table from a database, how can i do that?
icircs is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 08-31-2013 , 20:55   Re: Pug MOD XT (Rewritten)
Reply With Quote #174

Quote:
Originally Posted by pepe_thugs View Post
Hello ^SmileY PUG gives me one error.

Error:

Code:
[AMXX] Run time error 10: native error (native "cs_get_user_team")
[AMXX]    [0] PUG.sma::PUG_cmdReadyUP (line 991)
thanks for patience.

Quote:
Originally Posted by icircs View Post
At the end of the match i want to modify a table from a database, how can i do that?
For stats?


Code:
-> 0.0.8b
* Fixed .ready and .notready spectactors check (Line 991);
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 

Last edited by ^SmileY; 08-31-2013 at 20:56.
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
faKe91
Member
Join Date: Jan 2012
Location: Moldova, Chisinau
Old 09-01-2013 , 02:26   Re: Pug MOD XT (Rewritten)
Reply With Quote #175

Quote:
Originally Posted by ^SmileY View Post
For stats?
yes if you can to do a function that at the end of pug, appears a motd window and their you can find your stats in that match: frags, deaths, 1vs1, 1vs2 1vs3 etc.
faKe91 is offline
Jamesas007
Member
Join Date: Nov 2012
Old 09-01-2013 , 03:35   Re: Pug MOD XT (Rewritten)
Reply With Quote #176

Quote:
Originally Posted by faKe91 View Post
yes if you can to do a function that at the end of pug, appears a motd window and their you can find your stats in that match: frags, deaths, 1vs1, 1vs2 1vs3 etc.
yes it is nice idea if this plugin have integrated web stats with DB it will be super
Jamesas007 is offline
icircs
Junior Member
Join Date: Jul 2013
Old 09-01-2013 , 06:43   Re: Pug MOD XT (Rewritten)
Reply With Quote #177

Something like a stats system, i want to execute amx_x 22 at the end of the match, 22 is a cvar amx_gatherid, how can i do that?

Last edited by icircs; 09-01-2013 at 06:52.
icircs is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 09-01-2013 , 09:47   Re: Pug MOD XT (Rewritten)
Reply With Quote #178

Quote:
Originally Posted by icircs View Post
Something like a stats system, i want to execute amx_x 22 at the end of the match, 22 is a cvar amx_gatherid, how can i do that?
Yes, but currently i need to create a database to store 3d Array from weapons, and do a better way to store stats into db. Example: If a player disconnect from server, it will save stats and not do only when a match will end.

If someone can help with 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
icircs
Junior Member
Join Date: Jul 2013
Old 09-01-2013 , 11:57   Re: Pug MOD XT (Rewritten)
Reply With Quote #179

I have a plugin that modifies some data in mysql (not stats) when i type "amx_X". The correct syntax is amx_x NUMBER,after that the plugin queryes the db based on that number. When i type amx_X 4 my plugin modify the entrie 4 from mysql, at the end of the match i want to read execute the command amx_X 6, 6 is the amx_gatherid cvar.

I want to do this only at the end of the match, not if a player leaves etc.
icircs is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 09-01-2013 , 13:28   Re: Pug MOD XT (Rewritten)
Reply With Quote #180

Quote:
Originally Posted by icircs View Post
I have a plugin that modifies some data in mysql (not stats) when i type "amx_X". The correct syntax is amx_x NUMBER,after that the plugin queryes the db based on that number. When i type amx_X 4 my plugin modify the entrie 4 from mysql, at the end of the match i want to read execute the command amx_X 6, 6 is the amx_gatherid cvar.

I want to do this only at the end of the match, not if a player leaves etc.
but if a player leaves, it will save into DB


LOL
__________________
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
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 15:22.


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