MrBeNy 0 Odesláno: 8. Říjen, 2010 Share Odesláno: 8. Říjen, 2010 Zdravim, Mam dotaz od te doby co jsem dal server na 0.3b tak se mi neukazuji texdrawi ktery by mely byt po celou dobu hry, jako treba nazev modu,hodiny atd... ale treba v /afk nebo tachometr jako textdraw se mi obevuji...poradte pls Link to comment Share on other sites More sharing options...
0 _Killer_ 1 Odesláno: 8. Říjen, 2010 Share Odesláno: 8. Říjen, 2010 skus skompilovat mod v pawne 03b skusal si ? Link to comment Share on other sites More sharing options...
0 MrBeNy 0 Odesláno: 8. Říjen, 2010 Author Share Odesláno: 8. Říjen, 2010 Nejsem idiot delam v pawnu stejne verze jako server ne ? TextDrawy mam normal v OnGameModeInit... Link to comment Share on other sites More sharing options...
0 _Killer_ 1 Odesláno: 8. Říjen, 2010 Share Odesláno: 8. Říjen, 2010 nwm co stym moze byt sa ta pytam no Link to comment Share on other sites More sharing options...
0 MrBeNy 0 Odesláno: 8. Říjen, 2010 Author Share Odesláno: 8. Říjen, 2010 mam to udelane takhle: enum TEXT_NAME { Text:T_Napis, Text:T_Hodiny, Text:T_Draw1 } A pak v OnGameModeInit TextDraw[T_Hodiny] = TextDrawCreate(547.0,9.0, "00:00"); TextDrawLetterSize(TextDraw[T_Hodiny], 0.6, 2.0); TextDrawFont(TextDraw[T_Hodiny], 3); TextDrawSetOutline(TextDraw[T_Hodiny], 1); //--------------------------| TextDraw[T_Napis] = TextDrawCreate(29,427,"TEXT"); TextDrawLetterSize(TextDraw[T_Napis],0.650000,1.300000); TextDrawAlignment(TextDraw[T_Napis],0); TextDrawBackgroundColor(TextDraw[T_Napis],B_MODR); TextDrawFont(TextDraw[T_Napis],1); TextDrawUseBox(TextDraw[T_Napis],0); TextDrawSetOutline(TextDraw[T_Napis],1); TextDrawSetProportional(TextDraw[T_Napis],1); TextDrawSetShadow(TextDraw[T_Napis],1); //--------------------------| TextDraw[T_Draw1] = TextDrawCreate(615,3," TEXT "); TextDrawLetterSize(TextDraw[T_Draw1],0.550000,1.900000); TextDrawAlignment(TextDraw[T_Draw1],3); TextDrawBackgroundColor(TextDraw[T_Draw1],0x000000ff); TextDrawFont(TextDraw[T_Draw1],1); TextDrawUseBox(TextDraw[T_Draw1],0); TextDrawSetOutline(TextDraw[T_Draw1],1); TextDrawSetProportional(TextDraw[T_Draw1],1); TextDrawSetShadow(TextDraw[T_Draw1],1); Link to comment Share on other sites More sharing options...
0 Guest D3luX Odesláno: 8. Říjen, 2010 Share Odesláno: 8. Říjen, 2010 A máš to aj v OnPlayerConnect?.. Link to comment Share on other sites More sharing options...
0 MrBeNy 0 Odesláno: 8. Říjen, 2010 Author Share Odesláno: 8. Říjen, 2010 Jako toto same nebo myslis ? TextDrawShowForPlayer(.... Link to comment Share on other sites More sharing options...
0 Guest D3luX Odesláno: 8. Říjen, 2010 Share Odesláno: 8. Říjen, 2010 Jako toto same nebo myslis ? TextDrawShowForPlayer(.... Myslím TextDrawShowForPlayer() .. ak to tam máš tak by ti to malo ísť.. Link to comment Share on other sites More sharing options...
0 MrBeNy 0 Odesláno: 8. Říjen, 2010 Author Share Odesláno: 8. Říjen, 2010 No kdyz tam dam toto: TextDrawShowForPlayer(playerid, TextDraw[T_Draw1]); TextDrawShowForPlayer(playerid, TextDraw[T_Napis]); TextDrawShowForPlayer(playerid, TextDraw[T_Hodiny]); Tak mi to ukazuje jen ten prvni textdraw co je tu napsany... Link to comment Share on other sites More sharing options...
0 Guest D3luX Odesláno: 8. Říjen, 2010 Share Odesláno: 8. Říjen, 2010 No kdyz tam dam toto: TextDrawShowForPlayer(playerid, TextDraw[T_Draw1]); TextDrawShowForPlayer(playerid, TextDraw[T_Napis]); TextDrawShowForPlayer(playerid, TextDraw[T_Hodiny]); Tak mi to ukazuje jen ten prvni textdraw co je tu napsany... Ja keď som robil TextDrawy tak som dával iba TextDrawShowForPlayer(playerid, texdraw1); napriklad .. Ono ti to asi preto neukazuen lebo mas vsade TextDrawShowForPlayer(playerid, TextDraw[T_Draw1]); skusk si to spravit tak ze si das TextDrawShowForPlayer(playerid, TextDraw1[T_Draw1]); 2 a 3 .. ptm by ti to malo fungovat.. Link to comment Share on other sites More sharing options...
0 MrBeNy 0 Odesláno: 8. Říjen, 2010 Author Share Odesláno: 8. Říjen, 2010 Ted se mi rozbehly 2 najednou ... a mam to porad stejne jen sem neco upravil, tak uz jen ten treti D: Link to comment Share on other sites More sharing options...
0 Guest D3luX Odesláno: 8. Říjen, 2010 Share Odesláno: 8. Říjen, 2010 Nmw ma napadlo iba hento.. Tak si este nieco uprav a mozno ti poide aj ten tretí Link to comment Share on other sites More sharing options...
Dotaz
MrBeNy 0
Zdravim,
Mam dotaz od te doby co jsem dal server na 0.3b tak se mi neukazuji texdrawi ktery by mely byt po celou dobu hry, jako treba nazev modu,hodiny atd... ale treba v /afk nebo tachometr jako textdraw se mi obevuji...poradte pls
Link to comment
Share on other sites
11 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now