Dm zones help!
#1

Ok so i'm making DM zones and i have a small bug. I make it when somone type /kill it will not be in the DM zone's..

Under OnPlayerSpawn
public OnPlayerSpawn(playerid)
{
DMZone[playerid] = 0;
__________________________________________________ ________________________________________________

What's wrong when i'll be on a dm and i type /kill It says stay within world boundires.

P.S sorry for my bad english :S
Reply
#2

Maybe this :
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
  if(DMZone[playerid] == 1)
  {
    DMZone[playerid] = 0;
  }
  return 1;
}
Reply
#3

kk i will try it
Reply
#4

Quote:
Originally Posted by ViruZZzZ_ChiLLL
Посмотреть сообщение
Maybe this :
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
  if(DMZone[playerid] == 1)
  {
    DMZone[playerid] = 0;
  }
  return 1;
}
Doesn't work same problem
Reply
#5

I guess you set some world boundries for the DM zone. Remove them (SetPlayerWorldBounds(playerid, 20000.0, -20000.0, 20000.0, -20000.0)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)