Raised This Month: $32 Target: $400
 8% 

[CSGO] Show Team Equipment And Money


Post New Thread Reply   
 
Thread Tools Display Modes
666
Senior Member
Join Date: Mar 2015
Old 05-07-2018 , 14:53   Re: [CSGO] Show Team Equipment And Money
Reply With Quote #81

Quote:
Originally Posted by DaniwA View Post
A friend asked me if I could write this plugin and I made an attempt. It will probably crash your server so use at your own risk

See attached files
ERROR
  1. [ENGINE] Entity 0 can not be removed
  2. Run time error 10: native error (native "remove_entity")
  3. [0] showequips.sma::remove_ents (line 107)
  4. [1] showequips.sma::event_new_round ( Line 96 )
666 is offline
DaniwA
Junior Member
Join Date: May 2018
Old 05-07-2018 , 15:09   Re: [CSGO] Show Team Equipment And Money
Reply With Quote #82

Wierd, this never happend to me when i tried. Does it happen immediatly or after a while? Im no expert but maybe this will fix the issue:

change:
Code:
public remove_ents(){
	remove_task(4563);
	for(new i; i<33; i++){
#if DISPLAY_MONEY
		for(new e; e<NUMBER_OF_SPRITES; e++)
			remove_entity(userSpr[i][e]);
#endif
#if DISPLAY_WEAPONS
		for(new e; e<NUMBER_OF_WEAPTYPES; e++)
			remove_entity(userWeap[i][e]);
#endif
#if DISPLAY_DOLLARSIGN
		remove_entity(userDSign[i]);
#endif
#if DISPLAY_ARROW
		remove_entity(userArrow[i]);
#endif
		}
	}
into:

Code:
public remove_ents(){
	remove_task(4563);
	for(new i; i<33; i++){
#if DISPLAY_MONEY
		for(new e; e<NUMBER_OF_SPRITES; e++)
			if(userSpr[i][e])
				remove_entity(userSpr[i][e]);
#endif
#if DISPLAY_WEAPONS
		for(new e; e<NUMBER_OF_WEAPTYPES; e++)
			if(userWeap[i][e])
				remove_entity(userWeap[i][e]);
#endif
#if DISPLAY_DOLLARSIGN
		if(userDSign[i])
			remove_entity(userDSign[i]);
#endif
#if DISPLAY_ARROW
		if(userArrow[i])
			remove_entity(userArrow[i]);
#endif
		}
	}
DaniwA is offline
666
Senior Member
Join Date: Mar 2015
Old 05-07-2018 , 15:19   Re: [CSGO] Show Team Equipment And Money
Reply With Quote #83

Quote:
Originally Posted by DaniwA View Post
Wierd, this never happend to me when i tried. Does it happen immediatly or after a while? Im no expert but maybe this will fix the issue:[/CODE]
the problem started after 3 seconds of starting the server, now works well with the changes I will continue testin.
666 is offline
666
Senior Member
Join Date: Mar 2015
Old 05-07-2018 , 16:25   Re: [CSGO] Show Team Equipment And Money
Reply With Quote #84

note that if the player commits suicide or dies during the freezing time, the sprites do not disappear, in the same way if he disconnects or is expelled during the freezing time, it does not disappear, you could fix it.
666 is offline
4ever16
Veteran Member
Join Date: Apr 2015
Old 05-08-2018 , 08:13   Re: [CSGO] Show Team Equipment And Money
Reply With Quote #85

Quote:
Originally Posted by DaniwA View Post
A friend asked me if I could write this plugin and I made an attempt. It will probably crash your server so use at your own risk

See attached files
DaniwA = Kungen <3

You could actually sell this plugin but its to late now

Last edited by 4ever16; 05-08-2018 at 09:57.
4ever16 is offline
tarsisd2
Veteran Member
Join Date: Feb 2016
Location: brazil
Old 05-08-2018 , 09:49   Re: [CSGO] Show Team Equipment And Money
Reply With Quote #86

Quote:
Originally Posted by 4ever16 View Post
Kungen!

You could actually sell this plugin but its to late now
why does everytime someone does a good plugin he has to sell it?

how many big plugins have this community created and didn't charge for it!

thanks Kungen!
tarsisd2 is offline
4ever16
Veteran Member
Join Date: Apr 2015
Old 05-08-2018 , 09:53   Re: [CSGO] Show Team Equipment And Money
Reply With Quote #87

Quote:
Originally Posted by tarsisd2 View Post
why does everytime someone does a good plugin he has to sell it?

how many big plugins have this community created and didn't charge for it!

thanks Kungen!
Cause this is very requested plugin watch the views 3700+ all other requests has about 100+ views.
Because no one is making it for free or else it would be made long time ago.
Cause its a unique plugin.
Because you would pay to get this plugin. I would.

Why does everyone think everything is for free on the internet?

But its to late now

Last edited by 4ever16; 05-08-2018 at 09:59.
4ever16 is offline
4ever16
Veteran Member
Join Date: Apr 2015
Old 05-08-2018 , 09:55   Re: [CSGO] Show Team Equipment And Money
Reply With Quote #88

Quote:
Originally Posted by 666 View Post
note that if the player commits suicide or dies during the freezing time, the sprites do not disappear, in the same way if he disconnects or is expelled during the freezing time, it does not disappear, you could fix it.
Waiting for a fix for this.
4ever16 is offline
DaniwA
Junior Member
Join Date: May 2018
Old 05-08-2018 , 11:02   Re: [CSGO] Show Team Equipment And Money
Reply With Quote #89

Quote:
Originally Posted by 666 View Post
note that if the player commits suicide or dies during the freezing time, the sprites do not disappear, in the same way if he disconnects or is expelled during the freezing time, it does not disappear, you could fix it.
I did some changes and tested, it seems to be working. Maybe some bug is introduced so test a while...

Code is attached
Attached Files
File Type: sma Get Plugin or Get Source (showequips.sma - 1064 views - 9.9 KB)
DaniwA is offline
4ever16
Veteran Member
Join Date: Apr 2015
Old 05-08-2018 , 14:12   Re: [CSGO] Show Team Equipment And Money
Reply With Quote #90

Quote:
Originally Posted by DaniwA View Post
I did some changes and tested, it seems to be working. Maybe some bug is introduced so test a while...

Code is attached
Really good job! <3
4ever16 is offline
Reply


Thread Tools
Display Modes

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 21:59.


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