![]() |
|
Vehicle Destroyal - Printable Version +- Las Venturas Playground (https://forum.sa-mp.nl) +-- Forum: Main Talk (https://forum.sa-mp.nl/forum-3.html) +--- Forum: Development (https://forum.sa-mp.nl/forum-16.html) +--- Thread: Vehicle Destroyal (/thread-19108.html) |
Vehicle Destroyal - Fireburn - 07-08-2009 Search "destroyvehicle" (27 hits in 11 files) F:\LVPDEV - kopie\development\defines.pwn (1 hits) Line 22: #define EraseVehicle DestroyVehicle F:\LVPDEV - kopie\development\forwards.pwn (3 hits) Line 6: forward VehRes(vehicleid); // DestroyVehicle fix Line 33: forward CRace__DestroyVehicle(i); Line 55: forward DestroyVehicleTimer( vehicleid ); F:\LVPDEV - kopie\development\Handlers\Brief.pwn (4 hits) Line 143: DestroyVehicle(briefVehicle[playerid]); Line 251: DestroyVehicle(briefVehicle[playerid]); Line 329: DestroyVehicle(vehicleid); Line 357: DestroyVehicle(briefVehicle[i]); F:\LVPDEV - kopie\development\Handlers\Derby.pwn (1 hits) Line 851: DestroyVehicle(g_DerbyPlayer[iPlayerID][true]); F:\LVPDEV - kopie\development\Handlers\Grand Theft Auto.pwn (1 hits) Line 159: DestroyVehicle(vid); F:\LVPDEV - kopie\development\Handlers\Imports.pwn (3 hits) Line 418: //CImport: estroyVehicleLine 420: CImport__DestroyVehicle(vehicleid) Line 425: DestroyVehicle(vehicleid); F:\LVPDEV - kopie\development\Handlers\Race.pwn (5 hits) Line 753: DestroyVehicle(iVehicle); Line 882: DestroyVehicle(g_RaceVehicles[iRaceID][iSignupID]); Line 913: // CRace: estroyVehicleLine 916: public CRace__DestroyVehicle(i) Line 923: DestroyVehicle ( i + 550 ); F:\LVPDEV - kopie\development\Handlers\Rivershell.pwn (3 hits) Line 336: DestroyVehicle(i); Line 340: DestroyVehicle(v_Objective[TEAM_GREEN]); Line 341: DestroyVehicle(v_Objective[TEAM_BLUE]); F:\LVPDEV - kopie\development\Handlers\Robbery.pwn (1 hits) Line 972: DestroyVehicle(casinoCars[i]); F:\LVPDEV - kopie\development\lvp.amx (2 hits) Line 25: Line 25: F:\LVPDEV - kopie\development\vehicleHandler.pwn (3 hits) Line 1838: if(CImport: estroyVehicle(vehicleid)) return true;Line 1913: DestroyVehicle(vehicleid); Line 2110: if(CImport: estroyVehicle(vehicleid)) return 1;Search "EraseVehicle" (3 hits in 3 files) F:\LVPDEV - kopie\development\defines.pwn (1 hits) Line 22: #define EraseVehicle DestroyVehicle F:\LVPDEV - kopie\development\Handlers\Brief.pwn (1 hits) Line 436: EraseVehicle(briefVehicle[i]); F:\LVPDEV - kopie\development\Handlers\Robbery.pwn (1 hits) Line 263: EraseVehicle(i); Re: Vehicle Destroyal - Jay - 07-08-2009 Erasevehicle might be the problem now that I recall. It sets a timer to destroy a vehicle 10 seconds after it being called to prevent an old SA:MP destroyvehicle bug. I'll look into it. Cheers. Re: Vehicle Destroyal - Fireburn - 07-08-2009 Search "SetVehicleVirtualWorld" (23 hits in 13 files) F:\LVPDEV - kopie\development\Commands\Administrator.pwn (2 hits) Line 652: SetVehicleVirtualWorld(iVehicleID,iWorldID); Line 938: SetVehicleVirtualWorld(GetPlayerVehicleID(playerid),iWorldID); F:\LVPDEV - kopie\development\Handlers\BombShop.pwn (2 hits) Line 118: SetVehicleVirtualWorld(GetPlayerVehicleID(i),randworld); Line 569: SetVehicleVirtualWorld(GetPlayerVehicleID(playerid),0); F:\LVPDEV - kopie\development\Handlers\Brief.pwn (1 hits) Line 528: SetVehicleVirtualWorld(briefVehicle[playerid],BRIEF_WORLD); F:\LVPDEV - kopie\development\Handlers\Derby.pwn (1 hits) Line 821: SetVehicleVirtualWorld(iVeh,iDerbyID); F:\LVPDEV - kopie\development\Handlers\Race.pwn (1 hits) Line 472: SetVehicleVirtualWorld( g_RaceVehicles[ iRaceID ][ iSignupID ], ( 200 + iRaceID ) ); F:\LVPDEV - kopie\development\Handlers\RaceBuilder.pwn (2 hits) Line 395: SetVehicleVirtualWorld((GetPlayerVehicleID(playerid)),0); //set them back in there world Line 615: SetVehicleVirtualWorld(vid,playerid); //Lets move the race builders out the way of the other players. F:\LVPDEV - kopie\development\Handlers\Rivershell.pwn (3 hits) Line 349: SetVehicleVirtualWorld(v_Objective[TEAM_GREEN],RIVERSHELL_WORLD); Line 350: SetVehicleVirtualWorld(v_Objective[TEAM_BLUE],RIVERSHELL_WORLD); Line 378: SetVehicleVirtualWorld(i,RIVERSHELL_WORLD); F:\LVPDEV - kopie\development\Handlers\Robbery.pwn (2 hits) Line 192: SetVehicleVirtualWorld(casinoCars[i], ROBBERY_VWORLD); Line 299: SetVehicleVirtualWorld(casinoCars[i], ROBBERY_VWORLD); F:\LVPDEV - kopie\development\Handlers\SaveInfo.pwn (1 hits) Line 383: SetVehicleVirtualWorld(playerSaved[iSavedSlot][saveLastVehicle],GetPlayerVirtualWorld(playerid)); F:\LVPDEV - kopie\development\lvp.amx (1 hits) Line 25: F:\LVPDEV - kopie\development\lvp.pwn (4 hits) Line 6950: SetVehicleVirtualWorld(mVID, g_VirtualWorld[ playerid ]); Line 6954: SetVehicleVirtualWorld(iTrailerID, g_VirtualWorld[ playerid ]); Line 9297: SetVehicleVirtualWorld(iVehicleID, WorldID); Line 9307: SetVehicleVirtualWorld( iTrailerID, WorldID ); F:\LVPDEV - kopie\development\Maps\Handler.pwn (2 hits) Line 182: SetVehicleVirtualWorld(veh,Map_Zone[mapzid][Map_World]); Line 227: SetVehicleVirtualWorld(vehid,g_VirtualWorld[playerid]); F:\LVPDEV - kopie\development\vehicleHandler.pwn (1 hits) Line 1852: SetVehicleVirtualWorld( vehicleid, 0 ); Search "g_WorldVehicle" (8 hits in 4 files) F:\LVPDEV - kopie\development\lvp.pwn (4 hits) Line 6951: g_WorldVehicle[ mVID ] = 1; Line 6955: g_WorldVehicle[ iTrailerID ] = 1; Line 9298: g_WorldVehicle[ iVehicleID ] = (WorldID == 0) ? 0 : 1; Line 9308: g_WorldVehicle[ iTrailerID ] = (WorldID == 0) ? 0 : 1; F:\LVPDEV - kopie\development\Maps\Handler.pwn (1 hits) Line 183: g_WorldVehicle[veh] = true; F:\LVPDEV - kopie\development\vars.pwn (1 hits) Line 350: new g_WorldVehicle[ 700 ]; F:\LVPDEV - kopie\development\vehicleHandler.pwn (2 hits) Line 1850: if(g_WorldVehicle[vehicleid]) Line 1853: g_WorldVehicle[ vehicleid ] = 0; Search "Vinterior" (14 hits in 3 files) F:\LVPDEV - kopie\development\Commands\Administrator.pwn (1 hits) Line 1202: SetPlayerInterior(playerid,VehicleInfo[vehID][Vinterior]); F:\LVPDEV - kopie\development\Handlers\Grand Theft Auto.pwn (1 hits) Line 176: || AnyPlayerInVehicle(v_GTA) || v_Health < 600 || VehicleInfo[v_GTA][Vinterior] > 0 || F:\LVPDEV - kopie\development\vehicleHandler.pwn (12 hits) Line 43: Vinterior Line 792: stock CreateSpecialVehicle(vehicleID, Float:x, Float:y, Float , Float:angleex, color1, color2, numberplate[], vinterior = 0)Line 802: LinkVehicleToInterior(vID, vinterior); Line 804: VehicleInfo[CurrentVehicle][Vinterior] = vinterior; Line 804: VehicleInfo[CurrentVehicle][Vinterior] = vinterior; Line 822: stock AddVehicle(vehicleID, Float:x, Float:y, Float , Float:angleex, color1, color2, adminonly=0, vinterior = 0, randspawn = 0)Line 839: LinkVehicleToInterior(vID, vinterior); Line 846: VehicleInfo[CurrentVehicle][Vinterior] = vinterior; Line 846: VehicleInfo[CurrentVehicle][Vinterior] = vinterior; Line 1289: //AddVehicle(vehicleID, Float:x, Float:y, Float , Float:angleex, color1, color2, adminonly=0, vinterior = 0, randspawn = 1)Line 1847: LinkVehicleToInterior(vehicleid,VehicleInfo[vehicleid][Vinterior]); Line 1886: if(!VehicleInfo[vehicleid][Vinterior] && IsVehicleConnected(vehicleid) && RandomVehicle[vehicleid][v_goto] == 0) Search "vInterior" (14 hits in 3 files) F:\LVPDEV - kopie\development\Commands\Administrator.pwn (1 hits) Line 1202: SetPlayerInterior(playerid,VehicleInfo[vehID][Vinterior]); F:\LVPDEV - kopie\development\Handlers\Grand Theft Auto.pwn (1 hits) Line 176: || AnyPlayerInVehicle(v_GTA) || v_Health < 600 || VehicleInfo[v_GTA][Vinterior] > 0 || F:\LVPDEV - kopie\development\vehicleHandler.pwn (12 hits) Line 43: Vinterior Line 792: stock CreateSpecialVehicle(vehicleID, Float:x, Float:y, Float , Float:angleex, color1, color2, numberplate[], vinterior = 0)Line 802: LinkVehicleToInterior(vID, vinterior); Line 804: VehicleInfo[CurrentVehicle][Vinterior] = vinterior; Line 804: VehicleInfo[CurrentVehicle][Vinterior] = vinterior; Line 822: stock AddVehicle(vehicleID, Float:x, Float:y, Float , Float:angleex, color1, color2, adminonly=0, vinterior = 0, randspawn = 0)Line 839: LinkVehicleToInterior(vID, vinterior); Line 846: VehicleInfo[CurrentVehicle][Vinterior] = vinterior; Line 846: VehicleInfo[CurrentVehicle][Vinterior] = vinterior; Line 1289: //AddVehicle(vehicleID, Float:x, Float:y, Float , Float:angleex, color1, color2, adminonly=0, vinterior = 0, randspawn = 1)Line 1847: LinkVehicleToInterior(vehicleid,VehicleInfo[vehicleid][Vinterior]); Line 1886: if(!VehicleInfo[vehicleid][Vinterior] && IsVehicleConnected(vehicleid) && RandomVehicle[vehicleid][v_goto] == 0) Re: Vehicle Destroyal - Jay - 07-08-2009 ty Re: Vehicle Destroyal - Jay - 07-11-2009 When you get a chance could you search for ShowPlayerNameTagForPlayer (637) Thanks. Re: Vehicle Destroyal - Matthias - 07-12-2009 Search "ShowPlayerNameTagForPlayer" (22 hits in 14 files) G:\Matthias (Backup)\SAMP\Las Venturas Playground\LVP\development\Commands\Moderator.pwn (1 hits) Line 73: ShowPlayerNameTagForPlayer(i, playerid, 1); G:\Matthias (Backup)\SAMP\Las Venturas Playground\LVP\development\Commands\ModeratorNew.pwn (1 hits) Line 36: ShowPlayerNameTagForPlayer(i, playerid, 1); G:\Matthias (Backup)\SAMP\Las Venturas Playground\LVP\development\Commands\Administrator.pwn (4 hits) Line 1955: ShowPlayerNameTagForPlayer( i, iPlayerID, 1 ); Line 1956: ShowPlayerNameTagForPlayer( iPlayerID, i, 1 ); Line 4499: ShowPlayerNameTagForPlayer(i, playerid, 0); Line 4506: ShowPlayerNameTagForPlayer(j, playerid, 1); G:\Matthias (Backup)\SAMP\Las Venturas Playground\LVP\development\Commands\General.pwn (2 hits) Line 4530: ShowPlayerNameTagForPlayer( i, playerid, 0 ); Line 4544: ShowPlayerNameTagForPlayer( i, playerid, 1 ); G:\Matthias (Backup)\SAMP\Las Venturas Playground\LVP\development\Minigames\Deathmatch\sniper.pwn (1 hits) Line 75: ShowPlayerNameTagForPlayer( b, playerid, 0 ); G:\Matthias (Backup)\SAMP\Las Venturas Playground\LVP\development\Minigames\Deathmatch\grenade.pwn (1 hits) Line 15: ShowPlayerNameTagForPlayer( b, playerid, 0 ); G:\Matthias (Backup)\SAMP\Las Venturas Playground\LVP\development\Minigames\Deathmatch\minigun.pwn (1 hits) Line 72: ShowPlayerNameTagForPlayer( b, playerid, 0 ); G:\Matthias (Backup)\SAMP\Las Venturas Playground\LVP\development\Minigames\Deathmatch\rocket.pwn (1 hits) Line 15: ShowPlayerNameTagForPlayer( b, playerid, 0 ); G:\Matthias (Backup)\SAMP\Las Venturas Playground\LVP\development\Minigames\Deathmatch\ShipTDM.pwn (4 hits) Line 55: ShowPlayerNameTagForPlayer( playerid, m_sTDM_Members[ iOtherTeamID ][ i ], 0 ); Line 56: ShowPlayerNameTagForPlayer( m_sTDM_Members[ iOtherTeamID ][ i ], playerid, 0 ); Line 196: ShowPlayerNameTagForPlayer( playerid, m_sTDM_Members[ iOtherTeamID ][ i ], 1 ); Line 197: ShowPlayerNameTagForPlayer( m_sTDM_Members[ iOtherTeamID ][ i ], playerid, 1 ); G:\Matthias (Backup)\SAMP\Las Venturas Playground\LVP\development\Minigames\MinigamesHandler.pwn (2 hits) Line 327: ShowPlayerNameTagForPlayer( b, playerid, 1 ); Line 397: ShowPlayerNameTagForPlayer( b, i, 1 ); G:\Matthias (Backup)\SAMP\Las Venturas Playground\LVP\development\lvp.amx (1 hits) Line 27: G:\Matthias (Backup)\SAMP\Las Venturas Playground\LVP\development\OnPlayerSpawn.pwn (1 hits) Line 105: for(new i=0; i<SLOTS; i++) if(IsPlayerConnected(i)) ShowPlayerNameTagForPlayer(i, playerid, 1); G:\Matthias (Backup)\SAMP\Las Venturas Playground\LVP\development\connections.pwn (1 hits) Line 104: ShowPlayerNameTagForPlayer(i, playerid, 1); //reset watch2 stuff G:\Matthias (Backup)\SAMP\Las Venturas Playground\LVP\development\a_samp.pwn (1 hits) Line 262: native ShowPlayerNameTagForPlayer(playerid, showplayerid, show); |