mura Posted July 8, 2011 Posted July 8, 2011 Vreau sa pun si eu in coltz jos un textdraw, dar nu functioneaza.Am pus asa:new Text:Textdraw1; <- susIn OnGameModeInitTextdraw1 = TextDrawCreate(479.5 ,445.5 , "PlayMania");TextDrawFont(Textdraw1 , 0);TextDrawLetterSize(Textdraw1 , 1, 7);TextDrawColor(Textdraw1 , 0xffee00FF);TextDrawSetOutline(Textdraw1 , true);TextDrawSetProportional(Textdraw1 , true);TextDrawSetShadow(Textdraw1 , 1);
Mihai Posted July 8, 2011 Posted July 8, 2011 Pune la public OnPlayerConnectShowPlayerTextdraw(playerid, "Textdraw1");Ceva de genu ca nu sunt acasa sa iti zic direct
IstuntmanI Posted July 8, 2011 Posted July 8, 2011 Pune la public OnPlayerConnectShowPlayerTextdraw(playerid, "Textdraw1");Ceva de genu ca nu sunt acasa sa iti zic directTextDrawShowForPlayer( playerid, Textdraw1 );
NeKeRm@N Posted July 8, 2011 Posted July 8, 2011 pune la public OnFilterScriptExit() { TextDrawHideForAll(numetextdraw); TextDrawDestroy(numetextdraw); si cum a zis si mihai la public OnPlayerConnect(playerid) { adauga TextDrawShowForPlayer(playerid, numetextdraw);
Ryder_RO Posted July 8, 2011 Posted July 8, 2011 unde ai NEW puinew Text:Textdraw1; Ongamemodeinit Textdraw1 = TextDrawCreate(479.5 ,445.5 , "PlayMania"); TextDrawFont(Textdraw1 , 0); TextDrawLetterSize(Textdraw1 , 1, 7); TextDrawColor(Textdraw1 , 0xffee00FF); TextDrawSetOutline(Textdraw1 , true); TextDrawSetProportional(Textdraw1 , true); TextDrawSetShadow(Textdraw1 , 1); OnGameModeExit TextDrawHideForAll(Textdraw1); TextDrawDestroy(Textdraw1); OnPlayerConnect TextDrawShowForPlayer(playerid, Textdraw1);
mura Posted July 8, 2011 Author Posted July 8, 2011 am verificat fiecare linie..nu apare deloc :| probabil ca am un dialog sau altceva?afecteaza?
Ryder_RO Posted July 8, 2011 Posted July 8, 2011 inposibilnuma daca nai facut cum am zis eu sau textdraw nu e bun :shocked:
mura Posted July 8, 2011 Author Posted July 8, 2011 sus -> new Text:Textdraw1;la OnGameModeInit() Textdraw1 = TextDrawCreate(479.5 ,445.5 , "PlayMania"); TextDrawFont(Textdraw1 , 0); TextDrawLetterSize(Textdraw1 , 1, 7); TextDrawColor(Textdraw1 , 0xffee00FF); TextDrawSetOutline(Textdraw1 , true); TextDrawSetProportional(Textdraw1 , true); TextDrawSetShadow(Textdraw1 , 1);laOnGameModeExit() TextDrawHideForAll(Textdraw1); TextDrawDestroy(Textdraw1);si laOnPlayerConnect(playerid) TextDrawShowForPlayer(playerid,Textdraw1);..nu apare nimic :|
Ryder_RO Posted July 8, 2011 Posted July 8, 2011 Textdraw1 = TextDrawCreate(479.5 ,445.5 , "PlayMania"); TextDrawFont(Textdraw1 , 0); TextDrawLetterSize(Textdraw1 , 1, 7); TextDrawColor(Textdraw1 , 0xffee00FF); TextDrawSetOutline(Textdraw1 , true); TextDrawSetProportional(Textdraw1 , true); TextDrawSetShadow(Textdraw1 , 1);Nu e bun textdrawfa si tu cu FS astahttp://forum.sa-mp.com/showthread.php?t=117851
Ryder_RO Posted July 8, 2011 Posted July 8, 2011 habar n-am sal folosesc ... in fineTUTORIAL:Clickhai ca deja dam in OFFTOPIC
xxSPEEDYxx Posted July 8, 2011 Posted July 8, 2011 deci sa-ti explic eu(daca intelegi daca nu...)1.Iei TextDrawu din scriptfiles...2.Il pui la OnGameModeInit()3.pui sus sus in GM unde ai si celalte(daca ai) Text: sau TextDraw: asta: new TextDraw1;4.Mergi la OnPlayerConnect( playerid ) sau la OnPlayerSpawn( playerid ) asta: TextDrawShowForPlayer( playerid, TextDraw1 );5.daca nu intelegi...n-am ce sa iti fac... Fara reclama in semnatura!
NeKeRm@N Posted July 8, 2011 Posted July 8, 2011 verifica sa nu ai in filescript vreun fs care contine texdraw si este pe aceiasi linie cu al tau..
Question
mura
Vreau sa pun si eu in coltz jos un textdraw, dar nu functioneaza.Am pus asa:
new Text:Textdraw1; <- sus
In OnGameModeInit
Textdraw1 = TextDrawCreate(479.5 ,445.5 , "PlayMania");
TextDrawFont(Textdraw1 , 0);
TextDrawLetterSize(Textdraw1 , 1, 7);
TextDrawColor(Textdraw1 , 0xffee00FF);
TextDrawSetOutline(Textdraw1 , true);
TextDrawSetProportional(Textdraw1 , true);
TextDrawSetShadow(Textdraw1 , 1);
12 answers to this question
Recommended Posts