23.07.2011, 16:09
Galera gostaria de criar um TextDraw Que aparecesse assim PlayersOn: ai aparece a quantidade de players online eu jб tenho a base de tudo mais nгo consigo fazer vou postar a Check que faiz checar quantos players tem Online feito por Shadoww5 e o TextDraw
Код:
Textdraw07 = TextDrawCreate(515.000000, 437.000000, " PlayersOn:"); TextDrawBackgroundColor(Textdraw07, 255); TextDrawFont(Textdraw07, 1); TextDrawLetterSize(Textdraw07, 0.300000, 1.000000); TextDrawColor(Textdraw07, 16711935); TextDrawSetOutline(Textdraw07, 0); TextDrawSetProportional(Textdraw07, 1); TextDrawSetShadow(Textdraw07, 1); TextDrawUseBox(Textdraw07, 1); TextDrawBoxColor(Textdraw07, 255); TextDrawTextSize(Textdraw07, 640.000000, 3.000000);
Код:
stock Check() { new players; for(new i = 0; i < MAX_PLAYERS; i ++) { if(IsPlayerConnected(i)) players++; } return players; }