SA-MP Forums Archive
Players game crash in same area - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Players game crash in same area (/showthread.php?tid=91281)



Players game crash in same area - Stunterz - 13.08.2009

Hi, on my server there is an area that you go in and you crash, for no reason, you just crash, the server dosnt take any damage, keeps running, but peoples games just keep on crashing, i have tryed so much to stop this, but i cant find any way round it, please help
Thanks


Re: Players game crash in same area - Stunterz - 14.08.2009

Update, the area in whitch you crash seems to have got bigger


Re: Players game crash in same area - hab18 - 14.08.2009

you got enny objects in thath area?


Re: Players game crash in same area - Stunterz - 14.08.2009

Quote:
Originally Posted by hab4ever[xXx
]
you got enny objects in thath area?
Yes, we have about 5 objects in that area


Re: Players game crash in same area - XtremeChio - 14.08.2009

So basically you crash while just driving or when you type a command..When you're the only one on the server or when there are many people ?

Copy the lines of those objects and put them somewhere, then delete them. If you still crash, good, if not then put them back and we'll try to help more.


Re: Players game crash in same area - Stunterz - 14.08.2009

Quote:
Originally Posted by XtremeChio
So basically you crash while just driving or when you type a command..When you're the only one on the server or when there are many people ?

Copy the lines of those objects and put them somewhere, then delete them. If you still crash, good, if not then put them back and we'll try to help more.
Hi, you just drive past the area or thorugh the area and you crash.


Re: Players game crash in same area - JoeShk - 14.08.2009

maybe u'have a vehicle / object with worng ID, check u'r mode without the vehicles + objects.

more option:

Quote:

stock AddStaticVehicleEx(modelid,Float,Float:y,Float:z ,Float:a,color1,color2)
{
assert modelid >= 400 || modelid <= 611;
CreateVehicle(modelid,x,y,z,a,color1,color2);
return 1;
}
#define AddStaticVehicle AddStaticVehicleEx

put it in u'r mode, put near the defines.


Re: Players game crash in same area - Stunterz - 14.08.2009

ok, what do you mean by that, and ID thats buggy, or a ID that dosnt exist? :P


Re: Players game crash in same area - JoeShk - 14.08.2009

Ops, i have a worng at the Code, take the Repair Code:

Quote:

stock AddStaticVehicleEx(modelid,Float,Float:y,Float:z ,Float:a,color1,color2)
{
assert modelid >= 400 || modelid <= 611;
AddStaticVehicle(modelid,x,y,z,a,color1,color2);
return 1;
}
#define AddStaticVehicle AddStaticVehicleEx




Re: Players game crash in same area - Stunterz - 14.08.2009

Fixed it, i removed an object pack next to it, and it stopped, so idk what happened.. oh well ,ty :P