SA-MP Forums Archive
[FilterScript] [FS] In-Game Administrator Application. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [FS] In-Game Administrator Application. (/showthread.php?tid=60474)

Pages: 1 2 3


[FS] In-Game Administrator Application. - rafay - 04.01.2009

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.



Re: [FS] In-Game Administrator Application. - Streetplaya - 04.01.2009

Very nice mate^^


Re: [FS] In-Game Administrator Application. - Yeatric - 04.01.2009

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


Re: [FS] In-Game Administrator Application. - Rozzie - 04.01.2009

Wow, something really usefull, nice


Re: [FS] In-Game Administrator Application. - Mikep - 04.01.2009

Why would it matter if your male or female?


Re: [FS] In-Game Administrator Application. - rafay - 04.01.2009

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!


Re: [FS] In-Game Administrator Application. - Mikep - 04.01.2009

I didn\'t say that.

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


Re: [FS] In-Game Administrator Application. - rafay - 04.01.2009

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


Re: [FS] In-Game Administrator Application. - flakey - 04.01.2009

Nais!!


Re: [FS] In-Game Administrator Application. - SPFoxy - 04.01.2009

nice script awesome mate


Re: [FS] In-Game Administrator Application. - rafay - 04.01.2009

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]


Re: [FS] In-Game Administrator Application. - Mikep - 04.01.2009

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



Re: [FS] In-Game Administrator Application. - bogeymanEST - 04.01.2009

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


Re: [FS] In-Game Administrator Application. - rafay - 04.01.2009

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


Re: [FS] In-Game Administrator Application. - darkrider366 - 04.01.2009

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


Re: [FS] In-Game Administrator Application. - rafay - 04.01.2009

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


Re: [FS] In-Game Administrator Application. - Sandra18[NL] - 04.01.2009

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.


Re: [FS] In-Game Administrator Application. - rafay - 04.01.2009

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


Re: [FS] In-Game Administrator Application. - Sandra18[NL] - 04.01.2009

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"




Re: [FS] In-Game Administrator Application. - rafay - 05.01.2009

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 ?