[FilterScript] Text Draw's Divulgador e Que Mostra Ping
#1

Fala Galera To Trazendo Aqui duas FilterScript


A primeira й Text Draw que Fica do Lado Direito Da Tela Bom pra Divulgar sites e gangs

Print
http://i.imgur.com/y9mzBg1.png

pastebin
baixar


o segundo й um que mostra o ping e o score


Print
http://i.imgur.com/vuyYXFU.png

pastebin
baixar


TextDrawCreate -> COORDENADAS E NOME DO TEXT DRAW
TextDrawAlignment -> ALINHAMENTO
TextDrawBackgroundColor -> COR DE FUNDO
TextDrawFont -> FONTE
TextDrawLetterSize -> TAMANHO
TextDrawColor -> COR DO TEXT
Reply
#2

Bem legal , mais nгo precisa de um update constantemente
no ping do jogador ? Desculpe se eu estiver errado , nunca trabalhei com Text Draw's...
Reply
#3

Quote:
Originally Posted by darkxdll
Посмотреть сообщение
Bem legal , mais nгo precisa de um update constantemente
no ping do jogador ? Desculpe se eu estiver errado , nunca trabalhei com Text Draw's...
sim pelo pouco que eu aprendi acho que coloquei
Reply
#4

simples mas para iniciante fico bom parabens
Reply
#5

Quote:
Originally Posted by MonFiTy
Посмотреть сообщение
simples mas para iniciante fico bom parabens
Vlw Brigado
Reply
#6

Ata agora que vi que sгo 2 textdraw's diferentes kkkk achei que estavam juntos no primeiro link ...
x)...
Bem bacana estes Tds
Reply
#7

pawn Код:
Textdraw0[playerid] = CreatePlayerTextDraw(playerid, 498.398, 100.799, "Score - -=-");
    PlayerTextDrawAlignment(playerid, Textdraw0[playerid], 1);
    PlayerTextDrawColor(playerid, Textdraw0[playerid], -7601921);
    PlayerTextDrawSetOutline(playerid, Textdraw0[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, Textdraw0[playerid], 51);
    PlayerTextDrawFont(playerid, Textdraw0[playerid], 3);
    PlayerTextDrawSetProportional(playerid, Textdraw0[playerid], 1);
    PlayerTextDrawShow(playerid, Textdraw0[playerid]);
    Textdraw1[playerid] = CreatePlayerTextDraw(playerid, 497.600, 120.212, "Ping - -=- ms");
    PlayerTextDrawAlignment(playerid, Textdraw1[playerid], 1);
    PlayerTextDrawColor(playerid, Textdraw1[playerid], -1);
    PlayerTextDrawSetOutline(playerid, Textdraw1[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, Textdraw1[playerid], 51);
    PlayerTextDrawFont(playerid, Textdraw1[playerid], 3);
    PlayerTextDrawSetProportional(playerid, Textdraw1[playerid], 1);
    PlayerTextDrawShow(playerid, Textdraw1[playerid]);
    updatetimer[playerid] = SetTimerEx("update", 1000, true, "d", playerid);

Erros:
Код:
Servidor SA-MP\gamemodes\gmofficial.pwn(131) : error 017: undefined symbol "playerid"
Servidor SA-MP\gamemodes\gmofficial.pwn(131) : warning 213: tag mismatch
Servidor SA-MP\gamemodes\gmofficial.pwn(132) : error 017: undefined symbol "PlayerTextDrawAlignment"
Servidor SA-MP\gamemodes\gmofficial.pwn(133) : error 017: undefined symbol "PlayerTextDrawColor"
Servidor SA-MP\gamemodes\gmofficial.pwn(134) : error 017: undefined symbol "PlayerTextDrawSetOutline"
Servidor SA-MP\gamemodes\gmofficial.pwn(135) : error 017: undefined symbol "PlayerTextDrawBackgroundColor"
Servidor SA-MP\gamemodes\gmofficial.pwn(136) : error 017: undefined symbol "PlayerTextDrawFont"
Servidor SA-MP\gamemodes\gmofficial.pwn(137) : error 017: undefined symbol "PlayerTextDrawSetProportional"
Servidor SA-MP\gamemodes\gmofficial.pwn(138) : error 017: undefined symbol "PlayerTextDrawShow"
Servidor SA-MP\gamemodes\gmofficial.pwn(139) : error 017: undefined symbol "playerid"
Servidor SA-MP\gamemodes\gmofficial.pwn(139) : warning 213: tag mismatch
Servidor SA-MP\gamemodes\gmofficial.pwn(140) : error 017: undefined symbol "PlayerTextDrawAlignment"
Servidor SA-MP\gamemodes\gmofficial.pwn(141) : error 017: undefined symbol "PlayerTextDrawColor"
Servidor SA-MP\gamemodes\gmofficial.pwn(142) : error 017: undefined symbol "PlayerTextDrawSetOutline"
Servidor SA-MP\gamemodes\gmofficial.pwn(143) : error 017: undefined symbol "PlayerTextDrawBackgroundColor"
Servidor SA-MP\gamemodes\gmofficial.pwn(144) : error 017: undefined symbol "PlayerTextDrawFont"
Servidor SA-MP\gamemodes\gmofficial.pwn(145) : error 017: undefined symbol "PlayerTextDrawSetProportional"
Servidor SA-MP\gamemodes\gmofficial.pwn(146) : error 017: undefined symbol "PlayerTextDrawShow"
Servidor SA-MP\gamemodes\gmofficial.pwn(147) : error 017: undefined symbol "playerid"
Servidor SA-MP\gamemodes\gmofficial.pwn(192) : error 017: undefined symbol "PlayerTextDrawSetString"
Servidor SA-MP\gamemodes\gmofficial.pwn(193) : error 017: undefined symbol "PlayerTextDrawSetString"
Servidor SA-MP\gamemodes\gmofficial.pwn(199) : error 017: undefined symbol "PlayerTextDrawDestroy"
Servidor SA-MP\gamemodes\gmofficial.pwn(201) : error 017: undefined symbol "PlayerTextDrawDestroy"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


21 Errors.
testando seu code.. como arruma?
Reply
#8

Nгo e textdraw clicavel entгo nгo hб necessidade de usar este PlayerText
Reply
#9

Quote:
Originally Posted by Don_Speed
Посмотреть сообщение
Nгo e textdraw clicavel entгo nгo hб necessidade de usar este PlayerText
What?

simples ! dava para fazer uma economia de textdraw neste seu projeto ..

mбs se ja houver pessoas on quando o FS for ativado nгo funcionarб .

bom fazer uma loop na callback OnFilterScriptinit verificando se hб alguem online e ja efetuando a criaзгo da textdraw.
Reply
#10

Muitos e Muitos Erros '-' mesmos erros do Diksplay
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)