How to check when a player touch an object?

Started by King, Jul 04, 2016, 09:14 AM

Previous topic - Next topic

King

I made a derby and when a player falls on the floor he must die , Events like Onplayermove and Ontimechange seems like a bad way to code. So i want to make a invisible pickup and when player falls on it he must die. how to make a invisible pickup, is there a better way than this?

Xmair

Use onPlayerExitVehicle or onObjectBumped.

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD

King

#2
OnObjectBump not working properly. Does big objects like 2014 wont work?

KAKAN

I don't there is any bug with the current function. If there is, then use a 500ms timer, that won't lag unless you do some serious stuff with it.
oh no