[AJUDA] /sortear viniborn
#5

Quote:
Originally Posted by Hancoc
Посмотреть сообщение
codigo original do vini
pawn Код:
//zcmd
CMD:sortear(playerid, params[])
{
    new Quantia;
    if(sscanf(params, "d",Quantia))
        return SendClientMessage(playerid, -1, "/sortear [quantia]");

    new VBString[64],VBNome[MAX_PLAYER_NAME],VBRand;
    VBRand = random(GetMaxPlayers());
    GetPlayerName(VBRand, VBNome, MAX_PLAYER_NAME);
    GivePlayerMoney(VBRand,Quantia);
    format(VBString,sizeof VBString,"%s foi sorteado e ganhou %d.",VBNome,Quantia);
    SendClientMessageToAll(-1,BornString);
    return true;
}
Ele postou o original! E nгo prestei atenзao q esta errado...
Reply


Messages In This Thread
[AJUDA] /sortear viniborn - by Hancoc - 06.04.2012, 23:29
Re: [AJUDA] /sortear viniborn - by Jason` - 06.04.2012, 23:46
Re: [AJUDA] /sortear viniborn - by paulor - 06.04.2012, 23:56
Re: [AJUDA] /sortear viniborn - by Jason` - 07.04.2012, 00:06
Re: [AJUDA] /sortear viniborn - by paulor - 07.04.2012, 00:09
Re: [AJUDA] /sortear viniborn - by Abravanel - 07.04.2012, 01:14

Forum Jump:


Users browsing this thread: 1 Guest(s)