PD cars and car that is in the impound spawnrandomly somewhere else!? -
Don_Cage - 12.03.2013
Hello, sometimes the cars in PD garage just randomly respawn themself and spawn like just 5 meters away, all cars spawn inside eachoter and they start to explode, same with the cars that is in the impound that we have parked with /impoundcar, at first i thougt it was a hacker but it still happens sometimes when im all alone on the server!? What could couse this!? it started some days ago, i dont remember exactly when but i really want to find out why they are doing so!? Nothing about pd cars is changed and no other faction cars does like that.
Re: PD cars and car that is in the impound spawnrandomly somewhere else!? -
Mitchy - 12.03.2013
Hmm, can i see a script?
Re: PD cars and car that is in the impound spawnrandomly somewhere else!? -
Don_Cage - 12.03.2013
Wich part you wanna see?
Re: PD cars and car that is in the impound spawnrandomly somewhere else!? -
Don_Cage - 12.03.2013
Is there any plugin that can cause this problem if its not updated ?
Re: PD cars and car that is in the impound spawnrandomly somewhere else!? -
TheArcher - 12.03.2013
maybe, you don't destroy the cars before they respawn.
Re: PD cars and car that is in the impound spawnrandomly somewhere else!? -
Don_Cage - 12.03.2013
I use this command to respawn ALL cars, shouldnt that destroy the PD cars too?
pawn Код:
if(strcmp(cmd, "/respawnallcars", true) == 0 || strcmp(cmd, "/carreset", true) == 0) // by LordMan
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pAdmin] < 4)
{
SendClientMessage(playerid, COLOR_GRAD1, "** you are not authorized to use that command!");
return 1;
}
new bool:unwanted[MAX_VEHICLES];
for(new player=0; player<MAX_PLAYERS; player++)
{
if(IsPlayerInAnyVehicle(player)) { unwanted[GetPlayerVehicleID(player)]=true; }
}
for(new car = 1; car <= 1850; car++)
{
if(!unwanted[car]) SetVehicleToRespawn(car);
}
format(string, sizeof(string), "SERVER: All unused cars respawned by %s.", sendername);
BroadCast(COLOR_WHITE,string);
format(string, sizeof(string), "[ADMIN]: %s has Respawned All Cars.", sendername);
ABroadCast(COLOR_LIGHTRED,string, 5);
GameTextForAll("~w~Every Unused Car ~n~~g~Respawned!",5000,1);
new y, m, d;
new h,mi,s;
getdate(y,m,d);
gettime(h,mi,s);
format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] %s Has Respawned All Unused Cars",d,m,y,h,mi,s,sendername);
AdminLog(string);
}
return 1;
}
Re: PD cars and car that is in the impound spawnrandomly somewhere else!? -
Don_Cage - 13.03.2013
I still got this problem even tho i changed to MAX_VEHICLES like you said on skype
Re: PD cars and car that is in the impound spawnrandomly somewhere else!? -
Don_Cage - 14.03.2013
bump
Re: PD cars and car that is in the impound spawnrandomly somewhere else!? -
Don_Cage - 15.03.2013
bump