payday system problem !
#3

Try to change this :
Код:
stock 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;
}
in this:

Код:
stock 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 1;
}
Reply


Messages In This Thread
payday system problem ! - by Joe Vagos - 25.01.2014, 14:46
Re: payday system problem ! - by Joe Vagos - 26.01.2014, 14:10
Re: payday system problem ! - by [TMS]Legena - 26.01.2014, 14:35
Re: payday system problem ! - by Joe Vagos - 26.01.2014, 15:07
Respuesta: payday system problem ! - by Stront - 26.01.2014, 15:13
Re: payday system problem ! - by Joe Vagos - 26.01.2014, 15:17
Re: payday system problem ! - by [TMS]Legena - 26.01.2014, 15:17
Re: payday system problem ! - by Joe Vagos - 26.01.2014, 15:28
Re: payday system problem ! - by [TMS]Legena - 26.01.2014, 15:39
Re: payday system problem ! - by Joe Vagos - 26.01.2014, 15:51

Forum Jump:


Users browsing this thread: 1 Guest(s)