18.06.2011, 04:27
Well a simple way to crash the server, if this is what your asking, is off the top of my head doing this:
Setting a players name to blank WILL crash the server.
------------------------------------------------------
Doing it in another way would be an array out of bounds (but I think this is caught):
Causing an array out of bounds exception WILL crash the server (or not execute any code done after this)
------------------------------------------------------
Otherwise, I think all scripting errors are caught, only SA-MP natives will crash the server.
Код:
SetPlayerName(dummyid, "");
------------------------------------------------------
Doing it in another way would be an array out of bounds (but I think this is caught):
Код:
new dummyvar; new dummyarray[12]; dummyvar = dummyarray[12];
------------------------------------------------------
Otherwise, I think all scripting errors are caught, only SA-MP natives will crash the server.