Textdraw > ZA POCETNIKE !

Započeo Andrijevic SKAMER, Decembar 27, 2016, 22:07:09 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

FS/INC: FS
Ime fajla: Textdraw
Vrijeme izrade: Ne znam
Slike/Video (OBAVEZNO):  http://imgur.com/a/22wMS
Edit/0: 0
Opis i dodatne informacije: Ovo je FilterScript-a za pocetnike, nadam se da ce pomoci pocetnicima u skriptanju. Imate komande /tdon i /tdoff za paljenje i gasenje Textdraw-ova
Download link: [pawn]//______________________________________________________________________________
#include < a_samp >
#include < zcmd >
//______________________________________________________________________________
new Text:Textdraw0;
new Text:Textdraw1;
new Text:Textdraw2;
//______________________________________________________________________________
public OnGameModeInit()
{
    Textdraw0 = TextDrawCreate(255.000000, 434.437500, "www.~r~balkan-samp~w~.com");
   TextDrawLetterSize(Textdraw0, 0.284999, 1.118749);
   TextDrawAlignment(Textdraw0, 1);
   TextDrawColor(Textdraw0, -1);
   TextDrawSetShadow(Textdraw0, 0);
   TextDrawSetOutline(Textdraw0, -1);
   TextDrawBackgroundColor(Textdraw0, 51);
   TextDrawFont(Textdraw0, 2);
   TextDrawSetProportional(Textdraw0, 1);

   Textdraw1 = TextDrawCreate(539.500000, 0.437500, "~r~B~w~alkan ~r~S~w~amp");
   TextDrawLetterSize(Textdraw1, 0.449999, 1.600000);
   TextDrawAlignment(Textdraw1, 1);
   TextDrawColor(Textdraw1, -1);
   TextDrawSetShadow(Textdraw1, 0);
   TextDrawSetOutline(Textdraw1, 1);
   TextDrawBackgroundColor(Textdraw1, 51);
   TextDrawFont(Textdraw1, 1);
   TextDrawSetProportional(Textdraw1, 1);

   Textdraw2 = TextDrawCreate(550.000000, 12.687500, "www.balkan-samp.com");
   TextDrawLetterSize(Textdraw2, 0.152500, 1.031249);
   TextDrawAlignment(Textdraw2, 1);
   TextDrawColor(Textdraw2, -1);
   TextDrawSetShadow(Textdraw2, 0);
   TextDrawSetOutline(Textdraw2, 1);
   TextDrawBackgroundColor(Textdraw2, 51);
   TextDrawFont(Textdraw2, 2);
   TextDrawSetProportional(Textdraw2, 1);
    return 1;
}

public OnPlayerConnect(playerid)
{
    TextDrawShowForPlayer(playerid, Textdraw0);
    TextDrawShowForPlayer(playerid, Textdraw1);
    TextDrawShowForPlayer(playerid, Textdraw2);
    return 1;
}
//______________________________________________________________________________
CMD:tdoff ( playerid , params[] ,help )
{
    #pragma unused help

    TextDrawHideForPlayer(playerid , Textdraw0);
    TextDrawHideForPlayer(playerid , Textdraw1);
    TextDrawHideForPlayer(playerid , Textdraw2);
    return 1;
}

//______________________________________________________________________________
CMD:tdon ( playerid , params[] ,help )
{
    #pragma unused help

    TextDrawShowForPlayer(playerid , Textdraw0);
    TextDrawShowForPlayer(playerid , Textdraw1);
    TextDrawShowForPlayer(playerid , Textdraw2);
    return 1;
}
//______________________________________________________________________________[/pawn]
Credits: Niko

Poslednja Izmena: Jun 12, 2017, 05:59:12 PRE PODNE od Muma
samo rejv i debele zene

Jednostavno i dobro za pocetnike, pohvale.


bilo je lijepo dok je trajalo.








Moze pomoc?
Evo, ja zaista neznam u cemu je problem! Evo slike.... Sve sam definirao ali zaista neznam u cemu se nalazi problem!
http://imgur.com/0adB4jn
http://imgur.com/H3cZu5t
http://imgur.com/As7NZgX
PS:U OnplayerClickTextdraw ima jos YSI Cuvanja ispod i tjt.... Errora u skripti nemam osim jednog lose indetitationa te u command promptu kada pokrenem server ovo
http://imgur.com/ZvWdPTz
Evo IG, kako sam dodao TextSize pomjesali su mi se prewiev modeli, CJ je nestao a ova se pomaknula...!
http://imgur.com/Cj0PbM4

Imas podforum problemi u vezi pawn skriptanja pa pokreni temu ukoliko ti je potrebna pomoc.Ova tema slizu za komentarisanje objavljenog projekta,pozdrav.