CheckForPlayerPos
#10

Oh, yeah... Didn't see that you marked the line in the code. So you only have to replace that loop with this one:
pawn Код:
for(new h = 0; h < sizeof(ATMs); h++)
        {
        if(PlayerToPointStripped(1.0, playerid, Dealers[id][_x],Dealers[id][_y],Dealers[id][_z], cx, cy ,cz)) // line 6770
        {
        new info[28];
        ShadInfoBoxShowing[playerid] = 1;
        format(info, sizeof(info), "~g~/buyvehicle");
        TextDrawSetString(ShadInfoBox[playerid], info);
        TextDrawShowForPlayer(playerid, ShadInfoBox[playerid]);
        }
                }
And it should work.
Reply


Messages In This Thread
CheckForPlayerPos [+rep] - by WardenCS - 11.03.2012, 17:29
Re: CheckForPlayerPos - by WardenCS - 12.03.2012, 19:06
Re: CheckForPlayerPos - by MP2 - 12.03.2012, 19:14
Re: CheckForPlayerPos - by WardenCS - 12.03.2012, 19:42
Re: CheckForPlayerPos - by WardenCS - 13.03.2012, 16:56
Re: CheckForPlayerPos - by T0pAz - 13.03.2012, 17:03
Re: CheckForPlayerPos - by WardenCS - 13.03.2012, 17:24
Re: CheckForPlayerPos - by WardenCS - 14.03.2012, 12:02
Re: CheckForPlayerPos - by WardenCS - 18.03.2012, 20:07
Re: CheckForPlayerPos - by Joey^ - 18.03.2012, 22:28

Forum Jump:


Users browsing this thread: 2 Guest(s)