SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 16/10/2016, 11:23 AM   #1
Owen007
Big Clucker
 
Owen007's Avatar
 
Join Date: Jun 2016
Location: Earth
Posts: 183
Reputation: 26
Default OAdmin+Register System

Hello everyone I was bored So I thought of creating a simplified Register system + Admin system. I mainly created it for new people who need a simplified admin script. It is based on YINI.


Commands:

/stats,/ban,/kick,/mute,/unmute,/banoffline,/unban


Credits:

Owen007

GtaKillerIV -- for ban/unban offline player.

Sreyas for fixing errors.

Source SAMP Forum/Wiki


Download:

Pastebin
__________________
My Work:

[FS]OAdmin+Register System V1.0

[GM]Zombie VS Human Apocalypse V1.4.0 All bugs Fixed.



Anyone Interested in making a whole new Los Santos Zombie Apocalypse? With Some extra Cool Features DM Me Now!

Last edited by Owen007; 16/10/2016 at 04:31 PM.
Owen007 is offline   Reply With Quote
Old 16/10/2016, 11:24 AM   #2
Logic_
Banned
 
Join Date: Jun 2015
Posts: 1,506
Reputation: 305
Default Re: OAdmin+Register System

Checking it out.

EDIT: Please don't use udb_hash and #pragma tabsize 0, this shows that you aren't a good coder.
Logic_ is offline   Reply With Quote
Old 16/10/2016, 11:33 AM   #3
Owen007
Big Clucker
 
Owen007's Avatar
 
Join Date: Jun 2016
Location: Earth
Posts: 183
Reputation: 26
Default Re: OAdmin+Register System

ohh yea I know ty ali I will fix it as soon i get time.

P.s: I am not that good coder but i am trying to be one.
__________________
My Work:

[FS]OAdmin+Register System V1.0

[GM]Zombie VS Human Apocalypse V1.4.0 All bugs Fixed.



Anyone Interested in making a whole new Los Santos Zombie Apocalypse? With Some extra Cool Features DM Me Now!
Owen007 is offline   Reply With Quote
Old 16/10/2016, 11:34 AM   #4
Eoussama
High-roller
 
Eoussama's Avatar
 
Join Date: Jul 2016
Location: Kingdom of Morocco // Tangier
Posts: 1,075
Reputation: 283
Default Re: OAdmin+Register System

NOICE
__________________

|===[Web taxi]===|
List of my work
Github
Pastebin

|===[Interesting topics]===|
Semantic Versioning
Eoussama is offline   Reply With Quote
Old 16/10/2016, 12:32 PM   #5
Owen007
Big Clucker
 
Owen007's Avatar
 
Join Date: Jun 2016
Location: Earth
Posts: 183
Reputation: 26
Default Re: OAdmin+Register System

Quote:
Originally Posted by Eoussama View Post
NOICE
Noice or nice
__________________
My Work:

[FS]OAdmin+Register System V1.0

[GM]Zombie VS Human Apocalypse V1.4.0 All bugs Fixed.



Anyone Interested in making a whole new Los Santos Zombie Apocalypse? With Some extra Cool Features DM Me Now!
Owen007 is offline   Reply With Quote
Old 16/10/2016, 12:37 PM   #6
Eoussama
High-roller
 
Eoussama's Avatar
 
Join Date: Jul 2016
Location: Kingdom of Morocco // Tangier
Posts: 1,075
Reputation: 283
Default Re: OAdmin+Register System

Quote:
Originally Posted by Owen007 View Post
Noice or nice
watch this and you will get it
https://www.youtube.com/watch?v=lg5WKsVnEA4
__________________

|===[Web taxi]===|
List of my work
Github
Pastebin

|===[Interesting topics]===|
Semantic Versioning
Eoussama is offline   Reply With Quote
Old 16/10/2016, 01:52 PM   #7
Owen007
Big Clucker
 
Owen007's Avatar
 
Join Date: Jun 2016
Location: Earth
Posts: 183
Reputation: 26
Default Re: OAdmin+Register System

Quote:
Originally Posted by Eoussama View Post
watch this and you will get it
https://www.youtube.com/watch?v=lg5WKsVnEA4
XD i understood haha
__________________
My Work:

[FS]OAdmin+Register System V1.0

[GM]Zombie VS Human Apocalypse V1.4.0 All bugs Fixed.



Anyone Interested in making a whole new Los Santos Zombie Apocalypse? With Some extra Cool Features DM Me Now!
Owen007 is offline   Reply With Quote
Old 16/10/2016, 03:28 PM   #8
SyS
High-roller
 
SyS's Avatar
 
Join Date: Oct 2015
Posts: 1,939
Reputation: 504
Default Re: OAdmin+Register System

Params is string so no need to use sscanf in the commands having string only params as its a memory wastage. Use insull to check the params is empty or not.
Dont use pragama tabsize to hide indentation warnings indent the code by yourself or use any auto indenter.

Anyways nice effort .
SyS is offline   Reply With Quote
Old 16/10/2016, 03:40 PM   #9
Owen007
Big Clucker
 
Owen007's Avatar
 
Join Date: Jun 2016
Location: Earth
Posts: 183
Reputation: 26
Default Re: OAdmin+Register System

Quote:
Originally Posted by Sreyas View Post
Params is string so no need to use sscanf in the commands having string only params as its a memory wastage. Use insull to check the params is empty or not.
Dont use pragama tabsize to hide indentation warnings indent the code by yourself or use any auto indenter.

Anyways nice effort .
I always try to learn from my seniors like you Sreyas. you helped me alot on scripting thanks.
__________________
My Work:

[FS]OAdmin+Register System V1.0

[GM]Zombie VS Human Apocalypse V1.4.0 All bugs Fixed.



Anyone Interested in making a whole new Los Santos Zombie Apocalypse? With Some extra Cool Features DM Me Now!
Owen007 is offline   Reply With Quote
Old 16/10/2016, 03:49 PM   #10
Quinncell
Guest
 
Posts: n/a
Default Re: OAdmin+Register System

What is "/unbanofflineplayer" used for?

/ban - bans an online player
/offlineban - bans an offline player
/unban - unbans an offline player

Understand what I mean?

There is no point in calling it "/unbanofflineplayer", just call it "/unban" since it;s basically shorter and does the same thing.
Other than that I still haven't check the filterscript but thumbs up for the effort

Edit: Also, I've noticed that for every newcomment you keep adding "//", just add "/*" at the beginning of the text and add "*/" at the end so you don't need to put "//" each time you write a comment.
  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] oAdmin v1.0 oktokt1 Filterscripts 19 09/06/2017 05:35 AM
please anyone remove register system from admin script and connect it with gamemode register system SpikY_ Scripting Help 3 23/07/2014 01:57 PM
[FilterScript] Register System [BUD : Configurable Register System] XStormiest Filterscripts 3 03/05/2013 09:52 AM
[FilterScript] oADMIN - organe Admin system v1.0 organe. Filterscripts 10 08/04/2012 08:41 PM
[FilterScript] Oadmin admin filterscript + (22 commands)+register and login system OmarEco Filterscripts 7 16/08/2010 12:52 PM


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


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