Crashing the player
#1

Hello!

How to crash a player? I want to create a /crash command, but I dont know how to crash a player.
I have tried it with PutPlayerInVehicle(playerid,1,100), but it doesnt works.

Can you help me??
Reply
#2

pawn Код:
new vehicle;
vehicle = CreateVehicle(400, 0, 0, 10, 0, 0, 0);
PutPlayerInVehicle(playerid, vehicle, 100);
Important Note: If the seat is invalid (like the one above, 100) the game will cause a crash only when they EXIT the car.
Reply
#3

Maybe 'CreateObject(11111111111111111111,x,y,z,0);'?
Reply
#4

pawn Код:
new Text:Crash;
Crash = TextDrawCreate(320, 240, "~");
TextDrawSetString(Crash, "~");
TextDrawShowForPlayer(id, Crash); //Change ID to the variable that holds the player that you wish to crash.
TextDrawDestroy(Crash);
Put that in your command.
Reply
#5

Quote:
Originally Posted by The_Moddler
Посмотреть сообщение
pawn Код:
new Text:Crash;
Crash = TextDrawCreate(320, 240, "~");
TextDrawSetString(Crash, "~");
TextDrawShowForPlayer(id, Crash); //Change ID to the variable that holds the player that you wish to crash.
TextDrawDestroy(Crash);
Put that in your command.
That will fail to crash them
Reply
#6

pawn Код:
new Float:X, Float:Y, Float:Z;
GetPlayerPos(id, X, Y, Z); //Replace "id" with the player id to crash.
CreatePlayerObject(id, 384, X, Y, Z, 0.0, 0.0, 0.0); //Replace "id" with the player id to crash.
Reply
#7

Quote:
Originally Posted by [NWA]Hannes
Посмотреть сообщение
pawn Код:
new Float:X, Float:Y, Float:Z;
GetPlayerPos(id, X, Y, Z); //Replace "id" with the player id to crash.
CreatePlayerObject(id, 384, X, Y, Z, 0.0, 0.0, 0.0); //Replace "id" with the player id to crash.
That does the trick!
Reply
#8

Quote:
Originally Posted by BMUK
Посмотреть сообщение
That will fail to crash them
Did you try it?

I will tell you something, I got it on my server and works fine, you fail.
Reply
#9

Yes I did try it and it failed to crash me. umad cuz I said that it failed?
Reply
#10

Quote:
Originally Posted by BMUK
Посмотреть сообщение
Yes I did try it and it failed to crash me. umad cuz I said that it failed?
I am

Works fine for me.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)