Raised This Month: $ Target: $400
 0% 

[FSG] Flameshooting SG550 v1.4


Post New Thread Reply   
 
Thread Tools Display Modes
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 11-02-2014 , 07:47   Re: [FSG] Flameshooting SG550 v1.1
Reply With Quote #11

I have no ideea about what are you talking about, I wasn't speacking about what ent is removed...
__________________

Last edited by HamletEagle; 11-02-2014 at 07:47.
HamletEagle is offline
ezio_auditore
Senior Member
Join Date: May 2013
Old 11-02-2014 , 07:52   Re: [FSG] Flameshooting SG550 v1.1
Reply With Quote #12

Quote:
Originally Posted by HamletEagle View Post
I have no ideea about what are you talking about, I wasn't speacking about what ent is removed...
Same here, I am confused from what you are saying
__________________
ezio_auditore is offline
Send a message via Skype™ to ezio_auditore
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 11-02-2014 , 07:59   Re: [FSG] Flameshooting SG550 v1.1
Reply With Quote #13

Ok, let's make this clear

I've downloaded your source and opened it. Now, after reading it I have some suggestion for you.

In LogEvent_RoundEnd some problems:
1. Don't create new vars inside loop.
2. What's the point in removing the same ent 32 times ?
3. Use get_players for looping all players.

If you have more ents that should be removed, you can do a loop like this, instead of classname use your ent clasname.

Code:
new ent = -1 while((ent = find_ent_by_class(ent, "classname")) {     remove_entity(ent) }

Instead of
Code:
new ent = find_ent_by_class(-1, "drop_fsg")             if (ent)                 remove_entity(ent)
Which will remove just the first ent that is found. You are using this in a player loop, this is way it's somehow working, but it can fail. Just do as above, with the while loop.

The other things I think are clear.
__________________
HamletEagle is offline
ezio_auditore
Senior Member
Join Date: May 2013
Old 11-02-2014 , 08:03   Re: [FSG] Flameshooting SG550 v1.1
Reply With Quote #14

Ok. Done. Updated + Uploaded
__________________
ezio_auditore is offline
Send a message via Skype™ to ezio_auditore
xxxperts
Senior Member
Join Date: Oct 2013
Location: India
Old 11-02-2014 , 08:40   Re: [FSG] Flameshooting SG550 v1.1
Reply With Quote #15

Quote:
Originally Posted by ezio_auditore View Post
Ok. Done. Updated + Uploaded
are u sure that u had implemented all HamletEagle suggestions, because i cant see it
__________________
All my work is here
xxxperts is offline
Old 11-02-2014, 10:52
ezio_auditore
This message has been deleted by ezio_auditore. Reason: !Required Anymore
Old 11-02-2014, 11:31
ezio_auditore
This message has been deleted by ezio_auditore. Reason: my mistake
ezio_auditore
Senior Member
Join Date: May 2013
Old 11-03-2014 , 05:14   Re: [FSG] Flameshooting SG550 v1.1
Reply With Quote #16

Quote:
Originally Posted by xxxperts View Post
are u sure that u had implemented all HamletEagle suggestions, because i cant see it
I did it now.
You can see all that in this version
__________________
ezio_auditore is offline
Send a message via Skype™ to ezio_auditore
xxxperts
Senior Member
Join Date: Oct 2013
Location: India
Old 11-03-2014 , 06:45   Re: [FSG] Flameshooting SG550 v1.1
Reply With Quote #17

Quote:
Originally Posted by ezio_auditore View Post
I did it now.
You can see all that in this version
bro, cs_get_user_team is more reliable than get_user_team and please use get_players for looping all players instead of using g_maxplayers.
__________________
All my work is here
xxxperts is offline
ezio_auditore
Senior Member
Join Date: May 2013
Old 11-04-2014 , 01:46   Re: [FSG] Flameshooting SG550 v1.1
Reply With Quote #18

Quote:
Originally Posted by xxxperts View Post
bro, cs_get_user_team is more reliable than get_user_team and please use get_players for looping all players instead of using g_maxplayers.
I updated the plugin.
I used cs_get_user_team(), but haven't used get_player() yet. Next version
__________________
ezio_auditore is offline
Send a message via Skype™ to ezio_auditore
543658883
Junior Member
Join Date: Mar 2011
Old 11-08-2014 , 03:17   Re: [FSG] Flameshooting SG550 v1.4
Reply With Quote #19

the projectile is not from gun??

it create at body...lol
543658883 is offline
ezio_auditore
Senior Member
Join Date: May 2013
Old 11-08-2014 , 10:09   Re: [FSG] Flameshooting SG550 v1.4
Reply With Quote #20

Quote:
Originally Posted by 543658883 View Post
the projectile is not from gun??

it create at body...lol
Will be fixed soon
__________________
ezio_auditore is offline
Send a message via Skype™ to ezio_auditore
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 17:08.


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