1Kubad1 18 Odesláno: 13. Květen, 2013 Share Odesláno: 13. Květen, 2013 caute hledam euro pro svuj server pokud by šlo CZK tak CZK budu rad za kazdou radu nebo odkaz nebo proste neco Link to comment Share on other sites More sharing options...
DooM 93 Odesláno: 14. Květen, 2013 Share Odesláno: 14. Květen, 2013 překryj $ textdrawem nebo gametextem a máš to ne ? Link to comment Share on other sites More sharing options...
1Kubad1 18 Odesláno: 14. Květen, 2013 Author Share Odesláno: 14. Květen, 2013 víš ja bych potreboval barvu a nastavení toho Link to comment Share on other sites More sharing options...
Adrián Lipták 51 Odesláno: 14. Květen, 2013 Share Odesláno: 14. Květen, 2013 víš ja bych potreboval barvu a nastavení toho http://forum.sa-mp.c...ad.php?t=267009 Zmeň forinty na ČK Link to comment Share on other sites More sharing options...
1Kubad1 18 Odesláno: 14. Květen, 2013 Author Share Odesláno: 14. Květen, 2013 ja nevim proc ale nechce se zobrazit #include .... new Text:Box[MAX_PLAYERS]; public OnPlayerConnect(playerid) { Box[playerid] = TextDrawCreate(622.000000, 79.000000, "CZK"); TextDrawBackgroundColor(Box[playerid], 255); TextDrawFont(Box[playerid], 1); TextDrawLetterSize(Box[playerid], 0.500000, 1.000000); TextDrawColor(Box[playerid], -1); TextDrawSetOutline(Box[playerid], 0); TextDrawSetProportional(Box[playerid], 1); TextDrawSetShadow(Box[playerid], 1); TextDrawUseBox(Box[playerid], 1); TextDrawBoxColor(Box[playerid], 0x000035FF); TextDrawTextSize(Box[playerid], 483.000000, 49.000000); return 1; } public OnPlayerDisconnect(playerid, reason) { TextDrawHideForPlayer(playerid, Box[playerid]); return 1; } Link to comment Share on other sites More sharing options...
wroxx 37 Odesláno: 14. Květen, 2013 Share Odesláno: 14. Květen, 2013 #include <a_samp> new Text:Box[MAX_PLAYERS]; new Text:Ft[MAX_PLAYERS]; new check; public OnFilterScriptInit() { print("\n|==========================================================|"); print("\n| Forint script |"); print("\n| Betцltve |"); print("\n|==========================================================|"); return 1; } public OnFilterScriptExit() { print("\n|==========================================================|"); print("\n| Forint script |"); print("\n| Kikapcsolva |"); print("\n|==========================================================|"); KillTimer(check); return 1; } public OnPlayerConnect(playerid) { Box[playerid] = TextDrawCreate(622.000000, 79.000000, " "); TextDrawBackgroundColor(Box[playerid], 255); TextDrawFont(Box[playerid], 1); TextDrawLetterSize(Box[playerid], 0.500000, 1.000000); TextDrawColor(Box[playerid], -1); TextDrawSetOutline(Box[playerid], 0); TextDrawSetProportional(Box[playerid], 1); TextDrawSetShadow(Box[playerid], 1); TextDrawUseBox(Box[playerid], 1); TextDrawBoxColor(Box[playerid], 0x000035FF); TextDrawTextSize(Box[playerid], 483.000000, 49.000000); Ft[playerid] = TextDrawCreate(490.000000, 77.000000, "00000000Ft"); //a forint mindenhol legelől volt TextDrawBackgroundColor(Ft[playerid], 0xF5F51FFF); TextDrawFont(Ft[playerid], 1); TextDrawLetterSize(Ft[playerid], 0.539999, 2.299999); TextDrawColor(Ft[playerid], 0xCACA09FF); TextDrawSetOutline(Ft[playerid], 1); TextDrawSetProportional(Ft[playerid], 1); SetTimerEx("CheckMoney", 2000, true, "i", playerid); return 1; } public OnPlayerDisconnect(playerid) { TextDrawHideForPlayer(playerid, Ft[playerid]); TextDrawHideForPlayer(playerid, Box[playerid]); return 1; } forward CheckMoney(playerid); public CheckMoney(playerid) { new string[128]; if(GetPlayerMoney(playerid) < 10) { format(string, sizeof(string), "0000000%iFt", GetPlayerMoney(playerid)); TextDrawSetString(Ft[playerid], string); TextDrawShowForPlayer(playerid, Ft[playerid]); TextDrawShowForPlayer(playerid, Box[playerid]); } if(10 <= GetPlayerMoney(playerid) < 100) { format(string, sizeof(string), "000000%iFt", GetPlayerMoney(playerid)); TextDrawSetString(Ft[playerid], string); TextDrawShowForPlayer(playerid, Ft[playerid]); TextDrawShowForPlayer(playerid, Box[playerid]); } if(100 <= GetPlayerMoney(playerid) < 1000) { format(string, sizeof(string), "00000%iFt", GetPlayerMoney(playerid)); TextDrawSetString(Ft[playerid], string); TextDrawShowForPlayer(playerid, Ft[playerid]); TextDrawShowForPlayer(playerid, Box[playerid]); } if(1000 <= GetPlayerMoney(playerid) < 10000) { format(string, sizeof(string), "0000%iFt", GetPlayerMoney(playerid)); TextDrawSetString(Ft[playerid], string); TextDrawShowForPlayer(playerid, Ft[playerid]); TextDrawShowForPlayer(playerid, Box[playerid]); } if(10000 <= GetPlayerMoney(playerid) < 100000) { format(string, sizeof(string), "000%iFt", GetPlayerMoney(playerid)); TextDrawSetString(Ft[playerid], string); TextDrawShowForPlayer(playerid, Ft[playerid]); TextDrawShowForPlayer(playerid, Box[playerid]); } if(100000 <= GetPlayerMoney(playerid) < 1000000) { format(string, sizeof(string), "00%iFt", GetPlayerMoney(playerid)); TextDrawSetString(Ft[playerid], string); TextDrawShowForPlayer(playerid, Ft[playerid]); TextDrawShowForPlayer(playerid, Box[playerid]); } if(1000000 <= GetPlayerMoney(playerid) < 10000000) { format(string, sizeof(string), "0%iFt", GetPlayerMoney(playerid)); TextDrawSetString(Ft[playerid], string); TextDrawShowForPlayer(playerid, Ft[playerid]); TextDrawShowForPlayer(playerid, Box[playerid]); } if(10000000 <= GetPlayerMoney(playerid) < 999999999) { format(string, sizeof(string), "%iFt", GetPlayerMoney(playerid)); TextDrawSetString(Ft[playerid], string); TextDrawShowForPlayer(playerid, Ft[playerid]); TextDrawShowForPlayer(playerid, Box[playerid]); } return 1; } Link to comment Share on other sites More sharing options...
1Kubad1 18 Odesláno: 14. Květen, 2013 Author Share Odesláno: 14. Květen, 2013 ja uz mam textdraw ale nechce se zobrazit pls help #include <a_samp> new Text:prachy; public OnPlayerConnect(playerid) { prachy = TextDrawCreate(495.000000,80.000000,"CZK"); TextDrawAlignment(prachy,0); TextDrawBackgroundColor(prachy,0); TextDrawFont(prachy,2); TextDrawLetterSize(prachy,0.299999,1.000000); TextDrawColor(prachy,0xffffffff); TextDrawSetProportional(prachy,1); TextDrawSetShadow(prachy,0); return 1; } Link to comment Share on other sites More sharing options...
Adrián Lipták 51 Odesláno: 14. Květen, 2013 Share Odesláno: 14. Květen, 2013 Text Draw Show ForPlayer ? #include <a_samp> new Text:prachy; public OnPlayerConnect(playerid) { prachy = TextDrawCreate(495.000000,80.000000,"CZK"); TextDrawAlignment(prachy,0); TextDrawBackgroundColor(prachy,0); TextDrawFont(prachy,2); TextDrawLetterSize(prachy,0.299999,1.000000); TextDrawColor(prachy,0xffffffff); TextDrawSetProportional(prachy,1); TextDrawSetShadow(prachy,0); TextDrawShowForPlayer(playerid, prachy); return 1; } Link to comment Share on other sites More sharing options...
1Kubad1 18 Odesláno: 14. Květen, 2013 Author Share Odesláno: 14. Květen, 2013 Text Draw Show ForPlayer ? #include <a_samp> new Text:prachy; public OnPlayerConnect(playerid) { prachy = TextDrawCreate(495.000000,80.000000,"CZK"); TextDrawAlignment(prachy,0); TextDrawBackgroundColor(prachy,0); TextDrawFont(prachy,2); TextDrawLetterSize(prachy,0.299999,1.000000); TextDrawColor(prachy,0xffffffff); TextDrawSetProportional(prachy,1); TextDrawSetShadow(prachy,0); TextDrawShowForPlayer(playerid, prachy); return 1; } takle mi to ukazal textdraw editro Link to comment Share on other sites More sharing options...
Paulo* 32 Odesláno: 14. Květen, 2013 Share Odesláno: 14. Květen, 2013 co tak do udelat do promenne new Text:prachy[MAX_PLAYERS]; prachy[playerid] textdraw daj do onplayerconnect ako mas tu .. a do onplayerspawn daj text zobrazit Link to comment Share on other sites More sharing options...
1Kubad1 18 Odesláno: 14. Květen, 2013 Author Share Odesláno: 14. Květen, 2013 pockej mam takovy problem potrebuju barva penez a potrebuju ten text dat okolo cernym mam takovou otazku kdyz udelam € tak mi to hodi nakou debilitu Link to comment Share on other sites More sharing options...
Paulo* 32 Odesláno: 14. Květen, 2013 Share Odesláno: 14. Květen, 2013 fuha ale uz to zobrazi? Link to comment Share on other sites More sharing options...
1Kubad1 18 Odesláno: 14. Květen, 2013 Author Share Odesláno: 14. Květen, 2013 fuha ale uz to zobrazi? jo jen to euro Link to comment Share on other sites More sharing options...
Paulo* 32 Odesláno: 14. Květen, 2013 Share Odesláno: 14. Květen, 2013 tak zobrazi to € alebo ne Link to comment Share on other sites More sharing options...
1Kubad1 18 Odesláno: 14. Květen, 2013 Author Share Odesláno: 14. Květen, 2013 takovy divny á Link to comment Share on other sites More sharing options...
Paulo* 32 Odesláno: 14. Květen, 2013 Share Odesláno: 14. Květen, 2013 tak skus zmenit font Link to comment Share on other sites More sharing options...
1Kubad1 18 Odesláno: 14. Květen, 2013 Author Share Odesláno: 14. Květen, 2013 jaky bys doporucil ? Link to comment Share on other sites More sharing options...
Hrb™ 48 Odesláno: 14. Květen, 2013 Share Odesláno: 14. Květen, 2013 Proč jsem píšeš s každou blbostí? jaky bys doporucil ? Máš 4 typy, fakt je tak těžký si je všechny zkusit? Link to comment Share on other sites More sharing options...
1Kubad1 18 Odesláno: 14. Květen, 2013 Author Share Odesláno: 14. Květen, 2013 Proč jsem píšeš s každou blbostí? jaky bys doporucil ? Máš 4 typy, fakt je tak těžký si je všechny zkusit? kterej je podle neho nejhezci protoze me se moc nelibi zadny Link to comment Share on other sites More sharing options...
Guest W!zard Odesláno: 14. Květen, 2013 Share Odesláno: 14. Květen, 2013 2. Link to comment Share on other sites More sharing options...
1Kubad1 18 Odesláno: 14. Květen, 2013 Author Share Odesláno: 14. Květen, 2013 jesli by mel nekdo zajem pošlu tomu ty eura protoze jsem laskavy Link to comment Share on other sites More sharing options...
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