11.05.2011, 22:13
heey guys
I made this:
But when i login players online is good but your id is wrong:S
Pls help
Admigo
I made this:
Код:
forward OnlineUpdate(playerid);
public OnlineUpdate(playerid)
{
new string[200];
new count = -6;
for(new v; v < MAX_PLAYERS; ++v)
{
if(IsPlayerConnected(v))
{
++count;
}
}
format(string,sizeof(string),"Players Online:%d Your ID:%d",count,playerid);
TextDrawSetString(Online,string);
return 1;
}
Pls help
Admigo


