[AJUDA] /sortear viniborn
#4

Quote:
Originally Posted by paulor
Посмотреть сообщение
pawn Код:
dcmd_sortear(playerid, params[])
{
    if(!strlen(params))
        return SendClientMessage(playerid, -1, "/sortear [quantia]");

    new Quantia = strval(params);
    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;
}
De onde saiu esse BornString ??
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)