TextDraw
#1

What Is problem in this textdraw ?

PHP код:
new Text:bankcash;
public 
OnGameModeInit(){
    
bankcash TextDrawCreate(445.599884336.000030,"$0001000");
    
TextDrawAlignment(bankcash,0);
    
TextDrawBackgroundColor(bankcash,0x000000ff);
    
TextDrawFont(bankcash,3);
    
TextDrawLetterSize(bankcash,0.399999,1.700000);
    
TextDrawColor(bankcash,0xff0000ff);
    
TextDrawSetOutline(bankcash,1);
    
TextDrawSetProportional(bankcash,1);
    
TextDrawSetShadow(bankcash,1);
return 
1;
}
public 
OnPlayerConnect(playerid){
settimer("bankcashupdate",1000,1);
return 
1;
}
forward bankcashupdate(playerid);
public 
bankcashupdate(playerid){
new 
strline[41];
format(strline,sizeof(strline),"{66FFFF}${FFFFFF}%d.",PlayerInfo[playerid][bank]);
TextDrawSetString(bankcashstrline);
TextDrawShowForPlayer(playeridbankcash);
return 
1;

Reply


Messages In This Thread
TextDraw - by Ahmedredaibrahim - 29.12.2015, 17:56
Re: TextDraw - by lucamsx - 29.12.2015, 22:20
Re: TextDraw - by Banana_Ghost - 29.12.2015, 22:22
Re: TextDraw - by Ahmedredaibrahim - 30.12.2015, 06:52

Forum Jump:


Users browsing this thread: 1 Guest(s)