[Ajuda] comando /territorios [MySql]
#10

Quote:
Originally Posted by zPain
Посмотреть сообщение
pawn Код:
forward g@GangZones(playerid);
public g@GangZones(playerid)
{
    new rows, fields, /*gzNome[128], gzDono[128],*/ result[128];

    cache_get_data(rows, fields, xConexao);

    if(rows)
    {
        cache_get_field_content(0, "name", GangZoneInfo[playerid][gzName], xConexao);
       
        cache_get_field_content(0, "dono", result, xConexao);
        GangZoneInfo[playerid][gzOwner] = strval(result);
       
        switch(GangZoneInfo[playerid][gzOwner])
        {
            case 1: format(result, sizeof result, "Groove");
            case 2: format(result, sizeof result, "Ballas");
            case 3: format(result, sizeof result, "Vagos");
            case 4: format(result, sizeof result, "Aztecas");
        }
       
        format(result, sizeof result, "%s: %s", GangZoneInfo[playerid][gzName], result);
        SendClientMessage(playerid, -1, result);
    }
    return 1;
}
esse tambem nao funcionou :/
Reply


Messages In This Thread
comando /territorios [MySql] - by Caio_Freeze - 02.10.2013, 01:41
Re: comando /territorios [MySql] - by arakuta - 02.10.2013, 01:52
Re: comando /territorios [MySql] - by Caio_Freeze - 02.10.2013, 01:58
Re: comando /territorios [MySql] - by Abravanel - 02.10.2013, 02:01
Re: comando /territorios [MySql] - by arakuta - 02.10.2013, 02:03
Re: comando /territorios [MySql] - by Caio_Freeze - 02.10.2013, 02:09
Re: comando /territorios [MySql] - by arakuta - 02.10.2013, 02:17
Re: comando /territorios [MySql] - by Caio_Freeze - 02.10.2013, 02:21
Re: comando /territorios [MySql] - by zPain - 02.10.2013, 03:00
Re: comando /territorios [MySql] - by Caio_Freeze - 02.10.2013, 18:26

Forum Jump:


Users browsing this thread: 1 Guest(s)