[Ajuda] [Urgente] Vehicleid
#3

PHP код:
public OnDialogResponse(vehicleidplayeriddialogidresponselistiteminputtext[]) //72 ERRO
            
if(listitem == && aAttach[vehicleid] == 0)
            {
                
Spoiler(playerid); //83 ERRO
                
SetObjectMaterial(cMaterial[playerid], 019341"break_f_w""dyn_f_r_wood_1b"0xFF0073E6);
                
AttachObjectToVehicle(cMaterial[playerid] , GetPlayerVehicleID(playerid), 0.010000, -2.1650010.359999000); //Object Model: 1023 |
            
}
            if(
listitem == && aAttach[vehicleid] == 0)
            {
                
Spoiler(playerid); //89 ERRO 
As linhas marcadas sгo da stock Spoiler e todas sгo basicamente a mesma coisa:

PHP код:
stock Spoiler(vehicleidplayerid)
{
    
cMaterial[playerid] = CreateObject(1023,0,0,0,0,0,0);
    
aAttach[vehicleid] = 1;
    
SendClientMessage(playerid, -1"{6EA3FF}[INFO]: Adicionado um Spoiler ao Seu veiculo.");
    return 
1;

OBS: se eu remover o vehicleid da stock Spoiler, o problema й reduzido a dois erros, e diz que um deles й a nгo definiзгo de vehicleid, e se remover da callback OnDialogResponse, o numero de erros cresce. tambйm dizendo que "vehicleid" nгo foi definido.
Reply


Messages In This Thread
[Urgente] Vehicleid - by iTouchS - 08.08.2017, 00:20
Re: [Urgente] Vehicleid - by MorteAmerica - 08.08.2017, 00:34
Re: [Urgente] Vehicleid - by iTouchS - 08.08.2017, 01:00
Re: [Urgente] Vehicleid - by JeffSantos2 - 08.08.2017, 01:19
Re: [Urgente] Vehicleid - by iTouchS - 08.08.2017, 01:33
Re: [Urgente] Vehicleid - by DelK - 08.08.2017, 01:46
Re: [Urgente] Vehicleid - by iTouchS - 08.08.2017, 02:56
Re: [Urgente] Vehicleid - by MorteAmerica - 08.08.2017, 14:03
Re: [Urgente] Vehicleid - by iTouchS - 08.08.2017, 22:02

Forum Jump:


Users browsing this thread: 3 Guest(s)