have any script like this ?
#1

when any admin turn on /aduty to tell a server message lioke this

an admin now is aduty for all /reprt like this ? fs
Reply
#2

It is just one function:

PHP код:
//In your onduty command
SendClientMessageToAll(-1,"an admin now is aduty for all /report"); 
Reply
#3

filter script or to add anywehre in gamemode ?

#you are a super helper bro tjanks a lot
Reply
#4

Yes you should add this in the GameMode:

PHP код:
//For example your command can look like this:
//Btw: IsPlayerAdmin checks Rcon-Admin :) u can change it
CMD:aduty(playerid,params[])
{
    if(!
IsPlayerAdmin(playerid)) return SendClientMessage(playerid,-1,"You're not an admin!");
    return 
SendClientMessageToAll(-1,"an admin now is aduty for all /report"); 

Reply
#5

replace or add anywehere ?
Reply
#6

Just add

BUT...if you have already an /aduty command...then just add this line:

PHP код:
SendClientMessageToAll(-1,"an admin now is aduty for all /report"); 
Reply
#7

thanks a lot
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)