[Ajuda] SSCANF
#5

Meu comando esta assim agora :

pawn Код:
CMD:pagar(playerid, params[])
{
    new ID, Mo;
    new s[120];
    if(sscanf(params, "ui", ID, Mo))
    return SendClientMessage(playerid, -1, "* Use: /Pagar [ID] [R$]");
    GivePlayerMoney(ID, Mo), GivePlayerMoney(playerid , - Mo);
   
    format(s, sizeof(s), "Vocк pagou R$: %s Para o ID [%d]", Mo, ID);
    SendClientMessage(playerid, 0xFFFFFFAA, "s");
    return 1;
}
Reply


Messages In This Thread
SSCANF - by Duun - 25.02.2013, 19:51
Re: SSCANF - by Supera - 25.02.2013, 19:56
Re: SSCANF - by Sky™ - 25.02.2013, 19:59
Re: SSCANF - by Supera - 25.02.2013, 20:04
Re: SSCANF - by Duun - 25.02.2013, 20:06
Re: SSCANF - by MegalodoN - 25.02.2013, 20:07
Re: SSCANF - by Supera - 25.02.2013, 20:08
Re: SSCANF - by Duun - 25.02.2013, 20:20
Re: SSCANF - by Schocc - 25.02.2013, 20:27
Re: SSCANF - by Sky™ - 25.02.2013, 20:36

Forum Jump:


Users browsing this thread: 2 Guest(s)