[Ajuda] Sub Comandos
#2

vocк quer dizer "/celular ligar numero" ?

vocк pode fazer um sscanf nos parвmetros, bem bбsico.

pawn Код:
new t[10], n;
sscanf(params, "s[10]d", t, n);
if (!strcmp(t, "ligar"))
    printf("Telefone: %d", n);
Reply


Messages In This Thread
Sub Comandos - by Justing3 - 10.01.2015, 00:10
Re: Sub Comandos - by WLSF - 10.01.2015, 00:12
Re: Sub Comandos - by Justing3 - 10.01.2015, 00:15
Re: Sub Comandos - by WLSF - 10.01.2015, 00:18
Re: Sub Comandos - by Justing3 - 10.01.2015, 00:21
Re: Sub Comandos - by WLSF - 10.01.2015, 00:23
Re: Sub Comandos - by Justing3 - 10.01.2015, 00:25

Forum Jump:


Users browsing this thread: 2 Guest(s)