Send to admin other message and to player other message
#1

ITS WORK !
Reply
#2

pawn Код:
GetAdminLevel(playerid) < 1 && !IsPlayerAdmin(playerid)
the message will be sent to all administrators?
Reply
#3

No
Yes all admins..
Reply
#4

Quote:
Originally Posted by lonako45
Посмотреть сообщение
No
Yes all admins..
I didn't understand ^o)
Reply
#5

the message will be sent to all administrators? Answer : Yes
hhhhhh
Reply
#6

I think that's
pawn Код:
if(strcmp(tmp, "Join", true) == 0 || strcmp(tmp, "j", true) == 0)
{
    if(activity == 0) return SendClientMessage(playerid, White, "айп фтймеъ оефтмъ");

    for(new i = 0; i < MAX_PLAYERS; i++)
        if(IsPlayerConnected(i) && IsPlayerFAdmin(i))
        {
            if(GetAdminLevel(playerid) > 0 || IsPlayerAdmin(playerid) || GetAdminSpay(playerid) > 0 || GetTempAdminLevel(playerid) > 0)
            {
                format(string1, sizeof(string1),"обчщ мдцишу мфтймеъ [%s]%d дщзчп",GetName(playerid),playerid);
                SendClientMessage(i,0xff0000ff,string1);
            }
        }

    return 1;
}
Reply
#7

You My King !
When we get married?
Reply
#8

OHH
now its send the message :
PHP код:
  format(string1sizeof(string1),"%s[%d] מבקש להצטרף לפעילות השחקן",playerid,GetName(playerid));
        
SendClientMessage(i,0x8e0c9ff,string1); 
To the admin and to the player!!
its the full command
PHP код:
if(strcmp(tmp"Join"true) == || strcmp(tmp"j"true) == 0)
        {
        if(
activity == 0) return SendClientMessage(playeridWhite"אין פעילות מופעלת");
        
SendClientMessage(playerid,0x8e0c9ff,"ביקשת להצטרף לפעילות,חכה שהאחראי ישגר אותך");
        for(new 
0MAX_PLAYERSi++)
        {
        if(
GetAdminLevel(i) < || IsPlayerAdmin(i) || GetAdminSpay(i) < || GetTempAdminLevel(i) < 1)
        {
        
format(string1sizeof(string1),"%s[%d] מבקש להצטרף לפעילות השחקן",playerid,GetName(playerid));
        
SendClientMessage(i,0x8e0c9ff,string1);
        }
        }
        return 
1;
        } 
help?
Reply
#9

Can you explain it a bit more? Do you want it for all users/admins, only for users or only for admins?
Reply
#10

admins :
PHP код:
for(new 0MAX_PLAYERSi++) 
        { 
        if(
GetAdminLevel(i) < || IsPlayerAdmin(i) || GetAdminSpay(i) < || GetTempAdminLevel(i) < 1
        { 
        
format(string1sizeof(string1),"%s[%d] מבקש להצטרף לפעילות השחקן",playerid,GetName(playerid)); 
        
SendClientMessage(i,0x8e0c9ff,string1); 
Player :
PHP код:
SendClientMessage(playerid,0x8e0c9ff,"ביקשת להצטרף לפעילות,חכה שהאחראי ישגר אותך"); 
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)