Kick and Ban and Announce command
#21

in the /duty or whatever command include this
pawn Код:
new message[96], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(message, sizeof(message), "Admin: %s is now on duty", name);
SendClientMessageToAll( 0xFFFFFFFF, message);
Reply
#22

Quote:
Originally Posted by Azzeto
Посмотреть сообщение
Yea I need it so when an admin goes on duty though I can make it say "administrator*adminsname*has went on duty

Instead of the old "An Administrator has went on duty"

And that still didnt work

EDIT: And that /admins fails anyways.. says everyone is an admin ^^
obviousley his /admin wouldnt work for yours because chances are the variables are not exactly the same, is this a scratch GM?
Reply
#23

Yes this is a scratch gamemode.
Reply
#24

what variable do you use for the admin level?
Reply
#25

if(PlayerInfo[playerid][pAdmin] < 1)

That?(Im a newbie scripter lol, learning to script with this gamemode)
Reply
#26

ok so your going to replace the variable that shockey is using for admin level with yours
Reply
#27

I did that, I replaced "If(playerinfo bla bla with mine, and it showed everyone as an admin
Reply
#28

Quote:
Originally Posted by Azzeto
Посмотреть сообщение
I did that, I replaced "If(playerinfo bla bla with mine, and it showed everyone as an admin
Life is like a box of chocolate
Reply
#29

Okay, I got it working, but now it doesnt even show me as admin lol.
Reply
#30

Quote:
Originally Posted by Shockey HD
Посмотреть сообщение
Life is like a box of chocolate
There's a few good ones, and the rest just taste nasty :P lol, how is your admin level system setup?
Reply
#31

What do you mean, Dowster
Reply
#32

Quote:
Originally Posted by dowster
Посмотреть сообщение
There's a few good ones, and the rest just taste nasty :P lol, how is your admin level system setup?
Who are you talkin to?
Reply
#33

nvm, i didnt see posts before mine
Reply
#34

Quote:
Originally Posted by dowster
Посмотреть сообщение
nvm, i didnt see posts before mine
Dowster do you have msn? if so add me fleming1915@hotmail.com
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)