mura Posted July 8, 2011 Report Share 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); Link to comment Share on other sites More sharing options...
Mihai Posted July 8, 2011 Report Share Posted July 8, 2011 Pune la public OnPlayerConnectShowPlayerTextdraw(playerid, "Textdraw1");Ceva de genu ca nu sunt acasa sa iti zic direct Link to comment Share on other sites More sharing options...
IstuntmanI Posted July 8, 2011 Report Share Posted July 8, 2011 Pune la public OnPlayerConnectShowPlayerTextdraw(playerid, "Textdraw1");Ceva de genu ca nu sunt acasa sa iti zic directTextDrawShowForPlayer( playerid, Textdraw1 ); Link to comment Share on other sites More sharing options...
NeKeRm@N Posted July 8, 2011 Report Share 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); Link to comment Share on other sites More sharing options...
Ryder_RO Posted July 8, 2011 Report Share 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); Link to comment Share on other sites More sharing options...
mura Posted July 8, 2011 Author Report Share Posted July 8, 2011 am verificat fiecare linie..nu apare deloc :| probabil ca am un dialog sau altceva?afecteaza? Link to comment Share on other sites More sharing options...
Ryder_RO Posted July 8, 2011 Report Share Posted July 8, 2011 inposibilnuma daca nai facut cum am zis eu sau textdraw nu e bun :shocked: Link to comment Share on other sites More sharing options...
mura Posted July 8, 2011 Author Report Share 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 :| Link to comment Share on other sites More sharing options...
Ryder_RO Posted July 8, 2011 Report Share 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 Link to comment Share on other sites More sharing options...
mura Posted July 8, 2011 Author Report Share Posted July 8, 2011 habar n-am sal folosesc ... in fine Link to comment Share on other sites More sharing options...
Ryder_RO Posted July 8, 2011 Report Share Posted July 8, 2011 habar n-am sal folosesc ... in fineTUTORIAL:Clickhai ca deja dam in OFFTOPIC Link to comment Share on other sites More sharing options...
xxSPEEDYxx Posted July 8, 2011 Report Share 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! Link to comment Share on other sites More sharing options...
NeKeRm@N Posted July 8, 2011 Report Share Posted July 8, 2011 verifica sa nu ai in filescript vreun fs care contine texdraw si este pe aceiasi linie cu al tau.. Link to comment Share on other sites More sharing options...
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);
Link to comment
Share on other sites
12 answers to this question
Recommended Posts