[FilterScript] [FS] In-Game Administrator Application.
#1

It was a big shame that i\'ve done my 1000 posts but can\'t script . So decided to make something unique & came up with this..

What ?
Well the title says it all, It\'s a IN-GAME Administrator Application. No need to go to a website now! Just do it while playing the game!

Features:
-Checks if a player has already applied, If yes then it will send a error message saying "Your application already exists, Please be patient!"
-Sends a message if a player didn\'t applied on the server.
-A cool textdraw while filling with application.
-It ask 6 questions!

How ?
It\'s pretty Simple to use. Make a folder in the scriptfiles called "Applications" just go in-game & type /Adminapply
Then it will say, "Type /ready when you are ready to fill the form!"
When you type /ready, it will freeze you, shows a textdraw & will ask the questions

Code:
Questions:
Are you Male or Female ?
What\'s your age ?
Where do you live ?
How will you deal a Cheater/Hacker ?
Why would you like to be a Administrator ?
After you complete the questions you will be able to move & the output should be something like this:

Code:
Name=Rafay
Gender=male
Age=14
Country=Pakistan
Dealing with Cheaters=Uhmm... potty on them! :D
Reason=I play SA:MP.
Remember, If a player applied. It will show a message when he connects saying "Want to be Administrator ? Type /adminapply"
& if he did it already it will debug print saying "The Application of %s already exists!

Screenshot:


Download:
PWN:

AMX:

You will need dini & dudb to compile!


Have Fun
Please note that it\'s my first most advanced script i\'ve scripted ever!.. Well for me =P
So cool down while commenting
Thanks MaVe.
Reply
#2

Very nice mate^^
Reply
#3

Nice Rafay, very usefull.
Can you add a function that let\'s you know how long a account has been online.
Reply
#4

Wow, something really usefull, nice
Reply
#5

Why would it matter if your male or female?
Reply
#6

Quote:
Originally Posted by Mikep
Why would it matter if your male or female?
uhm.. females also exists

Quote:
Originally Posted by [1337
MaVe ]
Very nice mate^^
Quote:
Originally Posted by Yeatric
Nice Rafay, very usefull.
Can you add a function that let\'s you know how long a account has been online.
Quote:
Originally Posted by PeaToN^
Wow, something really usefull, nice
Thanks guys!
Reply
#7

I didn\'t say that.

What does it matter if they are female or male?
[me=Mikep]thinks Rafay is a sexist :o[/me]
Reply
#8

Quote:
Originally Posted by Mikep
I didn\'t say that.

What does it matter if they are female or male?
[me=Mikep]thinks Rafay is a sexist [/me]


i just wanted to more & more questions =P
Reply
#9

Nais!!
Reply
#10

nice script awesome mate
Reply
#11

Quote:
Originally Posted by pujan
Nais!!
Quote:
Originally Posted by .::Foxy.::
nice script awesome mate
Thanks Gaais.
[me=Rafay]thinks Mikep uses /me too much :S[/me]
Reply
#12

Quote:
Originally Posted by Rafay
[me=Rafay]thinks Mikep uses /me too much :S[/me]
[me=Mikep]thinks Rafay uses "&" too much.[/me]
Reply
#13

Quote:
Originally Posted by PeaToN^
Wow, something really usefull, nice
^
Reply
#14

Quote:
Originally Posted by bogeyman_EST
Quote:
Originally Posted by PeaToN^
Wow, something really usefull, nice
^
Thanks.!
Reply
#15

nice script
no more admin applys to read on the forums ;}
Reply
#16

Quote:
Originally Posted by darkrider366
nice script
no more admin applys to read on the forums ;}
Thanks mate.
Reply
#17

Nice, but i\'m afraid there will be problems when 2 or more players are using this function at the same time.

The data will be writen to the file with the name of the last connected player.
Reply
#18

Quote:
Originally Posted by =>Sandra<=
Nice, but i\'m afraid there will be problems when 2 or more players are using this function at the same time.

The data will be writen to the file with the name of the last connected player.
i didn\'t knew that..
but there are 0.1% chances of 2 players at the same time applying
Reply
#19

Quote:
Originally Posted by Rafay
i didn\'t knew that..
but there are 0.1% chances of 2 players at the same time applying
That second player doesn\'t have to apply at all. If only a player connects while an other player has not finished the appy, it will mix up.

This will happen:

Player 1: "Sandra"
Player 2: "Rafay"
  • Sandra connects to server
  • The string called "file" formatted to "/Applications/Sandra.ini
  • Sandra starts applying.
  • Before she\'s finished, Rafay joins the server
  • The string called "file" will now be formatted to "/Applications/Rafay.ini
  • From now on, all info that Sandra writes (country, age, reason, etc.) will be written to "Rafay.inc"

Reply
#20

Quote:
Originally Posted by =>Sandra<=
Quote:
Originally Posted by Rafay
i didn\'t knew that..
but there are 0.1% chances of 2 players at the same time applying
That second player doesn\'t have to apply at all. If only a player connects while an other player has not finished the appy, it will mix up.

This will happen:

Player 1: "Sandra"
Player 2: "Rafay"
  • Sandra connects to server
  • The string called "file" formatted to "/Applications/Sandra.ini
  • Sandra starts applying.
  • Before she\'s finished, Rafay joins the server
  • The string called "file" will now be formatted to "/Applications/Rafay.ini
  • From now on, all info that Sandra writes (country, age, reason, etc.) will be written to "Rafay.inc"

damn, thanks for telling me but anyway to fix this thing ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)