If a player dies, all players are aperently dead?

Ok, i got a minigame in my server, when i player dies, they leave the minigame, but if someone is still in it, they leave the world, weather and time changes, but there aperently still in the minigame?

Minigames name, is warzone, type /warzone your world changes to world 2, your weather and time are changed to 32 and 23,
if a player dies in the warzone, they are kicked out.
but if your the one who kills the player, your time and weather change to normal, and your back in world 0,
but when another player joins the warzone, weather and time are fixed, and your back in the world??

how do i fix this?

(if code is needed please ask)

I think you got playerid and killerid mixed up, but can't really say for sure without seeing the code

public OnPlayerDeath(playerid, killerid, reason)
MiniGame[playerid] = 0;
WARZONE[playerid] = 0;
return 1;
my hole onplayerdeath.

Forum Jump:

Users browsing this thread: 1 Guest(s)