Player ID Listed in TextDraw?
#2

I didn't tested, but you can do something like this:

PHP код:
public sync()
{
    new 
ids[64][2];
    foreach(
Player,i)
    {
        switch(
GetPlayerTeam(i))
        {
            case 
.. 1:
            {
                
format(ids[i], 64,"%d~n~%s"iids[i]);
            }
        }
    }
    
format(syncstring,sizeof(syncstring),"TEAM ZERO IDS~n~%s~n~",ids[0]);
    
TextDrawSetString(TextDraw[0],syncstring);
    
format(syncstring,sizeof(syncstring),"TEAM ONE IDS~n~%s~n~",ids[1]);
    
TextDrawSetString(TextDraw[1],syncstring);
    return 
1;

Reply


Messages In This Thread
Player ID Listed in TextDraw? - by kanerandyfirst - 20.09.2016, 13:44
Re: Player ID Listed in TextDraw? - by ReshiramZekrom - 20.09.2016, 16:00
Re: Player ID Listed in TextDraw? - by kanerandyfirst - 21.09.2016, 13:11
Re: Player ID Listed in TextDraw? - by ReshiramZekrom - 21.09.2016, 14:08
Re: Player ID Listed in TextDraw? - by kanerandyfirst - 21.09.2016, 14:11
Re: Player ID Listed in TextDraw? - by ReshiramZekrom - 21.09.2016, 14:20
Re: Player ID Listed in TextDraw? - by kanerandyfirst - 21.09.2016, 14:47
Re: Player ID Listed in TextDraw? - by ReshiramZekrom - 21.09.2016, 14:54
Re: Player ID Listed in TextDraw? - by kanerandyfirst - 21.09.2016, 15:30
Re: Player ID Listed in TextDraw? - by ReshiramZekrom - 21.09.2016, 18:31

Forum Jump:


Users browsing this thread: 2 Guest(s)