IsPlayerInArea nao ta indo, o q ta errado??
#10

Troque sua stock por esta:

pawn Код:
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 && y >= miny && x <= maxx && y <= maxy) return true;
    else return false;
}
Espero ter ajudado
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)