help 2 things to say
#1

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 !
Reply
#2

Do you need it for yourself only or for everybody?
Reply
#3

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

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

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

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;
}
Reply
#7

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


Forum Jump:


Users browsing this thread: 1 Guest(s)