SA-MP Forums Archive
[FilterScript] [FS] Easy Administration 1.1 UPDATE [Register/Login - Admin Scritpt] - 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] Easy Administration 1.1 UPDATE [Register/Login - Admin Scritpt] (/showthread.php?tid=135449)



[FS] Easy Administration 1.1 UPDATE [Register/Login - Admin Scritpt] - .:HustLeR:. - 20.03.2010



Hello
I want to show you my Adminscript , its very simple and Register/Login is in GUI dialog.

Features:
- 4 Admin Levels [Mod,Admin,Superadmin,Serverowner]
- Registration/Login
- That`s all what it saves : AdminLevel , Money , Score , Kills , Deaths , Kill to Death Ratio .
- 26 Admin Cmds + 6 Userdcmd`s

Commands :


/ahelp /cmd
[UserCMD`s]/stats/resetstats/seestats/report/admins/pm

[ModeratorCMD`s]: /a /dec /freeze /unfreeze /explode /kick /takeweaps /clear /seecash
[AdminCMD`s]: /giveweapon /tele /gethere /setskin /sethealth /setarm /sethour /changeweather
[SuperAdminCMD`s]: /gmx /ban /setscore /setdeaths /setkills /givecash /setcash /veh
[ServerOwnerCMD`s]: /makeadmin

Credits :

>> BlackFoX_UD_(BfX) - For login/register tut in sa- mp.de
>> Golkiller - For dcmd and sscanf Tut in sa- mp.de
>> DracoBlue - For dcmd
>> Alex aka Y_Less - For sscanf
>> ShukaZ - For ideas
>> www.sa- mp.de - For the good and helpfully community
>> Hustler - For the script inch:

Installation :

1. SimpleAdminScript in >> Gta order >> filterscripts
2. dini.ini in Pawno>>include
3.write in Server.cfg name of the filterscript
4.How can i be an Admin? In scriptfiles >>acc >> edit your account and set the adminlvl to 4 with notepad or go ingame and logg yourself as rcon admin and then type /makeadmin
SRY FOR MY ENGLISH
DOWNLOAD :
pastebin code : http://pastebin.com/0T3p7jTH
Update v1.1



Re: [FS] Easy Administration [Register/Login - Admin Scritpt] - .:HustLeR:. - 21.03.2010

Any comments :P?


Re: [FS] Easy Administration [Register/Login - Admin Scritpt] - MaykoX - 21.03.2010

Not bad... I'll test it when i get home :P


Re: [FS] Easy Administration [Register/Login - Admin Scritpt] - roar - 21.03.2010

Good script! and good job!


Re: [FS] Easy Administration [Register/Login - Admin Scritpt] - Snoooopy - 21.03.2010

Yes , good job
Nice


Re: [FS] Easy Administration [Register/Login - Admin Scritpt] - .:HustLeR:. - 21.03.2010

No bugs ?


Re: [FS] Easy Administration [Register/Login - Admin Scritpt] - [nl]rockline[nl] - 21.03.2010

Nice! i go try it in my server

EDIT:
it is http://www.easy-share.com/1909598998/EasyAdministration.rar
not: http://www.easy-share.com/1909598998/Easy Administration.rar


Re: [FS] Easy Administration [Register/Login - Admin Scritpt] - [nl]rockline[nl] - 21.03.2010

why see i not a dialog?
p.s give please the maps for in the scriptfiles for save score...


Re: [FS] Easy Administration [Register/Login - Admin Scritpt] - DeaD_MaN - 21.03.2010

Quote:
C:\Documents and Settings\Admin\Рабочий стол\Adminka.pwn(1001) : error 017: undefined symbol "SetPlayerMoney"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

Here is the code, sorry for my English
Code:
	new string[128],string2[128],aname[MAX_PLAYER_NAME],name[MAX_PLAYER_NAME];
	SetPlayerMoney(pID,cash);
	GetPlayerName(playerid,aname,sizeof(aname));
	GetPlayerName(pID,name,sizeof(name));
	format(string,sizeof(string),"You have set the money of %s to %d $",name,cash);
  format(string2,sizeof(string2),"Admin %s has set your money to %d $",aname,cash);
  SendClientMessage(playerid,COLOR_GREEN,string);
  SendClientMessage(pID,COLOR_GREEN,string2);
	return 1;



Re: [FS] Easy Administration [Register/Login - Admin Scritpt] - .:HustLeR:. - 21.03.2010

Quote:
Originally Posted by rockline
why see i not a dialog?
p.s give please the maps for in the scriptfiles for save score...
what do you mean ? You dont see a dialog when you connect ? I thik because you have an other dialog in OnPlayerConnect ?
@ DeaD Man
Wtf i dont know SetPlayerMoney is a standart function delte these lines :P