[Tutorial] How to crash player's client
#1

Hello, may people are searching for a reliable way of crashing player's client.
Here is the very simple function.

pawn Code:
stock CrashClient(playerid)
{
if(!IsPlayerConnected(playerid)) return false;
return GameTextForPlayer(playerid, "~k~~INVALID_KEY~", 100, 4);
}
What it does: Game texts are able to show how your controller is set, simply said. For example: When you have the number 8 at the numpad set as KEY_UP, GameTextForPlayer(id, "~k~~KEY_UP~", x, x2) shows "NUM 8" or your screen. But if you use invalid key name (it can be anything that doesn't exist, INVALID_KEY is used for better understanding), the client will crash.


I hope you like my simple tutorial, everybody must understand this, but, please, do not misuse this function for crashing player's clients for fun
Reply
#2

How could this be used in a positive way?
Reply
#3

Quote:
Originally Posted by SmithyComp
View Post
How could this be used in a positive way?
To crash annoying players, for example
Reply
#4

Nice
Reply
#5

What about just kicking / banning the annoying person..?
Reply
#6

Quote:
Originally Posted by -Luis
View Post
What about just kicking / banning the annoying person..?
Yeah, but it is just a tutorial, I did it because I have heard many people asking for it.
Reply
#7

This is stupid...
Reply
#8

It's a good way to get rid of these faggots that have auto-reconnect. You kick them and they instantly reconnect without having to close their game.
Reply
#9

Yeah this is useful to get rid of annoying players, because when they get kicked they laugh, but when they get crashed they get mad, also this could be used to test an Anti-Crash System.

Good Job!
Reply
#10

Good Job!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)