[HELP] Remove background from dialog [HELP] - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP] Remove background from dialog [HELP] (
/showthread.php?tid=565560)
[HELP] Remove background from textdraw [HELP] -
Fantje - 28.02.2015
Hiye!
I don't know how to remove this black background:
Anyone who know?
My code:
PHP код:
public PlayerInfoTimer(){
for(new i=0;i<MAX_SERVER_PLAYERS;i++){
Account[i][Score]=GetPlayerScore(i);
GetPlayerHealth(i,PlayerHealth);
if(Account[i][gTeam]==TEAM_TERRORISTS){
if(ServerInfo[Language]==1)format(string,sizeof(string),"Morti ~w~%d~n~~r~Uccisioni ~w~%d~n~~y~CompagniUccisi ~w~%d~n~~p~Punti ~w~%d~n~~g~Salute ~w~%.f~n~~r~DENARO TERRORISTI: ~w~%d$ ~n~~b~denaro polizia: ~w~%d", Account[i][Deaths], Account[i][GoodKillings], Account[i][BadKillings], Account[i][Score], PlayerHealth+1, CriminalsAmmount, SWATAmmount);
if(ServerInfo[Language]==2)format(string,sizeof(string),"~p~Score ~w~%d~n~~g~Health ~w~%.f~n~~r~TERRORISTS CASH: ~w~%d$ ~n~~b~police cash: ~w~%d", Account[i][Score], PlayerHealth+1, CriminalsAmmount, SWATAmmount);
TextDrawSetString(STATStext[i],string);}
if(Account[i][gTeam]==TEAM_SWAT){
if(ServerInfo[Language]==1)format(string,sizeof(string),"Morti ~w~%d~n~~r~Uccisioni ~w~%d~n~~y~CompagniUccisi ~w~%d~n~~p~Punti ~w~%d~n~~g~Salute ~w~%.f~n~~u~DENARO POLIZIA: ~w~%d ~n~~b~denaro terroristi: ~w~%d", Account[i][Deaths], Account[i][GoodKillings], Account[i][BadKillings], Account[i][Score], PlayerHealth+1, SWATAmmount, CriminalsAmmount);
if(ServerInfo[Language]==2)format(string,sizeof(string),"~p~Score ~w~%d~n~~g~Health ~w~%.f~n~~u~POLICE CASH: ~w~%d ~n~~b~terrorists cash: ~w~%d", Account[i][Score], PlayerHealth+1, SWATAmmount, CriminalsAmmount);
TextDrawSetString(STATStext[i],string);}
if(Account[i][gTeam]==TEAM_TERRORISTS){
GivePlayerMoney(i,ResetPlayerMoney(i)+CriminalsAmmount-1);}
if(Account[i][gTeam]==TEAM_SWAT){
GivePlayerMoney(i,ResetPlayerMoney(i)+SWATAmmount-1);}}
return 1;}
Re: [HELP] Remove background from dialog [HELP] -
SweetRP - 28.02.2015
1. It's not a dialog, it's a textdraw. 2. Please give us code of the textdraw...
Re: [HELP] Remove background from dialog [HELP] -
CalvinC - 28.02.2015
It's not a dialog, it's a textdraw.
Just remove the code under your TextDrawCreate that creates the box:
https://sampwiki.blast.hk/wiki/TextDrawUseBox
Re: [HELP] Remove background from dialog [HELP] -
Fantje - 28.02.2015
Ow sorry for saying its a dialog, btw thanks
Re: [HELP] Remove background from dialog [HELP] -
Fantje - 28.02.2015
FIXED
Re: [HELP] Remove background from dialog [HELP] -
SweetRP - 28.02.2015
Glad you fixed your problem!