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

would this plugin work?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
tnsk8er27
Senior Member
Join Date: Mar 2004
Location: richfield MN
Old 03-15-2004 , 22:21   would this plugin work?
Reply With Quote #1

Code:
//////////////////////////////////////////////////////// // The Fuck You Plugin      created by ToXiC          // //                                                    // //  version 0.1     |    Coming next version:         // //                  |                                 // //  cmd:            |   *say to individual ppl        // //                  |                                 // //  say fuckyou     |    ex. "fuckyou toxic"          // //                  |                                 //    //////////////////////////////////////////////////////// #include <amxmodx> #include <amxmisc> public plugin_init(){   register_plugin("fuckyou", "0.1", "Toxic")   register_concmd("say fuckyou", "admin_fuckyou",ADMIN_KICK,"- Displays the middle finger")  } public admin_fuckyou(id, level, cid){   set_hudmessage(0, 255, 0, -1.0, 0.3, 0, 1.0, 5.0, 0.1, 0.2, 5)   show_hudmessage(0,"_                        _^n |{_}|                    |{_}|^n |   |                    |   |^n |===|                    |===|^n _|   |_                  _|   |_^n /==|   |==\_            _/  |   |  \^n /|  |   |  | \          / |  |   |  |\^n / |  |   |  |  |        |  |  |   |  | \^n \              |        |              /^n \            /          \            /") }


would this work???


(its a plugin where if you have ADMIN_KICK access you could say "fuckyou" and it would show a picture of two middle fingers on all clients screens)

**QUICK NOTE: Dont flame on me cuz this is my very first plugin
__________________
Toxic
tnsk8er27 is offline
Send a message via AIM to tnsk8er27
Freecode
Never Fall Asleep
Join Date: Jan 2004
Old 03-16-2004 , 01:26  
Reply With Quote #2

hmm why not show it only the specified person not everyone.
Because right now if i say f***you it would show it to everyone including yourself
Freecode is offline
^_^rfsk^_^ PsY|<0 p4tH
New Member
Join Date: Mar 2004
Old 03-16-2004 , 01:35  
Reply With Quote #3

rofl, damn i gotta learn to make plugins... but im a lazy bum... wait take out the bum part im not poor
__________________
^_^rfsk^_^ PsY|<0 p4tH is offline
tnsk8er27
Senior Member
Join Date: Mar 2004
Location: richfield MN
Old 03-16-2004 , 16:25  
Reply With Quote #4

Quote:
Originally Posted by Freecode
hmm why not show it only the specified person not everyone.
Because right now if i say f***you it would show it to everyone including yourself

haha i know that but like i said this is my first plugin and i have no clue how to do that...
__________________
Toxic
tnsk8er27 is offline
Send a message via AIM to tnsk8er27
tnsk8er27
Senior Member
Join Date: Mar 2004
Location: richfield MN
Old 03-16-2004 , 17:37  
Reply With Quote #5

if you would be so kind to tell me how, freecode haha

or ill find out how on my own
__________________
Toxic
tnsk8er27 is offline
Send a message via AIM to tnsk8er27
MagicShot
Senior Member
Join Date: Mar 2004
Location: MN
Old 03-16-2004 , 22:03   hmm
Reply With Quote #6

Quote:
Originally Posted by tnsk8er27
if you would be so kind to tell me how, freecode haha

or ill find out how on my own
I might be able to help you live on thrus.. a little..
__________________
|v|agic$hot
.
Without a Sound
MagicShot is offline
Send a message via MSN to MagicShot Send a message via Yahoo to MagicShot
tnsk8er27
Senior Member
Join Date: Mar 2004
Location: richfield MN
Old 03-16-2004 , 22:11  
Reply With Quote #7

k thx magic..... this is what i got so far

Code:
#include <amxmodx> #include <amxmisc> public plugin_init(){     register_plugin("fuckyou", "0.1", "Toxic")     register_concmd("amx_fuckyou", "admin_fuckyou",ADMIN_KICK,"<authid, nick or #userid>")      return PLUGIN_CONTINUE } public admin_fuckyou(id, level, cid){     if (!cmd_access(id,level,cid,2))         return PLUGIN_HANDLED     new arg[32]     read_argv(1,arg,31)     new player = cmd_target(id,arg,0)     if (!player)         return PLUGIN_HANDLED   set_hudmessage(0, 255, 0, -1.0, 0.3, 0, 1.0, 5.0, 0.1, 0.2, 5)   show_hudmessage(0,"_                        _^n|{_}|                    |{_}|^n|   |                    |   |^n|===|                    |===|^n_|   |_                  _|   |_^n/==|   |==\_            _/  |   |  \^n/|  |   |  | \          / |  |   |  |\^n/ |  |   |  |  |        |  |  |   |  | \^n\              |        |              /^n\            /          \            /")   }

*NOTE: i know i have to have print_client or somthing like that but i havent found out how to work it yet
__________________
Toxic
tnsk8er27 is offline
Send a message via AIM to tnsk8er27
tnsk8er27
Senior Member
Join Date: Mar 2004
Location: richfield MN
Old 03-16-2004 , 22:32  
Reply With Quote #8

Code:
//////////////////////////////////////////////////////// // The Fuck You Plugin      created by ToXiC          // //                                                    // //                 version 0.1                        // //                                                    // //                    cmd:                            // //                                                    // //  amx_fuckyou <name>      ex. "amx_fuckyou toxic"   // //                                                    //    //////////////////////////////////////////////////////// #include <amxmodx> #include <amxmisc> public plugin_init(){     register_plugin("fuckyou", "0.1", "Toxic")     register_concmd("amx_fuckyou", "admin_fuckyou",ADMIN_KICK,"<authid, nick or #userid>")      return PLUGIN_CONTINUE } public admin_fuckyou(id, level, cid){     if (!cmd_access(id,level,cid,1))         return PLUGIN_HANDLED     new arg[32]     read_argv(1,arg,31)     new player = cmd_target(id,arg,0)     if (!player)         return PLUGIN_HANDLED   client_print(player,print_center,"_                        _^n|{_}|                    |{_}|^n|   |                    |   |^n|===|                    |===|^n_|   |_                  _|   |_^n/==|   |==\_            _/  |   |  \^n/|  |   |  | \          / |  |   |  |\^n/ |  |   |  |  |        |  |  |   |  | \^n\              |        |              /^n\            /          \            /") }

k thats what i got .... so far, now again would this work?

(i wana try to make this also say <person getting flicked off> has just been flicked off by the admin)...any ideas how i could do this???
__________________
Toxic
tnsk8er27 is offline
Send a message via AIM to tnsk8er27
DoubleTap
Veteran Member
Join Date: Mar 2004
Location: Harker Heights, TX
Old 03-16-2004 , 23:35  
Reply With Quote #9

Yeah, lets put that at the top of the plugins page... I am sure it will help many admins and show what Mod X is capable of producing !

Vic/DT
__________________
DoubleTap is offline
Send a message via ICQ to DoubleTap
tnsk8er27
Senior Member
Join Date: Mar 2004
Location: richfield MN
Old 03-16-2004 , 23:37  
Reply With Quote #10

hahaha are you being sarcastic lol



the only reason i decided to do this is because i knew it would be an easy plugin to make (this is my first plugin)!!!{im so excited}

i hope i will produce alot of amxmodx plugins
__________________
Toxic
tnsk8er27 is offline
Send a message via AIM to tnsk8er27
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