18.04.2013, 14:46
Como faзo uma igual essa so que com Level/Casa/Horas Jogadas/ORG
Video: https://www.youtube.com/watch?v=OmUGpkjQlBI
Video: https://www.youtube.com/watch?v=OmUGpkjQlBI
Para Criar os TEXT:
https://sampforum.blast.hk/showthread.php?tid=117851 e estude estб Funзгo: https://sampwiki.blast.hk/wiki/TextDrawSetString |
Nгo entedir muito a ultima funзгo. tem como fazer o comando prб mim?
|
new Text:BarraPretaForum, Text:TLevel;
forward TextDrawLevel;
TLevel= TextDrawCreate(3.000000, 430.000000, "-");
TextDrawBackgroundColor(TLevel, 255);
TextDrawFont(TLevel, 0);
TextDrawLetterSize(TLevel, 0.5, 2.0);
TextDrawColor(TLevel, -1);
TextDrawSetOutline(TLevel, 1);
TextDrawSetProportional(TLevel, 1);
TextDrawSetShadow(TLevel, 1);
BarraPretaForum = TextDrawCreate(0.000000, 428.000000, "~n~ ~n~"); // Barra Preta
TextDrawBackgroundColor(BarraPretaForum, 255);
TextDrawFont(BarraPretaForum, 1);
TextDrawLetterSize(BarraPretaForum, 0.500000, 2.000000);
TextDrawColor(BarraPretaForum, -1);
TextDrawSetOutline(BarraPretaForum, 2);
TextDrawSetProportional(BarraPretaForum, 1);
TextDrawSetShadow(BarraPretaForum, 1);
TextDrawUseBox(BarraPretaForum, 1);
TextDrawBoxColor(BarraPretaForum, 151587227);
TextDrawTextSize(BarraPretaForum, 640.000000, -240.000000);
public TextDrawLevel(playerid);
{
new cLevel[128];
format(cLevel, sizeof(cLevel), "Level: %d", PlayerInfo[playerid][pLevel]);
TextDrawSetString(playerid, TLevel, cLevel);
}
OnPlayerSpawn.
TextDrawShowForPlayer(playerid, TLevel); TextDrawLevel(playerid);