[Ajuda] Comando do kpta
#3

Quote:
Originally Posted by Willian_Luigi
Посмотреть сообщение
Opa, beleza ?

Dica: mantenha a identaзгo do seu cуdigo, se nгo fica ruim pra vocк.

Exemplo:
pawn Код:
if (!strcmp(cmd, "/pcarregar"))
{
    new veh;
    if (GetVehicleTrailer(veh = GetPlayerVehicleID(playerid)) == 584)
    {
        if (carregarpet[playerid] == 0)
        {
            if(PlayerToPoint(9.0,playerid, 247.8134,1344.6283,10.5859))
            {
                carregarpet[playerid] = 1;
                SendClientMessage(Amarelo,0xFFFFFFFF,"Caminhгo carregado com sucesso! Siga atй um posto para descarregar");
            }
            else
            {
                SendClientMessage(playerid, Vermelho, "| ERRO | Vocк nгo estб na бrea de carregamento ou nгo estб com o trailler!");
                return 1;
            }
        }
    }
}
Tente assim, se nгo der me avise.
pawn Код:
C:\Users\Avast Firewall\Desktop\bsv\gamemodes\BRASILSV.pwn(15189) : warning 211: possibly unintended assignment
C:\Users\Avast Firewall\Desktop\bsv\gamemodes\BRASILSV.pwn(15189) : warning 204: symbol is assigned a value that is never used: "veh"

//linha das warnings:
if (GetVehicleTrailer(veh = GetPlayerVehicleID(playerid)) == 584)
Reply


Messages In This Thread
Comando do kpta - by JackStenzel - 29.07.2013, 11:08
Re: Comando do kpta - by WLSF - 29.07.2013, 11:40
Re: Comando do kpta - by JackStenzel - 29.07.2013, 11:50
Re: Comando do kpta - by WLSF - 29.07.2013, 11:52
Re: Comando do kpta - by JackStenzel - 29.07.2013, 12:14
Re: Comando do kpta - by DarknessPT - 29.07.2013, 12:39
Re: Comando do kpta - by WLSF - 29.07.2013, 12:45
Re: Comando do kpta - by JackStenzel - 29.07.2013, 12:46
Re: Comando do kpta - by DarknessPT - 29.07.2013, 13:01
Re: Comando do kpta - by WLSF - 29.07.2013, 13:06

Forum Jump:


Users browsing this thread: 1 Guest(s)