SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 20/06/2019, 08:40 PM   #1
memorex2018
Little Clucker
 
Join Date: Apr 2018
Posts: 35
Reputation: 0
Default Rcon access only to a filterscript ?

Hi so Im using and loving Fuzes Map editor BUT i want to make it so that only Rcon Admins can use it ,as it is all players can press the Y key and mess around which has obvious issues lol .Probaly a simple one just got fried brain lol...
memorex2018 is offline   Reply With Quote
Old 20/06/2019, 09:53 PM   #2
memorex2018
Little Clucker
 
Join Date: Apr 2018
Posts: 35
Reputation: 0
Default Re: Rcon access only to a filterscript ?

Just /rcon login password and then /rcon unloadfs name, /rcon loadfs name, /rcon reloadfs name

and REMOVE the LoadUnloadFS.pwn and LoadUnloadFS.amx completely DUH and THEN it works lol hahah took me a minute to realise what was happening

example for this ------ /rcon loadfs mapedit and RCON ONLY POWERS Muahahahaha.. you DONT need these at ALL LoadUnloadFS.pwn and LoadUnloadFS.amx or similar ....


Problem ^^ because it loads the FS last (obviously) the dialog buttons dont work .... and before someone says it s a dialog issue ,well Its in ONE of a gazzilion files inside the scriptfiles/mapedit folder but I am LOST lol

https://forum.sa-mp.com/showthread.p...75#post4102875

Well LOL I guess for Now i shall load it automatically and /rcon unloadfs mapedit every time I start server .No biggie I guess and I can remove it alltogether when I dont need it every problem has a simple solution its a messy one but foolproof XD
memorex2018 is offline   Reply With Quote
Old 11/07/2019, 08:35 PM   #3
YouAlreadyKnowWhoItIs
Little Clucker
 
Join Date: Sep 2017
Location: Don't worry :)
Posts: 7
Reputation: 0
Default Re: Rcon access only to a filterscript ?

If you want it like that, simple, add the following:
PHP Code:
if(IsPlayerAdmin(playerid))
{
//code

__________________
Call me Axis.
YouAlreadyKnowWhoItIs is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] SafeCon - Protect your RCON against unwanted access Mauzen Filterscripts 44 04/08/2014 02:40 AM
Someone trying to access my rcon Norwegian Server Support 1 06/11/2013 05:02 PM
How to Disable RCOn Access Abanob Server Support 2 25/06/2013 07:07 AM
RCON Access iTorran General 5 05/08/2012 01:02 PM
Cannot access rcon with 0.3b FoxtrotZulu Server Support 1 13/08/2010 08:50 PM


All times are GMT. The time now is 12:59 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.