[CS:S] Soccer Ball
Curent Version: v1.2
Description: For play football on any map, you can spawn soccer balls. Admin commands (ROOT): sm_ball - Spawn a soccer ball sm_noball - Delete all soccer balls Install: Unzip the model in cstrike/ Put the .smx file in addons/sourcemod/plugins Cvars for a correct soccerball movement PHP Code:
Last version downloads: 375 Donations (optional): If you apreciate my work, you can donate me via paypal or with a trade offer Download: Main repository Direct download Code changes |
Re: [CS:S] Soccer Ball
Currently the soccerball goes trough people, can someone change that? :)
|
Re: [CS:S] Soccer Ball
Quote:
PHP Code:
|
Re: [CS:S] Soccer Ball
Hi Franc1sco,
good to know you're back :mrgreen: I'm getting an error when using sm_ball command, can you help me on that? Code:
L 02/15/2013 - 17:32:23: SourceMod error session started Using SM 1.4.7 MM:S 1.9.2, Linux server. |
Re: [CS:S] Soccer Ball
Quote:
New version v1.1 -bugfixeds -code more clean I think that now is ready for approval |
Re: [CS:S] Soccer Ball v1.1
Thanks for the update.
|
Re: [CS:S] Soccer Ball v1.1
Hi there,
before approval, I think you should have a certain consistency in your plugin's phrases :
It's fine you put both in english, but you should do the same for the plugin tag... as it is it can only confuse people that doesn't know what a Balon de futbol Same problem with "version del plugin". You could also remove the FCVAR_REPLICATED (as I told you in previous plugins I believe). Iirc, something I saw a lot in your plugins when writing in english is not making the difference between "to" and "for". I believe that when using "para" in front of a verb, you should translate this into "to", rather than "for". "For" should when used in front of determinants / nouns. AFAIB. Also, when creating an entity via CreateEntityByName; you should make sure it isn't equal to -1. This can happen when all entities 'slots' are being used. (optional) Also, rather than using exvel code, you should use berni's one; in the same API page you mentioned. You're doing in 2 loops something you can do in one. Also, rather than RemoveEdict(ent), you should use AcceptEntityInput(ent, "Kill"). This is way safer, as the entity is deleted at the end of the frame, rather than instantly; meaning if another plugin (in .dll I believe) has actions on it in the same frame, it can fail. This would also be corrected with berni's code. Red |
Re: [CS:S] Soccer Ball v1.2
|
Re: [CS:S] Soccer Ball v1.2
Could you possibly add a cvar to limit how much balls a person can spawn per round?
|
Re: [CS:S] Soccer Ball v1.2
Hi,
Just to say that I tested it and it works on CS:GO. :fox: Bye |
All times are GMT -4. The time now is 13:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.