Mischino19 2 Odesláno: 1. Září, 2010 Share Odesláno: 1. Září, 2010 cfte mam takto stock stock TextDrawCreateL( Float:x, Float:y, textsk[], textcz[], texten[], textpl[]) { for(new i = 0; i < MAX_PLAYERS; i++) { switch(Jazyk[i]) { case 1: TextDrawCreate( Float:x, Float:y, textsk); case 2: TextDrawCreate( Float:x, Float:y, textcz); case 3: TextDrawCreate( Float:x, Float:y, texten); case 4: TextDrawCreate( Float:x, Float:y, textpl); } } return 1; } a textdraw mam takto Textdraw11 = TextDrawCreateL(5.000000, 130.000000, "Pomoc","Pomoc","Help","Pomoc"); TextDrawBackgroundColor(Textdraw11, 255); TextDrawFont(Textdraw11, 1); TextDrawLetterSize(Textdraw11, 0.550000, 1.200000); TextDrawColor(Textdraw11, -1); TextDrawSetOutline(Textdraw11, 1); TextDrawSetProportional(Textdraw11, 1); TextDrawUseBox(Textdraw11, 1); TextDrawBoxColor(Textdraw11, -1); TextDrawTextSize(Textdraw11, 183.000000, 0.000000); a pise mi error (12636) : warning 213: tag mismatch v riadku Textdraw11 = TextDrawCreateL(5.000000, 130.000000, "Slovensky","Cesky","Anglicky","Polski"); vela sposobov som skusal no ani jeden mi nevisiel pls ako sa to da opravit Link to comment Share on other sites More sharing options...
0 Guest Odesláno: 1. Září, 2010 Share Odesláno: 1. Září, 2010 odkedy case začína od 1 ? stock TextDrawCreateL( Float:x, Float:y, textsk[], textcz[], texten[], textpl[]) { for(new i = 0; i < MAX_PLAYERS; i++) { switch(Jazyk) { case 0: TextDrawCreate( Float:x, Float:y, textsk); case 1: TextDrawCreate( Float:x, Float:y, textcz); case 2: TextDrawCreate( Float:x, Float:y, texten); case 3: TextDrawCreate( Float:x, Float:y, textpl); } } //načo return ? } skús to takto Link to comment Share on other sites More sharing options...
0 Guest dajmon Odesláno: 1. Září, 2010 Share Odesláno: 1. Září, 2010 new Textdraw11; Link to comment Share on other sites More sharing options...
0 Guest Odesláno: 1. Září, 2010 Share Odesláno: 1. Září, 2010 ty chlapče dobrú kokotinu si trepol Link to comment Share on other sites More sharing options...
0 Mischino19 2 Odesláno: 1. Září, 2010 Author Share Odesláno: 1. Září, 2010 odkedy case začína od 1 ? stock TextDrawCreateL( Float:x, Float:y, textsk[], textcz[], texten[], textpl[]) { for(new i = 0; i < MAX_PLAYERS; i++) { switch(Jazyk) { case 0: TextDrawCreate( Float:x, Float:y, textsk); case 1: TextDrawCreate( Float:x, Float:y, textcz); case 2: TextDrawCreate( Float:x, Float:y, texten); case 3: TextDrawCreate( Float:x, Float:y, textpl); } } //načo return ? } skús to takto case mam aj v SCMTAL ako SendCLientMessageToAll a funguje a tak isto aj v GameTextForPlayer mi case zacina od 1 a funguje... Link to comment Share on other sites More sharing options...
0 Guest Odesláno: 1. Září, 2010 Share Odesláno: 1. Září, 2010 sorry nemáš nanewované pre všetkých hráčov musíš mať new Textdraw11[MAX_PLAYERS]; Link to comment Share on other sites More sharing options...
0 Mischino19 2 Odesláno: 1. Září, 2010 Author Share Odesláno: 1. Září, 2010 a new Text:textdraw11: mam vymazat? alebo to mam nehat... a ak dam tu premenu co si napisal tak musim textdraw premenovat s textdraw11 na textdraw11[MAX_PLAYERS] ci ako Link to comment Share on other sites More sharing options...
0 Guest Odesláno: 1. Září, 2010 Share Odesláno: 1. Září, 2010 new Text:textdraw11[MAX_PLAYERS]; Link to comment Share on other sites More sharing options...
0 Mischino19 2 Odesláno: 1. Září, 2010 Author Share Odesláno: 1. Září, 2010 ale teraz kde mam textdraw11 = TextdrawCreate musim dat textdraw11[MAX_PLAYERS] = Textdrawcreate? Link to comment Share on other sites More sharing options...
0 Guest Odesláno: 1. Září, 2010 Share Odesláno: 1. Září, 2010 cyklus for{ textdraw11 = TextdrawCreate } Link to comment Share on other sites More sharing options...
0 Mischino19 2 Odesláno: 1. Září, 2010 Author Share Odesláno: 1. Září, 2010 kokotina same errory Link to comment Share on other sites More sharing options...
0 Guest Odesláno: 1. Září, 2010 Share Odesláno: 1. Září, 2010 pod na skzpe Link to comment Share on other sites More sharing options...
Dotaz
Mischino19 2
cfte mam takto stock
a textdraw mam takto
a pise mi error
v riadku
vela sposobov som skusal no ani jeden mi nevisiel pls ako sa to da opravit
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