[Ajuda] PLayers on
#1

Fiz um textdraw e quero por para pegar os players on e mostrar como faзo esse looping dos players on?
Reply
#2

PHP код:
new online;
for(new 
iMAX_PLAYERS+1i++)
{
    if(
IsPlayerConnected(i))
    {
        
online++;
    }

Reply
#3

Quote:
Originally Posted by IlanZ
Посмотреть сообщение
PHP код:
new online;
for(new 
iMAX_PLAYERS+1i++)
{
    if(
IsPlayerConnected(i))
    {
        
online++;
    }

e pra vincular com a textdraw?
Reply
#4

Use TextDrawShowForAll
PHP код:
new Text:textid TextDrawCreate(100.0100.0"Texto");
TextDrawShowForAll(textid); 
Reply
#5

TextDrawSetString, tem na wiki.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)