HELP : about somethings [ x,z,y ]
#6

Probably this ?

pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 2.0, 740.5068,-1332.7472,14.1702))
Edit: i got you!

I think you meant that who is near that van can type /healme?

pawn Код:
CMD:healme(playerid, params[])
{
    if(!IsPlayerInRangeOfPoint(playerid, 2.0, 740.5068,-1332.7472,14.1702)) return SendClientMessage(playerid, -1, "Your message");
    else
    {
        SetPlayerHealth(playerid, 100);
    }
    return 1;
}
pawn Код:
if(!strcmp(cmdtext, "/healme", true))
{
    if(!IsPlayerInRangeOfPoint(playerid, 2.0, 740.5068,-1332.7472,14.1702)) return SendClientMessage(playerid, -1, "Your message");
    else
    {
        SetPlayerHealth(playerid, 100);
    }
    return 1;
}
Reply


Messages In This Thread
HELP : about somethings [ x,z,y ] - by morocco - 17.04.2013, 23:40
Re: HELP : about somethings [ x,z,y ] - by SilverKiller - 17.04.2013, 23:49
Re : Re: HELP : about somethings [ x,z,y ] - by morocco - 17.04.2013, 23:55
Re: HELP : about somethings [ x,z,y ] - by SilverKiller - 17.04.2013, 23:58
Re : HELP : about somethings [ x,z,y ] - by morocco - 18.04.2013, 00:01
Re: HELP : about somethings [ x,z,y ] - by SilverKiller - 18.04.2013, 00:04
Re : Re: HELP : about somethings [ x,z,y ] - by morocco - 18.04.2013, 00:09

Forum Jump:


Users browsing this thread: 1 Guest(s)