[ajuda] sscanf
#4

pawn Код:
if(!strcmp(cmdtext,"/av", true))
{
    new msg[128];
    if(sscanf(cmdtext,"s[128]",msg))
    {
        SendClientMessage(playerid, -1, "USE: /av [texto]");
        return 1;
    }
    SendClientMessageToAll(-1,msg);
    return 1;
}
Tenso demais, tambйm nunca usei sscanf com a callback OnPlayerCommandText. :/
Reply


Messages In This Thread
[ajuda] sscanf - by Cristhian - 12.10.2011, 04:09
Re: [ajuda] sscanf - by WLSF - 12.10.2011, 04:12
Re: [ajuda] sscanf - by Cristhian - 12.10.2011, 04:23
Re: [ajuda] sscanf - by WLSF - 12.10.2011, 04:35
Re: [ajuda] sscanf - by Cristhian - 12.10.2011, 16:35

Forum Jump:


Users browsing this thread: 1 Guest(s)