Check if a player has crashed with an object.
#1

How to check if a player has crashed with an object? Let's say buildings, walls etc..
Reply
#2

You can only really check if a player has disconnected because of a timeout, you can't detect whether they have been disconnected because of an object or opcode.

https://sampwiki.blast.hk/wiki/OnPlayerDisconnect
Reply
#3

This is a misunderstand.
I meant.
When a player is going at 100km/h and he collides with a wall, object.
How to check it?
Thanks in advance
Reply
#4

Can someone help me please?
Reply
#5

Get a player's speed then check if it suddenly decreases a lot (near 0) - using e.g. OnPlayerUpdate and GetPlayerVelocity
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)