Čmoud 0 Odesláno: 21. Únor, 2013 Share Odesláno: 21. Únor, 2013 Zdarec, můžete mi pomoct stímto errorem? (135) : error 017: undefined symbol "ShowInfoBox" řádek je zde ShowInfoBox(playerid,"Můj text ", 4000); Díky Link to comment Share on other sites More sharing options...
0 Rad012 23 Odesláno: 21. Únor, 2013 Share Odesláno: 21. Únor, 2013 undefined symbol "ShowInfoBox" // nepozná funkciu ShowInfoBox treba si ju spraviť Link to comment Share on other sites More sharing options...
0 Paulo* 32 Odesláno: 21. Únor, 2013 Share Odesláno: 21. Únor, 2013 undefined stoho nazvu maš že nemaš nadefinovane niečo (v tvojom pripade "ShowInfoBox" ) Link to comment Share on other sites More sharing options...
0 Čmoud 0 Odesláno: 21. Únor, 2013 Author Share Odesláno: 21. Únor, 2013 A jak to mám definovat? Link to comment Share on other sites More sharing options...
0 Rad012 23 Odesláno: 21. Únor, 2013 Share Odesláno: 21. Únor, 2013 stock alebo public Link to comment Share on other sites More sharing options...
0 Čmoud 0 Odesláno: 21. Únor, 2013 Author Share Odesláno: 21. Únor, 2013 Nebo spíš se zeptám takhle, můžete mi poradit jak udělat, aby když někdo vejde na pickup, aby mu to napsalo text v tabulce? Link to comment Share on other sites More sharing options...
0 Rad012 23 Odesláno: 21. Únor, 2013 Share Odesláno: 21. Únor, 2013 pači sa ti hore new Text:InfoBox2[MAX_PLAYERS]; forward Skryt(playerid); do OnGamemodeInit for(new i;i<MAX_PLAYERS;i++) { InfoBox2[i] = TextDrawCreate(20.0, 120.0, "_"); TextDrawUseBox(InfoBox2[i], true); TextDrawBoxColor(InfoBox2[i], 0x00000080); TextDrawTextSize(InfoBox2[i], 187.000000,134.000000); } niekde mimo akýkoľvek public stock InfoBox(playerid,time,text[]){ // myslím že by QWER TextDrawHideForPlayer(playerid,InfoBox2[playerid]); TextDrawSetString(InfoBox2[playerid],text); TextDrawShowForPlayer(playerid,InfoBox2[playerid]); SetTimerEx("Skryt",time*1000,false,"i",playerid); return true; } tieš niekde mimo public Skryt(playerid){ TextDrawHideForPlayer(playerid,InfoBox2[playerid]); return true; } a potom používaš takto: InfoBox(playerid,time,text[]); *playerid = komu zobrazíme *time = na koľko mu to necháme zobrazene *text = text ktory sa napíše napr: InfoBox(playerid,4,"Mleheheehe "); 1 Link to comment Share on other sites More sharing options...
Dotaz
Čmoud 0
Zdarec, můžete mi pomoct stímto errorem?
(135) : error 017: undefined symbol "ShowInfoBox"
řádek je zde
Díky
Link to comment
Share on other sites
6 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