vip area
Moderator: Moderatori
Re: vip area
nekas nesanāca
varbūt kāds var pateikt ko daru nepareizi ??


Code: Select all
public isPlayerInArea()
{
new Float:X, Float:Y, Float:Z; //We use this to store player position
for(new i=0; i = -3772 && Y = -277)
/* This line is the important one!. Here, is where you change those numbers, by the ones
you get from the /pos command. As you can see, those coordinates, are only the X and Y ones, the Z
doesnt matter*/
if(PlayerInfo[i][pLevel] < 5) return DenyMessage(i, 5);
{
SetPlayerHealth(i, -999999.9); //This will ensure, that our player gets killed if he tries to enter
}
}
}