Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Script made by sheders
- //This is my other filterscript i made.
- //Website: www.xcoper.com
- #define FILTERSCRIPT
- #include <a_samp> //a_samp
- #include <zcmd> //zcmd
- CMD:credits(playerid,params[])
- {
- SendClientMessage(playerid,0xFFFF00AA,"Credits WhoIsAdmin v1.2: Sheders Scripting , AnkEpple BetaTester , Fezhj BetaTester");//Change the name to your name and your admins.
- return 1;
- }
- CMD:admins(playerid,params[])
- {
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(IsPlayerConnected(i))
- {
- if(IsPlayerAdmin(i))
- {
- new string[27];
- new id[MAX_PLAYER_NAME];
- GetPlayerName(i, id, sizeof(id));
- format(string, sizeof(string), "Admins online: %s", id);
- SendClientMessage(playerid, 0x800080AA , string);
- }
- }
- }
- return 1;
- }
- //Credits to sheders for script whoisadmin v1.2/ Fezhj for BetaTest
- //Commands /admins this commands will show the players who admins are online at the server.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement