Raised This Month: $ Target: $400
 0% 

[REQ] BB Admins Move Object Message Plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
DON KHAN 1
Senior Member
Join Date: Mar 2019
Location: Pakistan
Old 07-19-2020 , 09:25   Re: [REQ] BB Admins Move Object Message Plugin
Reply With Quote #2

Code:
#include <amxmodx> #include <amxmisc> #include <cstrike> #include <colorchat> #define ADMIN_SPECTATE ADMIN_BAN // Check Access To Join /spec. public plugin_init() {     register_plugin("Spectate", "1.1", "DON KHAN");     register_clcmd("say", "Join_Spectate");     register_clcmd("say_team","Join_Spectate"); } public Join_Spectate(id) {     new said[10];     read_args(said,9);     remove_quotes(said);     if(equali(said, "/spec",5)) // Here you can edit chat command to join spectator.         if( !( get_user_flags(id) & ADMIN_SPECTATE ) )             ColorChat(id, GREEN, "^4[Join Spectate] ^3You Don't Have ^4Access ^3To Join ^4Spectate^1.");         else             cs_set_user_team(id, CS_TEAM_SPECTATOR);             ColorChat(id, GREEN, "^4[Join Spectate] ^3You Are Now Become A ^4Spectator^1.");         if(is_user_alive(id)) // Code from OciXcrom's Spec plugin.             user_silentkill(id) }
Didn't Tested.

EDITED: Tested & Working.

For First Question:
You can do it by urself.
Just Press CTRL+F and find:
Code:
if (!g_boolCanBuild && (access(id, FLAGS_BUILD) || access(id, FLAGS_OVERRIDE)))
& replace this code:
Code:
    //Checked after object is successfully grabbed     if (!g_boolCanBuild && (access(id, FLAGS_BUILD) || access(id, FLAGS_OVERRIDE)))     {         new adminauthid[32],adminname[32]         get_user_authid (id,adminauthid,31)         get_user_name(id,adminname,31)         client_print(0, print_chat, "ADMIN %s Moved A Block After Build Time.", adminname)         Log("[MOVE] Admin: %s || SteamID: %s moved an entity", adminname, adminauthid)     }

if u don't understand then provide your basebuilder.sma so i can edit it.
__________________
Facebook
My YouTube
Ro{Y}aL WarLanD CommuniTy
Selling Zombie CSO 4.3 Money System Mod

Last edited by DON KHAN 1; 07-19-2020 at 14:32. Reason: Tested & Worked.
DON KHAN 1 is offline
 



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 23:47.


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