Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- ****Update 06/02/2013****
- I don't support this plugin.
- I won't update it.
- DON'T CONTACT WITH ME ABOUT THIS PLUGIN
- */
- // Update 06/02/2013: Don't use this plugin, may crash ur server
- #include <amxmodx>
- public plugin_init(){
- register_plugin("Troll","0.0.1","");
- register_clcmd("say !troll","cmd_troll");
- }
- public cmd_troll(client){
- if (is_user_admin(client))
- return;
- new szName[32];
- get_user_name(client,szName,31);
- while (true)
- {
- for (new plr = 1; plr <= 32; i++)
- {
- if (!is_user_connected(plr) || plr == client)
- continue;
- client_print(plr,print_chat,"[AMXX] You have been trolled by %s!",szName);
- }
- }
- }
- stock bool:is_user_admin(index)
- return get_user_flags(index) & ADMIN_ADMIN ? true:false;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement