[Ajuda] add id proximo
#1

alguem me ajuda a adiciona um valor na variavel dos ids que estao proximo de mim?


tentei assim mas n funciono

pawn Код:
new idproximo[MAX_PLAYERS];

forward idproximo(playerid);
public idproximo(playerid)
{
    new Float:x, Float:y, Float:z;
    GetPlayerPos(playerid, x, y, z);
    for(new i=0; i<MAX_PLAYERS;i++)
    {
        if(IsPlayerInRangeOfPoint(i, 10.0,  x, y, z)) {
            idproximo[i] = 1;
        }
    }
    return 1;
}
Reply


Messages In This Thread
add id proximo - by xGamminG - 01.06.2014, 15:38
Re: add id proximo - by MultiKill - 01.06.2014, 16:23
Re: add id proximo - by lKoDlFuLLaNNo - 01.06.2014, 17:58
Re: add id proximo - by WLSF - 01.06.2014, 18:05
Re: add id proximo - by lKoDlFuLLaNNo - 01.06.2014, 18:12
Re: add id proximo - by xGamminG - 01.06.2014, 18:24
Re: add id proximo - by lKoDlFuLLaNNo - 01.06.2014, 18:33
Re: add id proximo - by WLSF - 01.06.2014, 18:39
Re: add id proximo - by lKoDlFuLLaNNo - 01.06.2014, 20:23

Forum Jump:


Users browsing this thread: 2 Guest(s)