13.04.2014, 20:58
(
Последний раз редактировалось Bingo; 17.04.2014 в 12:57.
Причина: Edit: Filterscript is tested by my friend vassilis. (working perfect)
)
Server Operator v1.0
Hello!
Today i just got an idea, Why not to create a server operator who gives correct answer with correct real response as admins does, It was so simple as hell but really utilizable. So lets start,
I just got idea when i was going through 'strfind in my gamemode before a month before i was admitted so unfortunately i don't have access to pawno + no compiler so i took help of my friend, And Huge thanks to him for helping me in it, Screenshots will provided by him so special thanks to my friend too for helping me.
Server Operator
Basically, I always wanted to create a big project on this like too much response and all with real answers and with real attitude as normal admin does.
Currently i aligned (30+ Questions) to this script and in addition you can add your self too if you want, [u]But make sure you edit all information according to your information, Changing message is marked with //edit, so here we go.
Things to be edited
How to make?
Just use this format:-
How to use this?
It's easy, The player just have to use the assigned command /operator And that's it, The dialog box will be shown (INPUT) and there you've to type in your question and you will get the answer to your question(s) you entered.
Your questions will be identified using (strfind) and questions will be answered by using (SendClientMessage), It's easy as hell xD, Just go through the codes.
Suggestions
Uhm, I already said before i can't take or use my laptop for some reasons, So it will take age if i go for it, Anyway here's suggestion you can also add a pickup of operator, Place it near players spawn so when user go for that info icon they can ask what ever they want.
Screenshots
Operator dialog box, Where to type question:-
Typing question 'Who is admin'?
Response from operator:-
Thanks to Ralfie For providing screens.
Scripting on tab :- Check So, If anyone can post picture before me, That'd be great, But just give me a day i will arrange screenshots.
Installation
It's easy, This process can be applied on any filterscript you wish to download and install.
Currently just Pastebin, Because i am on tablet and scripted this on tablet, If you get any loose intendation warnings please let me know. Filterscript is tested by my friend vassilis earlier this morning and working fine with no glitches.
Here:-
PasteBin - Server Operator
zcmd include - Zcmd
Credits
Hello!
Today i just got an idea, Why not to create a server operator who gives correct answer with correct real response as admins does, It was so simple as hell but really utilizable. So lets start,
I just got idea when i was going through 'strfind in my gamemode before a month before i was admitted so unfortunately i don't have access to pawno + no compiler so i took help of my friend, And Huge thanks to him for helping me in it, Screenshots will provided by him so special thanks to my friend too for helping me.
Server Operator
Basically, I always wanted to create a big project on this like too much response and all with real answers and with real attitude as normal admin does.
Currently i aligned (30+ Questions) to this script and in addition you can add your self too if you want, [u]But make sure you edit all information according to your information, Changing message is marked with //edit, so here we go.
Things to be edited
- Search for the term 'edit' and edit the information
How to make?
Just use this format:-
pawn Код:
}
if(strfind("your first word","your second word",true)!= -1) {
SendClientMessage(playerid,-1,"{00FF00}[OPERATOR]: {FFFFFF} Your answer comes here");
}
if(strfind("first word","second word",true)!= -1) {
SendCLientMessage(playerid,-1,"{00FF00}[OPERATOR]: {FFFFFF}Your answer here. ");
}
If(strfind......//goes on same and ends with closing bracket
It's easy, The player just have to use the assigned command /operator And that's it, The dialog box will be shown (INPUT) and there you've to type in your question and you will get the answer to your question(s) you entered.
Your questions will be identified using (strfind) and questions will be answered by using (SendClientMessage), It's easy as hell xD, Just go through the codes.
Suggestions
Uhm, I already said before i can't take or use my laptop for some reasons, So it will take age if i go for it, Anyway here's suggestion you can also add a pickup of operator, Place it near players spawn so when user go for that info icon they can ask what ever they want.
Screenshots
Operator dialog box, Where to type question:-
Typing question 'Who is admin'?
Response from operator:-
Thanks to Ralfie For providing screens.
Scripting on tab :- Check So, If anyone can post picture before me, That'd be great, But just give me a day i will arrange screenshots.
Installation
It's easy, This process can be applied on any filterscript you wish to download and install.
- Firstly,
- Download the codes which is given in 'PasteBin'.
- Open pawno and place the include 'zcmd' in includes folder.
- Open pawno.exe and paste the codes in it, And hit F5.
- Now you have '2' Files .amx and .pwn.
- Drag it to your folder named 'filterscripts' located in your server files.
- Add the files name to your server.cfg. (Eg:- filterscripts adminsys cars operator).
- Save it, And you are done.
Currently just Pastebin, Because i am on tablet and scripted this on tablet, If you get any loose intendation warnings please let me know. Filterscript is tested by my friend vassilis earlier this morning and working fine with no glitches.
Here:-
PasteBin - Server Operator
zcmd include - Zcmd
Credits