Linking vehicles to an interior/virtualworld
#5

pawn Код:
spawnedDerbyVeh++;
    derbyVehicles[spawnedDerbyVeh] = CreateVehicle(carid,-1484.3641,947.6502,1037.1646,339.7392,random(255), random(255), -1);
    for(new i=0; i < sizeof(derbyVehicles); i++)
    {
        SetVehicleVirtualWorld(derbyVehicles[i], GetPlayerVirtualWorld(playerid));
        LinkVehicleToInterior(derbyVehicles[i], GetPlayerInterior(playerid));
    }
    format(string, sizeof(string), "You have spawned the derby cars! (ID %d)", carid);
    SendClientMessage(playerid, -1, string);
    return 1;
}
Reply


Messages In This Thread
Linking vehicles to an interior/virtualworld - by cosbraa - 07.06.2012, 15:14
Re: Linking vehicles to an interior/virtualworld - by mahdi499 - 07.06.2012, 15:38
Re: Linking vehicles to an interior/virtualworld - by cosbraa - 07.06.2012, 17:13
Re: Linking vehicles to an interior/virtualworld - by ikey07 - 07.06.2012, 17:16
Re: Linking vehicles to an interior/virtualworld - by MadeMan - 07.06.2012, 17:17
Re: Linking vehicles to an interior/virtualworld - by cosbraa - 07.06.2012, 18:48

Forum Jump:


Users browsing this thread: 1 Guest(s)