[Ajuda] strcmp para zcmd
#10

Quote:
Originally Posted by leonardo1434
Посмотреть сообщение
Use sscanf2.
pawn Код:
CMD:f(playerid,params[])
{
    static texto[128],nome[25],Float:cord[3],string[128];
    if(sscanf(params,"s[128]",texto)) return SendClientMessage(playerid,-1,"/a [texto]  ");
    GetPlayerPos(playerid, cord[0],cord[1],cord[2]);
    GetPlayerName(playerid, nome, 25);
    format(string, 128,"{CD00CD}%s fala: %s", nome,texto);
    for(for new i = 0; i != MAX_PLAYERS;++i) {
        if(!IsPlayerInRangeOfPoint(x, 10.0,cord[0],cord[1],cord[2])) continue;
        SendClientMessage(x, 0xFFFFFFAA, string);
    }
    return 1;
}
Nгo й necessбrio sscanf ai
Reply


Messages In This Thread
strcmp para zcmd - by Jonas_Alves - 24.07.2012, 20:24
Re: strcmp para zcmd - by F_Cinco - 24.07.2012, 20:30
Re: strcmp para zcmd - by Jonas_Alves - 24.07.2012, 20:39
Re: strcmp para zcmd - by F_Cinco - 24.07.2012, 20:45
Re: strcmp para zcmd - by rjjj - 24.07.2012, 20:50
Re: strcmp para zcmd - by Jason` - 24.07.2012, 20:52
AW: strcmp para zcmd - by billy the kid - 24.07.2012, 20:54
Re: strcmp para zcmd - by Jonas_Alves - 24.07.2012, 20:55
Re: strcmp para zcmd - by leonardo1434 - 24.07.2012, 20:56
Re: strcmp para zcmd - by Jason` - 24.07.2012, 20:56

Forum Jump:


Users browsing this thread: 2 Guest(s)