Players count Fs Help!!
#1

Hello Guys ,anyone Have an online Players count [Fs] Or can tell me how to make it
Exm: Players Online: 13/20 like in photo
Reply
#2

Use foreach
and use Iter_Count(Player)
Reply
#3

Pretty easy, that's pseudo code!:

PHP код:
new players 0
public 
OnPlayerConnect(...) 

    
players++;
    
updateYourTextDraw;

public 
OnPlayerDisconnect(...) 

    
players--;
    
updateYourTextDraw;

updateYourTextDraw()
{
    new 
playerString[30];
    
format(playerString30"Players %d/MAX"players);
    
TextDrawSetString(yourTextDrawplayerString);  

Reply
#4

how i can add my text draw ?
please explain more couse idk anything about textdraw
Reply
#5

Read it up on the wikipedia , it's not difficult
Reply
#6

bro you can make it? for me?
Reply
#7

I am not your scripter, and i am not willing to make that , sry, you should put some effort into it if you want it to be done
Reply
#8

iam not said you are my scripter but u must help me if i need more help or give me link of that site to learn it
Reply
#9

The links/things you need:

https://sampwiki.blast.hk/

http://forum.sa-mp.com/

https://******.com/

and brain.exe
Reply
#10

-_- -_-
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)