derby help
#3

For the respawn when the player falls into the water, you create a platform. You take the z position on the platform, you make a timer and you use GetPlayerPos and when the z position of the player is smaller than the z position of the platform you respawn the player.

Quote:

Example

Position z on the platform: 10.0

Timer (1 second ?)
-> GetPlayerPos(player, x, y, z);
-> if(z < 10.0) respawn player.

If the platform is not flat, you take the closest position of the water.
Reply


Messages In This Thread
derby help - by ScripteRNaBEEL - 29.08.2014, 05:27
Re: derby help - by Smileys - 29.08.2014, 09:34
Re : derby help - by MisterMania67 - 29.08.2014, 09:41
Re: derby help - by ScripteRNaBEEL - 29.08.2014, 10:37
Re: derby help - by nightday - 29.08.2014, 12:18

Forum Jump:


Users browsing this thread: 1 Guest(s)