Help me pleaze
#2

I never worked on these actually, but reading a tutorial, I think you'd need a stock for the IsPlayerInArea.

Код:
IsPlayerInArea(playerid, Float:MinX, Float:MinY, Float:MaxX, Float:MaxY)
{
    new Float:X, Float:Y, Float:Z;

    GetPlayerPos(playerid, X, Y, Z);
    if(X >= MinX && X <= MaxX && Y >= MinY && Y <= MaxY) {
        return 1;
    }
    return 0;
}
Paste it on the bottom of the script. Also use [code] tags to display any code that you may have.

Cut it out from the OnPlayerUpdate...
Reply


Messages In This Thread
Help me pleaze - by [TDL]OGLoc - 17.02.2012, 23:18
Re: Help me pleaze - by HighFlyer - 17.02.2012, 23:22
Respuesta: Help me pleaze - by [TDL]OGLoc - 17.02.2012, 23:23
Re: Help me pleaze - by HighFlyer - 17.02.2012, 23:26
Respuesta: Help me pleaze - by [TDL]OGLoc - 17.02.2012, 23:46
Re: Help me pleaze - by HighFlyer - 17.02.2012, 23:50
Respuesta: Help me pleaze - by [TDL]OGLoc - 18.02.2012, 00:00
Re: Help me pleaze - by HighFlyer - 18.02.2012, 00:03
Respuesta: Help me pleaze - by [TDL]OGLoc - 18.02.2012, 00:12
Re: Help me pleaze - by HighFlyer - 18.02.2012, 00:21

Forum Jump:


Users browsing this thread: 1 Guest(s)