derby help
#1

i want to make a cmd with derby when players join by typing /derby if any one want to leave cannt with any other cmd have to leave with /exit cmd when they fall in water they get respawn to their place can any one help me with this?
Reply
#2

make a command to teleport the player to the derby arena, set a per-player boolean to true when the player is in the arena.

as for the water, check if the player is below a certain height, if the player is, respawn them, else don't.

I can't show you any code examples atm as I'm on my phone right now.
Reply
#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
#4

can any one give me ex. of that cmd....
Reply
#5

Check Your Skype To i Will Give u i Cant Give Here To its Big
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)