Table Problem
#3

Thanks worked

Textdraw shows only 1 name
the first one
Код:
for(new i; i < MAX_PLAYERS; i++)
        {
             new tmpid = IsPlayerInBiz(playerid), tmpf[80];
             format(tmpf, sizeof(tmpf), "%s.txt", biz[tmpid][bizname]);
            if(!IsPlayerConnected(i)) continue;
            if(!IsPlayerInRangeOfPoint(i, 20.0, rPos[0], rPos[1], rPos[2])) continue;
            if(PlayerInfo[i][playerteam] != PlayerInfo[playerid][playerteam]) continue;
			
			new cashrobbing = dini_Int(tmpf,"bizcash")/ 5;
	        SetPVarInt(playerid, "robbingtime", GetPVarInt(playerid, "robbingtime") + 1 );

			new tst[500];
			format(tst,sizeof(tst),"Robbers:~n~%s~n~%s",tst,RPName(i));
			TextDrawSetString(robbTDD1[playerid],tst);
			TextDrawShowForPlayer(i,robbTDD1[playerid]);
		}
Reply


Messages In This Thread
Table Problem - by ThatFag - 23.08.2016, 21:25
Re: Table Problem - by Shinja - 23.08.2016, 21:28
Re: Table Problem - by ThatFag - 23.08.2016, 22:57
Re: Table Problem - by Shinja - 23.08.2016, 23:01
Re: Table Problem - by ThatFag - 24.08.2016, 01:06
Re: Table Problem - by Shinja - 24.08.2016, 01:12

Forum Jump:


Users browsing this thread: 1 Guest(s)