24.08.2018, 22:22
Galera, criei um rodapй aqui, porйm as textdraws nгo estгo aparecendo.
OnPlayerConnect:
OnPlayerDisconnect:
TextDraws:
OnPlayerConnect:
Quote:
TextDrawShowForPlayer(playerid, ro1); TextDrawShowForPlayer(playerid, ro2); TextDrawShowForPlayer(playerid, ro3); TextDrawShowForPlayer(playerid, ro4); TextDrawShowForPlayer(playerid, ro5); TextDrawShowForPlayer(playerid, ro6); TextDrawShowForPlayer(playerid, ro7); TextDrawShowForPlayer(playerid, ro; TextDrawShowForPlayer(playerid, ro9); TextDrawShowForPlayer(playerid, ro10); TextDrawShowForPlayer(playerid, ro11); TextDrawShowForPlayer(playerid, ro12); |
Quote:
TextDrawHideForPlayer(playerid, ro1); TextDrawHideForPlayer(playerid, ro2); TextDrawHideForPlayer(playerid, ro3); TextDrawHideForPlayer(playerid, ro4); TextDrawHideForPlayer(playerid, ro5); TextDrawHideForPlayer(playerid, ro6); TextDrawHideForPlayer(playerid, ro7); TextDrawHideForPlayer(playerid, ro; TextDrawHideForPlayer(playerid, ro9); TextDrawHideForPlayer(playerid, ro10); TextDrawHideForPlayer(playerid, ro11); TextDrawHideForPlayer(playerid, ro12); return 1; |
Quote:
ro1 = TextDrawCreate(641.529418, 423.250000, "usebox"); TextDrawLetterSize(ro1, 0.000000, 2.535187); TextDrawTextSize(ro1, -2.000000, 0.000000); TextDrawAlignment(ro1, 1); TextDrawColor(ro1, 0); TextDrawUseBox(ro1, true); TextDrawBoxColor(ro1, 170); TextDrawSetShadow(ro1, 0); TextDrawSetOutline(ro1, 0); TextDrawFont(ro1, 0); ro2 = TextDrawCreate(10.823518, 428.749969, "ID:"); TextDrawLetterSize(ro2, 0.449999, 1.600000); TextDrawAlignment(ro2, 1); TextDrawColor(ro2, -16776961); TextDrawSetShadow(ro2, 0); TextDrawSetOutline(ro2, 0); TextDrawBackgroundColor(ro2, 51); TextDrawFont(ro2, 1); TextDrawSetProportional(ro2, 1); ro3 = TextDrawCreate(127.529457, 428.166564, "R$:"); TextDrawLetterSize(ro3, 0.449999, 1.600000); TextDrawAlignment(ro3, 1); TextDrawColor(ro3, 8388863); TextDrawSetShadow(ro3, 0); TextDrawSetOutline(ro3, 1); TextDrawBackgroundColor(ro3, 51); TextDrawFont(ro3, 1); TextDrawSetProportional(ro3, 1); ro4 = TextDrawCreate(255.048370, 428.166595, "NICK:"); TextDrawLetterSize(ro4, 0.449999, 1.600000); TextDrawAlignment(ro4, 1); TextDrawColor(ro4, -65281); TextDrawSetShadow(ro4, 0); TextDrawSetOutline(ro4, 1); TextDrawBackgroundColor(ro4, 51); TextDrawFont(ro4, 1); TextDrawSetProportional(ro4, 1); ro5 = TextDrawCreate(406.824035, 428.166748, "LEVEL:"); TextDrawLetterSize(ro5, 0.449999, 1.600000); TextDrawAlignment(ro5, 1); TextDrawColor(ro5, 65535); TextDrawSetShadow(ro5, 0); TextDrawSetOutline(ro5, 1); TextDrawBackgroundColor(ro5, 51); TextDrawFont(ro5, 1); TextDrawSetProportional(ro5, 1); ro6 = TextDrawCreate(553.411193, 427.583251, "VIP:"); TextDrawLetterSize(ro6, 0.449999, 1.600000); TextDrawAlignment(ro6, 1); TextDrawColor(ro6, -2147450625); TextDrawSetShadow(ro6, 0); TextDrawSetOutline(ro6, 1); TextDrawBackgroundColor(ro6, 51); TextDrawFont(ro6, 1); TextDrawSetProportional(ro6, 1); ro7 = TextDrawCreate(503.058441, 394.917114, "www.brasilcidadevirtual.tk"); TextDrawLetterSize(ro7, 0.264588, 1.535833); TextDrawAlignment(ro7, 1); TextDrawColor(ro7, 16777215); TextDrawSetShadow(ro7, 0); TextDrawSetOutline(ro7, 1); TextDrawBackgroundColor(ro7, 51); TextDrawFont(ro7, 3); TextDrawSetProportional(ro7, 1); ro8 = TextDrawCreate(39.999992, 428.166687, "%d", i); TextDrawLetterSize(ro8, 0.449999, 1.600000); TextDrawAlignment(ro8, 1); TextDrawColor(ro8, -1); TextDrawSetShadow(ro8, 0); TextDrawSetOutline(ro8, 1); TextDrawBackgroundColor(ro8, 51); TextDrawFont(ro8, 1); TextDrawSetProportional(ro8, 1); ro9 = TextDrawCreate(160.941192, 427.583251, "%d", GetPlayerGrana(i)); TextDrawLetterSize(ro9, 0.449999, 1.600000); TextDrawAlignment(ro9, 1); TextDrawColor(ro9, -1); TextDrawSetShadow(ro9, 0); TextDrawSetOutline(ro9, 1); TextDrawBackgroundColor(ro9, 51); TextDrawFont(ro9, 1); TextDrawSetProportional(ro9, 1); ro10 = TextDrawCreate(306.823608, 427.583374, "%s", aname); TextDrawLetterSize(ro10, 0.449999, 1.600000); TextDrawAlignment(ro10, 1); TextDrawColor(ro10, -1); TextDrawSetShadow(ro10, 0); TextDrawSetOutline(ro10, 1); TextDrawBackgroundColor(ro10, 51); TextDrawFont(ro10, 1); TextDrawSetProportional(ro10, 1); ro11 = TextDrawCreate(461.647186, 427.583312, "%d", dini_Int(file, "Level")); TextDrawLetterSize(ro11, 0.449999, 1.600000); TextDrawAlignment(ro11, 1); TextDrawColor(ro11, -1); TextDrawSetShadow(ro11, 0); TextDrawSetOutline(ro11, 1); TextDrawBackgroundColor(ro11, 51); TextDrawFont(ro11, 1); TextDrawSetProportional(ro11, 1); ro12 = TextDrawCreate(591.999572, 427.000061, "%s", viptext); TextDrawLetterSize(ro12, 0.449999, 1.600000); TextDrawAlignment(ro12, 1); TextDrawColor(ro12, -1); TextDrawSetShadow(ro12, 0); TextDrawSetOutline(ro12, 1); TextDrawBackgroundColor(ro12, 51); TextDrawFont(ro12, 1); TextDrawSetProportional(ro12, 1); |