If a player dies, all players are aperently dead?
#1

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?

Example
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)
Reply
#2

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

Код:
public OnPlayerDeath(playerid, killerid, reason)
{
MiniGame[playerid] = 0;
WARZONE[playerid] = 0;
ResetPlayerWeapons(playerid);
return 1;
}
my hole onplayerdeath.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)