SA-MP Forums Archive
help 2 things to say - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: help 2 things to say (/showthread.php?tid=322800)



help 2 things to say - Seba97 - 03.03.2012

Hello,

i really need help on my command ' /say [text1] [text2] '
So it look like : X says TEXT1 and TEXT2
just a simple command it'll work

Thanks !


Re: help 2 things to say - Georgi166 - 03.03.2012

Do you need it for yourself only or for everybody?


Re: help 2 things to say - Seba97 - 03.03.2012

just to send to all this message : x says Text1 and Text2


Re: help 2 things to say - Georgi166 - 03.03.2012

I cant understand what you need..Try to log in rcon and use /rcon say


Re: help 2 things to say - Seba97 - 03.03.2012

no man its like a announce.... for ex: Seba97 says Hello Nab and Big Nab


Re: help 2 things to say - Konstantinos - 03.03.2012

pawn Код:
CMD:say( playerid, params[ ] )
{
    new
        sz_name[ MAX_PLAYER_NAME ],
        sz_string[ 128 ],
        text1[ 52 ],
        text2[ 52 ];
       
    if( sscanf( params, "s[52]s[52]", text1, text2 ) ) return SendClientMessage( playerid, -1, "Usage: /say <Text1> <Text2>" );
    GetPlayerName( playerid, sz_name, MAX_PLAYER_NAME );
    format( sz_string, sizeof( sz_string ), "%s says %s and %s", sz_name, text1, text2 );
    SendClientMessageToAll( -1, sz_string );
    return 1;
}



Re: help 2 things to say - Seba97 - 03.03.2012

convert in normal cmd not ZCMD
Ex:
PHP код:
    if(strcmp(cmd"/say"true) == 0)
    {
        new 
name[MAX_PLAYER_NAME];
                    
bla bla...