PDA

View Full Version : [FilterScript] SKR Logo - Just another textdraw !


DarkyTheAngel
19/02/2012, 04:13 PM
Introducere :
Salut ! Am facut si eu un textdraw , din plictiseala si din lipsa de idei si m-am gandit sa il postez.Nu este foarte avansat dar e frumos.Mi-a luat doar 10 minute ca sa il fac deci ... "nu aruncati cu pietre" :) .Have phun !
Poza :
http://i1080.photobucket.com/albums/j339/yustyn1/sa-mp-001-3.png
Download :
/* ================================================== ======================== */
new Text:Textdraw0;
new Text:Textdraw1;
new Text:Textdraw2;
new Text:Textdraw3;
new Text:Textdraw4;
new Text:Textdraw5;
new Text:Textdraw6;
new Text:Textdraw7;
new Text:Textdraw8;
new Text:Textdraw9;
new Text:Textdraw10;
new Text:Textdraw11;
new Text:Textdraw12;
new Text:Textdraw13;
new Text:Textdraw14;
new Text:Textdraw15;
new Text:Textdraw16;
new Text:Textdraw17;
new Text:Textdraw18;
/* ================================================== ======================== */
public OnFilterScriptInit()
{
Textdraw0 = TextDrawCreate(530.000000, 381.000000, "]");
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 0);
TextDrawLetterSize(Textdraw0, 2.419999, 6.899999);
TextDrawColor(Textdraw0, -1);
TextDrawSetOutline(Textdraw0, 1);
TextDrawSetProportional(Textdraw0, 1);

Textdraw1 = TextDrawCreate(494.000000, 391.000000, "S");
TextDrawBackgroundColor(Textdraw1, 255);
TextDrawFont(Textdraw1, 0);
TextDrawLetterSize(Textdraw1, 2.429999, 4.000000);
TextDrawColor(Textdraw1, 65535);
TextDrawSetOutline(Textdraw1, 1);
TextDrawSetProportional(Textdraw1, 1);

Textdraw2 = TextDrawCreate(529.000000, 391.000000, "K");
TextDrawBackgroundColor(Textdraw2, 255);
TextDrawFont(Textdraw2, 0);
TextDrawLetterSize(Textdraw2, 2.429999, 4.000000);
TextDrawColor(Textdraw2, -65281);
TextDrawSetOutline(Textdraw2, 1);
TextDrawSetProportional(Textdraw2, 1);

Textdraw3 = TextDrawCreate(554.000000, 391.000000, "R");
TextDrawBackgroundColor(Textdraw3, 255);
TextDrawFont(Textdraw3, 0);
TextDrawLetterSize(Textdraw3, 2.429999, 4.000000);
TextDrawColor(Textdraw3, -16776961);
TextDrawSetOutline(Textdraw3, 1);
TextDrawSetProportional(Textdraw3, 1);

Textdraw4 = TextDrawCreate(512.000000, 427.000000, "Romania Rulz");
TextDrawBackgroundColor(Textdraw4, 255);
TextDrawFont(Textdraw4, 3);
TextDrawLetterSize(Textdraw4, 0.500000, 1.000000);
TextDrawColor(Textdraw4, -11534118);
TextDrawSetOutline(Textdraw4, 1);
TextDrawSetProportional(Textdraw4, 1);

Textdraw5 = TextDrawCreate(592.000000, 358.000000, "]");
TextDrawBackgroundColor(Textdraw5, 255);
TextDrawFont(Textdraw5, 0);
TextDrawLetterSize(Textdraw5, 0.579999, 1.799999);
TextDrawColor(Textdraw5, -65318);
TextDrawSetOutline(Textdraw5, 1);
TextDrawSetProportional(Textdraw5, 1);

Textdraw6 = TextDrawCreate(552.000000, 348.000000, "]");
TextDrawBackgroundColor(Textdraw6, 255);
TextDrawFont(Textdraw6, 0);
TextDrawLetterSize(Textdraw6, 0.579999, 1.799999);
TextDrawColor(Textdraw6, -65318);
TextDrawSetOutline(Textdraw6, 1);
TextDrawSetProportional(Textdraw6, 1);

Textdraw7 = TextDrawCreate(531.000000, 376.000000, "]");
TextDrawBackgroundColor(Textdraw7, 255);
TextDrawFont(Textdraw7, 0);
TextDrawLetterSize(Textdraw7, 0.579999, 1.799999);
TextDrawColor(Textdraw7, -65318);
TextDrawSetOutline(Textdraw7, 1);
TextDrawSetProportional(Textdraw7, 1);

Textdraw8 = TextDrawCreate(576.000000, 376.000000, "]");
TextDrawBackgroundColor(Textdraw8, 255);
TextDrawFont(Textdraw8, 0);
TextDrawLetterSize(Textdraw8, 0.579999, 1.799999);
TextDrawColor(Textdraw8, -65318);
TextDrawSetOutline(Textdraw8, 1);
TextDrawSetProportional(Textdraw8, 1);

Textdraw9 = TextDrawCreate(613.000000, 379.000000, "]");
TextDrawBackgroundColor(Textdraw9, 255);
TextDrawFont(Textdraw9, 0);
TextDrawLetterSize(Textdraw9, 0.579999, 1.799999);
TextDrawColor(Textdraw9, -65318);
TextDrawSetOutline(Textdraw9, 1);
TextDrawSetProportional(Textdraw9, 1);

Textdraw10 = TextDrawCreate(511.000000, 354.000000, "]");
TextDrawBackgroundColor(Textdraw10, 255);
TextDrawFont(Textdraw10, 0);
TextDrawLetterSize(Textdraw10, 0.579999, 1.799999);
TextDrawColor(Textdraw10, -65318);
TextDrawSetOutline(Textdraw10, 1);
TextDrawSetProportional(Textdraw10, 1);

Textdraw11 = TextDrawCreate(497.000000, 381.000000, "]");
TextDrawBackgroundColor(Textdraw11, 255);
TextDrawFont(Textdraw11, 0);
TextDrawLetterSize(Textdraw11, 0.579999, 1.799999);
TextDrawColor(Textdraw11, -65318);
TextDrawSetOutline(Textdraw11, 1);
TextDrawSetProportional(Textdraw11, 1);

Textdraw12 = TextDrawCreate(619.000000, 404.000000, "]");
TextDrawBackgroundColor(Textdraw12, 255);
TextDrawFont(Textdraw12, 0);
TextDrawLetterSize(Textdraw12, 0.579999, 1.799999);
TextDrawColor(Textdraw12, -65318);
TextDrawSetOutline(Textdraw12, 1);
TextDrawSetProportional(Textdraw12, 1);

Textdraw13 = TextDrawCreate(499.000000, 404.000000, "]");
TextDrawBackgroundColor(Textdraw13, 255);
TextDrawFont(Textdraw13, 0);
TextDrawLetterSize(Textdraw13, 0.579999, 1.799999);
TextDrawColor(Textdraw13, -65318);
TextDrawSetOutline(Textdraw13, 1);
TextDrawSetProportional(Textdraw13, 1);

Textdraw14 = TextDrawCreate(472.000000, 394.000000, "]");
TextDrawBackgroundColor(Textdraw14, 255);
TextDrawFont(Textdraw14, 0);
TextDrawLetterSize(Textdraw14, 0.579999, 1.799999);
TextDrawColor(Textdraw14, -65318);
TextDrawSetOutline(Textdraw14, 1);
TextDrawSetProportional(Textdraw14, 1);

Textdraw15 = TextDrawCreate(480.000000, 364.000000, "]");
TextDrawBackgroundColor(Textdraw15, 255);
TextDrawFont(Textdraw15, 0);
TextDrawLetterSize(Textdraw15, 0.579999, 1.799999);
TextDrawColor(Textdraw15, -65318);
TextDrawSetOutline(Textdraw15, 1);
TextDrawSetProportional(Textdraw15, 1);

Textdraw16 = TextDrawCreate(475.000000, 416.000000, "]");
TextDrawBackgroundColor(Textdraw16, 255);
TextDrawFont(Textdraw16, 0);
TextDrawLetterSize(Textdraw16, 0.579999, 1.799999);
TextDrawColor(Textdraw16, -65318);
TextDrawSetOutline(Textdraw16, 1);
TextDrawSetProportional(Textdraw16, 1);

Textdraw17 = TextDrawCreate(442.000000, 401.000000, "]");
TextDrawBackgroundColor(Textdraw17, 255);
TextDrawFont(Textdraw17, 0);
TextDrawLetterSize(Textdraw17, 0.579999, 1.799999);
TextDrawColor(Textdraw17, -65318);
TextDrawSetOutline(Textdraw17, 1);
TextDrawSetProportional(Textdraw17, 1);

Textdraw18 = TextDrawCreate(457.000000, 381.000000, "]");
TextDrawBackgroundColor(Textdraw18, 255);
TextDrawFont(Textdraw18, 0);
TextDrawLetterSize(Textdraw18, 0.579999, 1.799999);
TextDrawColor(Textdraw18, -65318);
TextDrawSetOutline(Textdraw18, 1);
TextDrawSetProportional(Textdraw18, 1);
for(new i; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i))
{
TextDrawShowForPlayer(i, Textdraw0);
TextDrawShowForPlayer(i, Textdraw1);
TextDrawShowForPlayer(i, Textdraw2);
TextDrawShowForPlayer(i, Textdraw3);
TextDrawShowForPlayer(i, Textdraw4);
TextDrawShowForPlayer(i, Textdraw5);
TextDrawShowForPlayer(i, Textdraw6);
TextDrawShowForPlayer(i, Textdraw7);
TextDrawShowForPlayer(i, Textdraw8);
TextDrawShowForPlayer(i, Textdraw9);
TextDrawShowForPlayer(i, Textdraw10);
TextDrawShowForPlayer(i, Textdraw11);
TextDrawShowForPlayer(i, Textdraw12);
TextDrawShowForPlayer(i, Textdraw13);
TextDrawShowForPlayer(i, Textdraw14);
TextDrawShowForPlayer(i, Textdraw15);
TextDrawShowForPlayer(i, Textdraw16);
TextDrawShowForPlayer(i, Textdraw17);
TextDrawShowForPlayer(i, Textdraw18);
}
}
return 1;
}
/* ================================================== ======================== */
public OnFilterScriptExit()
{
TextDrawHideForAll(Textdraw0);
TextDrawDestroy(Textdraw0);
TextDrawHideForAll(Textdraw1);
TextDrawDestroy(Textdraw1);
TextDrawHideForAll(Textdraw2);
TextDrawDestroy(Textdraw2);
TextDrawHideForAll(Textdraw3);
TextDrawDestroy(Textdraw3);
TextDrawHideForAll(Textdraw4);
TextDrawDestroy(Textdraw4);
TextDrawHideForAll(Textdraw5);
TextDrawDestroy(Textdraw5);
TextDrawHideForAll(Textdraw6);
TextDrawDestroy(Textdraw6);
TextDrawHideForAll(Textdraw7);
TextDrawDestroy(Textdraw7);
TextDrawHideForAll(Textdraw8);
TextDrawDestroy(Textdraw8);
TextDrawHideForAll(Textdraw9);
TextDrawDestroy(Textdraw9);
TextDrawHideForAll(Textdraw10);
TextDrawDestroy(Textdraw10);
TextDrawHideForAll(Textdraw11);
TextDrawDestroy(Textdraw11);
TextDrawHideForAll(Textdraw12);
TextDrawDestroy(Textdraw12);
TextDrawHideForAll(Textdraw13);
TextDrawDestroy(Textdraw13);
TextDrawHideForAll(Textdraw14);
TextDrawDestroy(Textdraw14);
TextDrawHideForAll(Textdraw15);
TextDrawDestroy(Textdraw15);
TextDrawHideForAll(Textdraw16);
TextDrawDestroy(Textdraw16);
TextDrawHideForAll(Textdraw17);
TextDrawDestroy(Textdraw17);
TextDrawHideForAll(Textdraw18);
TextDrawDestroy(Textdraw18);
return 1;
}
/* ================================================== ======================== */
public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid, Textdraw0);
TextDrawShowForPlayer(playerid, Textdraw1);
TextDrawShowForPlayer(playerid, Textdraw2);
TextDrawShowForPlayer(playerid, Textdraw3);
TextDrawShowForPlayer(playerid, Textdraw4);
TextDrawShowForPlayer(playerid, Textdraw5);
TextDrawShowForPlayer(playerid, Textdraw6);
TextDrawShowForPlayer(playerid, Textdraw7);
TextDrawShowForPlayer(playerid, Textdraw8);
TextDrawShowForPlayer(playerid, Textdraw9);
TextDrawShowForPlayer(playerid, Textdraw10);
TextDrawShowForPlayer(playerid, Textdraw11);
TextDrawShowForPlayer(playerid, Textdraw12);
TextDrawShowForPlayer(playerid, Textdraw13);
TextDrawShowForPlayer(playerid, Textdraw14);
TextDrawShowForPlayer(playerid, Textdraw15);
TextDrawShowForPlayer(playerid, Textdraw16);
TextDrawShowForPlayer(playerid, Textdraw17);
TextDrawShowForPlayer(playerid, Textdraw18);
return 1;
}
/* ================================================== ======================== */
http://i1080.photobucket.com/albums/j339/yustyn1/avatar_3_1327096471.gif
Copyright (c) <2012> <DarKy>.
All rights reserved.

Editing and Redistribution are allowed
considering that script was created by <DarKy>.
This script can be edited by anyone
and can be redistributed but and upgrades
to script are allowed.If you edit this script
don't present all the work as yours.The name SKR
may not be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

Redosu12
25/06/2012, 09:21 AM
La mine a gasit multe erori, 26 cred

C:\Documents and Settings\Administrator\Desktop\GM Just2Play(7)\filterscripts\LOGO.pwn(22) : warning 235: public function lacks forward declaration (symbol "OnFilterScriptInit")
C:\Documents and Settings\Administrator\Desktop\GM Just2Play(7)\filterscripts\LOGO.pwn(24) : error 017: undefined symbol "TextDrawCreate"
C:\Documents and Settings\Administrator\Desktop\GM Just2Play(7)\filterscripts\LOGO.pwn(24) : warning 213: tag mismatch
C:\Documents and Settings\Administrator\Desktop\GM Just2Play(7)\filterscripts\LOGO.pwn(25) : error 017: undefined symbol "TextDrawBackgroundColor"
C:\Documents and Settings\Administrator\Desktop\GM Just2Play(7)\filterscripts\LOGO.pwn(26) : error 017: undefined symbol "TextDrawFont"
C:\Documents and Settings\Administrator\Desktop\GM Just2Play(7)\filterscripts\LOGO.pwn(27) : error 017: undefined symbol "TextDrawLetterSize"
C:\Documents and Settings\Administrator\Desktop\GM Just2Play(7)\filterscripts\LOGO.pwn(28) : error 017: undefined symbol "TextDrawColor"
C:\Documents and Settings\Administrator\Desktop\GM Just2Play(7)\filterscripts\LOGO.pwn(29) : error 017: undefined symbol "TextDrawSetOutline"
C:\Documents and Settings\Administrator\Desktop\GM Just2Play(7)\filterscripts\LOGO.pwn(30) : error 017: undefined symbol "TextDrawSetProportional"
C:\Documents and Settings\Administrator\Desktop\GM Just2Play(7)\filterscripts\LOGO.pwn(32) : error 017: undefined symbol "TextDrawCreate"
C:\Documents and Settings\Administrator\Desktop\GM Just2Play(7)\filterscripts\LOGO.pwn(32) : warning 213: tag mismatch
C:\Documents and Settings\Administrator\Desktop\GM Just2Play(7)\filterscripts\LOGO.pwn(33) : error 017: undefined symbol "TextDrawBackgroundColor"
C:\Documents and Settings\Administrator\Desktop\GM Just2Play(7)\filterscripts\LOGO.pwn(34) : error 017: undefined symbol "TextDrawFont"
C:\Documents and Settings\Administrator\Desktop\GM Just2Play(7)\filterscripts\LOGO.pwn(35) : error 017: undefined symbol "TextDrawLetterSize"
C:\Documents and Settings\Administrator\Desktop\GM Just2Play(7)\filterscripts\LOGO.pwn(36) : error 017: undefined symbol "TextDrawColor"
C:\Documents and Settings\Administrator\Desktop\GM Just2Play(7)\filterscripts\LOGO.pwn(37) : error 017: undefined symbol "TextDrawSetOutline"
C:\Documents and Settings\Administrator\Desktop\GM Just2Play(7)\filterscripts\LOGO.pwn(38) : error 017: undefined symbol "TextDrawSetProportional"
C:\Documents and Settings\Administrator\Desktop\GM Just2Play(7)\filterscripts\LOGO.pwn(40) : error 017: undefined symbol "TextDrawCreate"
C:\Documents and Settings\Administrator\Desktop\GM Just2Play(7)\filterscripts\LOGO.pwn(40) : warning 213: tag mismatch
C:\Documents and Settings\Administrator\Desktop\GM Just2Play(7)\filterscripts\LOGO.pwn(41) : error 017: undefined symbol "TextDrawBackgroundColor"
C:\Documents and Settings\Administrator\Desktop\GM Just2Play(7)\filterscripts\LOGO.pwn(42) : error 017: undefined symbol "TextDrawFont"
C:\Documents and Settings\Administrator\Desktop\GM Just2Play(7)\filterscripts\LOGO.pwn(43) : error 017: undefined symbol "TextDrawLetterSize"
C:\Documents and Settings\Administrator\Desktop\GM Just2Play(7)\filterscripts\LOGO.pwn(44) : error 017: undefined symbol "TextDrawColor"
C:\Documents and Settings\Administrator\Desktop\GM Just2Play(7)\filterscripts\LOGO.pwn(45) : error 017: undefined symbol "TextDrawSetOutline"
C:\Documents and Settings\Administrator\Desktop\GM Just2Play(7)\filterscripts\LOGO.pwn(46) : error 017: undefined symbol "TextDrawSetProportional"
C:\Documents and Settings\Administrator\Desktop\GM Just2Play(7)\filterscripts\LOGO.pwn(48) : error 017: undefined symbol "TextDrawCreate"
C:\Documents and Settings\Administrator\Desktop\GM Just2Play(7)\filterscripts\LOGO.pwn(48) : warning 213: tag mismatch
C:\Documents and Settings\Administrator\Desktop\GM Just2Play(7)\filterscripts\LOGO.pwn(49) : error 017: undefined symbol "TextDrawBackgroundColor"
C:\Documents and Settings\Administrator\Desktop\GM Just2Play(7)\filterscripts\LOGO.pwn(50) : error 017: undefined symbol "TextDrawFont"
C:\Documents and Settings\Administrator\Desktop\GM Just2Play(7)\filterscripts\LOGO.pwn(51) : error 017: undefined symbol "TextDrawLetterSize"
C:\Documents and Settings\Administrator\Desktop\GM Just2Play(7)\filterscripts\LOGO.pwn(52) : error 017: undefined symbol "TextDrawColor"

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.

Skaizo
25/06/2012, 10:25 AM
ai #include<a_samp>?daca nu,adauga

POL_george
25/06/2012, 12:22 PM
cu ce program lai facut?

Skaizo
25/06/2012, 12:46 PM
cu ce program lai facut?
lol
http://forum.sa-mp.com/showthread.php?t=117851&highlight=textdraw+editor

SkL_MD
25/06/2012, 06:34 PM
E frumos xD

Johnny_Ionut
03/08/2012, 12:14 PM
ocupa mult...macar de il faceai mai mic...

Private200
04/11/2012, 03:37 PM
#include <a_samp>at the top of your script , and it is created quite well :) .

Mirrored and fixed errors . Didn't remove credits !

Solidfiles : http://www.solidfiles.com/d/07b721192a/
PasteBin : http://pastebin.com/QecQfEQv

Keep it up and if you have problem like this again just tell me :)

ShikamaruSama
04/11/2012, 03:46 PM
E Frumos , dar daca ar fi mai mic , :) , daca as sti sal modific sau sa fac altu , las face mai mic si ar merge bravo 3/5



Nu stiu sal bag , imi spune cineva cum sal bag ?

Skaizo
05/11/2012, 02:13 PM
E Frumos , dar daca ar fi mai mic , :) , daca as sti sal modific sau sa fac altu , las face mai mic si ar merge bravo 3/5



Nu stiu sal bag , imi spune cineva cum sal bag ?

deschide pawno>>new filterscript>>sterge tot ce contine acolo>>pui scriptul,adauga new <a_samp> la inceput>>compile si pune numele filterscriptul apoi deschizi server.cfg vezi linia filterscript adaugi numele filterscriptul

ShikamaruSama
05/11/2012, 02:23 PM
Inteleg , dar numi apare textdrawul in joc .. si e facut tot bine ..


am facut asa

Copy din pastebin , intrun nou pawno , la inceput am pus aia cu a samp , am dat compile mia aparut amx...

Api iam dat rename la amndoua cu numele de Text

mam dus in server.cfg si la filescript am adaugat Text

si numi arata in joc..