AttachObjectToVeicle nгo tб funcionando ou tб errado?
#1

Entгo gente, meu amigo tava me ajudando pra colocar um objeto no veнculo, mas nгo aparece nele, alguem ve se tem algo errado aqui?

PHP код:
for(new vehicleidvehicleid MAX_VEHICLESvehicleid++)
    {
        if(
GetVehicleModel(vehicleid) == 525)
    {
        
sirene[vehicleid] = CreateObject(18650 0.00.00.00.00.00.0400.0);
        
AttachObjectToVehiclesirene[vehicleid] , vehicleid 0.00.00.0+20.00.00.0);
    }

Grato..
Reply
#2

Tenta ae numca mexi com isso mas deve funfar!
pawn Код:
for(new vehicleid; vehicleid < MAX_VEHICLES; vehicleid++)
{
    if(GetVehicleModel(vehicleid) == 525)
    {
        new sirene = CreateObject(18650 , 0, 0, 0, 0, 0, 0);
        AttachObjectToVehicle(sirene, GetPlayerVehicleID(vehicleid), 0.0, 0.0, 0.0+2, 0.0, 0.0, 0.0);

    }
}
Reply
#3

Nгo funcionou. ._.
Reply
#4

pawn Код:
for(new vehicleid; vehicleid < MAX_VEHICLES; vehicleid++)
{
    if(GetVehicleModel(vehicleid) == 525)
    {
        new idsirene = CreateObject(...);
        AttachObjectToVehicle(idsirene, vehicleid , 0.0, 0.0, 0.0+2, 0.0, 0.0, 0.0);
    }
}
Reply
#5

Deu ainda nгo, Rodney. e.e
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)