SA-MP Forums Archive
[FilterScript] Text Draw's Divulgador e Que Mostra Ping - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+----- Forum: Lançamentos/Releases (https://sampforum.blast.hk/forumdisplay.php?fid=56)
+----- Thread: [FilterScript] Text Draw's Divulgador e Que Mostra Ping (/showthread.php?tid=453485)



Text Draw's Divulgador e Que Mostra Ping [Simples] - SubZeroo - 25.07.2013

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



Re: Text Draw's Divulgador e Que Mostra Ping - darkxdll - 25.07.2013

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...



Re: Text Draw's Divulgador e Que Mostra Ping - SubZeroo - 25.07.2013

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


Re: Text Draw's Divulgador e Que Mostra Ping - MonFiTy - 25.07.2013

simples mas para iniciante fico bom parabens


Re: Text Draw's Divulgador e Que Mostra Ping - SubZeroo - 25.07.2013

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


Re: Text Draw's Divulgador e Que Mostra Ping - darkxdll - 25.07.2013

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



Re: Text Draw's Divulgador e Que Mostra Ping - LucaAllexandre - 25.07.2013

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?


Re: Text Draw's Divulgador e Que Mostra Ping - Don_Speed - 25.07.2013

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


Re: Text Draw's Divulgador e Que Mostra Ping - Sky™ - 25.07.2013

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.


Re: Text Draw's Divulgador e Que Mostra Ping - TheKoDaK - 25.07.2013

Muitos e Muitos Erros '-' mesmos erros do Diksplay