Textdraw problem
#4

PHP код:
public Time(playerid){
TextDrawDestroy(Textdraw1);
new 
Year,Month,Day,Hour,Minute,Second;
getdate(Day,Month,Year);
gettime(Hour,Minute,Second);
format(String,sizeof(String),"%i/%i/%i ; %i:%i:%i",Day,Month,Year,Hour,Minute,Second);
Textdraw1 TextDrawCreate(523.000000436.000000String);
TextDrawBackgroundColor(Textdraw1255);
TextDrawFont(Textdraw13);
TextDrawLetterSize(Textdraw10.2900001.100000);
TextDrawColor(Textdraw1, -1);
TextDrawSetOutline(Textdraw11);
TextDrawSetProportional(Textdraw11);
TextDrawShowForPlayer(playeridTextdraw1);
return 
1;}
public 
GPU(playerid){
GPUpdate(playerid);
return 
1;}
stock GPUpdate(playerid){
format(String,sizeof(String),"GP: %s",Comma(DOF2_GetInt(pFile(playerid),"GP")));
TextDrawDestroy(Textdraw0);
Textdraw0 TextDrawCreate(1.000000429.000000String);
TextDrawBackgroundColor(Textdraw0255);
TextDrawFont(Textdraw01);
TextDrawLetterSize(Textdraw00.4199992.099999);
TextDrawColor(Textdraw016777215);
TextDrawSetOutline(Textdraw01);
TextDrawSetProportional(Textdraw01);
TextDrawShowForPlayer(playeridTextdraw0);
return 
1;} 
Reply


Messages In This Thread
Textdraw problem - by Lirbo - 05.06.2015, 18:32
Re: Textdraw problem - by Azula - 05.06.2015, 18:33
Re: Textdraw problem - by SoFahim - 06.06.2015, 06:40
Re: Textdraw problem - by Lirbo - 06.06.2015, 07:41
Re: Textdraw problem - by Sawalha - 06.06.2015, 08:12
Re: Textdraw problem - by Lirbo - 11.06.2015, 16:10

Forum Jump:


Users browsing this thread: 1 Guest(s)