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

Help Me @ <Location>


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   General Purpose       
Checkmarks
BANNED
Join Date: Sep 2007
Location: kentucky
Old 12-17-2007 , 18:58   Help Me @ <Location>
Reply With Quote #1

Description: Tired of being under fire and not wanting to type where you are and that you need backup? No longer! Type one the of the following short commands and it will display what you need!
helpa - displays "Need Backup @ Bombsite A!"
helpb - displays "Need Backup @ Bombsite B!"
helph - displays "Need Backup @ Hostages!"
helpts - displays "Need Backup @ Terrorist Spawn!"
helpcs - displays "Need Backup @ Counter-Terrorist Spawn!"

Any suggestions or comments, please post them.
This code was MEANT to be very short. It contains everything needed, so there is no need to complain about that..
~Chex
Attached Files
File Type: sma Get Plugin or Get Source (Help.sma - 755 views - 830 Bytes)
File Type: amxx HelpMe.amxx (1.8 KB, 156 views)

Last edited by Checkmarks; 12-17-2007 at 19:01.
Checkmarks is offline
Zenith77
Veteran Member
Join Date: Aug 2005
Old 12-17-2007 , 19:58   Re: Help Me @ <Location>
Reply With Quote #2

Unapproved, for obvious reasons.
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
Checkmarks
BANNED
Join Date: Sep 2007
Location: kentucky
Old 12-17-2007 , 20:01   Re: Help Me @ <Location>
Reply With Quote #3

Such as?
Checkmarks is offline
Zenith77
Veteran Member
Join Date: Aug 2005
Old 12-17-2007 , 21:18   Re: Help Me @ <Location>
Reply With Quote #4

1) WAY too simple. This can be done with other methods, and other plugins for that matter.
2) Not even good at what it does. In fact it isn't even coded right.

And yes, unlike other plugins, this is my final decision on this one. It's not getting approved.
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred

Last edited by Zenith77; 12-18-2007 at 11:27.
Zenith77 is offline
M249-M4A1
I <3 Mac
Join Date: May 2005
Location: Not interested
Old 12-18-2007 , 01:35   Re: Help Me @ <Location>
Reply With Quote #5

Quote:
Originally Posted by Checkmarks View Post
Such as?
It was unapproved because this plugin fails to do as stated. This also doesn't print anything to anyone other than yourself (and IF it did print to all teammates, who is the one who needs help? [it doesn't give a name of who said help]). You would need to do something like this to make it work:

PHP Code:
public msgAllNotSelf(id) {
    new 
players[32], totalplayers
    get_players
(playerstotalplayers)
    
    for (new 
0totalplayersi++) {
        if (
get_user_team(players[i]) == get_user_team(id)) { // everyone on same team
            
if (players[i] != id// everyone but self
                
client_print(players[i], print_chat"[AMXX] ZOMG!"// message to be printed
        
}
    }

This isnt optimized, but you should get the idea.

OR (simpler)

PHP Code:
public cmdTeamSay(id) {
    
client_cmd(id"say_team ^"Need help Bombsite A^""// force user to use say_team

But you still failed to do either method, and that is why it is (mainly) unapproved. Test it before submitting.
__________________

Last edited by M249-M4A1; 12-18-2007 at 01:46.
M249-M4A1 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 04:09.


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