Help give result value*string3 .. pls
#1

I'm trying to make a variable with a value. Calculated string3. More is giving error:

pawn Код:
public SBan(playerid, string[], string2[], string3[])
{
    new arquivo[64], tmp[20], tmp2[20], ip[16];
    GetPlayerIp(playerid, ip, sizeof ip);
    format(arquivo, sizeof(arquivo), "Banidos/%s.ini",PlayerName(playerid));
    getdate(Ano, Mes, Dia);
    format(tmp, 20, "%d/%d/%d", Dia, Mes, Ano);
    gettime(Hora, Minuto, Segundo);
    new tmp3 = gettime();
        new tmp4 = 84400*string3;
    format(tmp2, 20, "%d:%d:%d", Hora, Minuto, Segundo);
    format(gstring, 128, "[%d/%d/%d] [%d:%d:%d] %s IP:%s foi banido pelo admin %s, motivo: %s", v[2], v[1], v[0], v[3], v[4], v[5], PlayerName(playerid),
    ip, string2, string);
    SBanLog(gstring);
    format(Str, 202, "INSERT INTO `banlist`(`IP`, `Name`, `Reason`, `Admin`, `BanDate`, `BanTime`, `BanDays`, `Request`, `Aproove`, `PicLink1`, `PicLink2`, `PicLink3`, `Details`, `Serial`, `TempoBan`, `TempoUnban`,`Nick` ");
    format(Str, 470, ") %s VALUES ('%s','%s','%s','%s','%s','%s','%i','0','0','---','---','---','In-Game','---','%s','%s')", Str, ip, PlayerName(playerid), string, string2, tmp, tmp2, tmp4+getdate(), tmp3, PlayerName(playerid));
    mysql_function_query(Connect, Str, false, "", "");
    SetTimer("kickarr", 500, 0);
 return 1;
}
pawn Код:
new tmp4 = 84400*string3;
Very Thanks

@Edit: Sorry topic name. Confuse me.
And sorry for bad english.
Reply


Messages In This Thread
Help give result value*string3 .. pls - by iryston - 22.11.2013, 19:10
Re: Help give result value*string3 .. pls - by Konstantinos - 22.11.2013, 19:19
Re: Help give result value*string3 .. pls - by iryston - 22.11.2013, 22:24
Re: Help give result value*string3 .. pls - by HardRock - 22.11.2013, 22:44
Re: Help give result value*string3 .. pls - by iryston - 22.11.2013, 23:58
Re: Help give result value*string3 .. pls - by -Prodigy- - 23.11.2013, 00:26
Re: Help give result value*string3 .. pls - by iryston - 23.11.2013, 00:52

Forum Jump:


Users browsing this thread: 1 Guest(s)