Help me
#6

Quote:
Originally Posted by jaberaaa
Посмотреть сообщение
I didnt used SendClientMessageToAll
So Give me ? Fixed code i wont see it i want just other members of my gang see it ..
If that possible
I have Tried to use this new Code
PHP код:
SendGangMessage(gangidcolor, const text[], {Float,_}:...)
{
    static
          
args,
        
str[192];
    if((
args numargs()) <= 3)
    {
        foreach(new 
Player)
        {
            if(
PlayerInfo[i][pLogged] && PlayerInfo[i][pGang] == gangid)
            {
                
SendClientMessage(icolortext);
            }
        }
    }
    else
    {
        while(--
args >= 3)
        {
            
#emit LCTRL     5
            #emit LOAD.alt     args
            #emit SHL.C.alt 2
            #emit ADD.C     12
            #emit ADD
            #emit LOAD.I
            #emit PUSH.pri
        
}
        
#emit PUSH.S     text
        #emit PUSH.C     192
        #emit PUSH.C     str
        #emit PUSH.S    8
        #emit SYSREQ.C     format
        #emit LCTRL     5
        #emit SCTRL     4
        
foreach(new Player)
        {
            if(
PlayerInfo[i][pLogged] && PlayerInfo[i][pGang] == gangid)
            {
                
SendClientMessage(icolorstr);
            }
        }
        
#emit RETN
    
}
    return 
1;

And
PHP код:
                        if(PlayerInfo[playerid][pGang] >= 0)
                        {
                            
SendGangMessage(PlayerInfo[playerid][pGang], COLOR_AQUA"((%s has logged in. ))",GetPlayerRPName(playerid));
                        } 
But it havn't appeared any more
Reply


Messages In This Thread
Help me - by jaberaaa - 28.12.2017, 14:37
Re: Help me - by EmpireSk - 28.12.2017, 14:44
Re: Help me - by jaberaaa - 28.12.2017, 14:55
Re: Help me - by cuber - 28.12.2017, 15:02
Re: Help me - by jaberaaa - 28.12.2017, 15:04
Re: Help me - by jaberaaa - 28.12.2017, 15:39
Re: Help me - by jaberaaa - 28.12.2017, 16:07

Forum Jump:


Users browsing this thread: 1 Guest(s)