Textdraw [+REP]
#1

I am using it OnPlayerUpdate
Код:
	
       new PlayerText:Textdraw0;
	new string[18];
	format(string, sizeof(string), "Score: %i", GetPlayerScore(playerid));

	CreatePlayerTextDraw(playerid, 501.000000, 100.000000, string);
	PlayerTextDrawBackgroundColor(playerid,Textdraw0, -1);
	PlayerTextDrawFont(playerid,Textdraw0, 1);
	PlayerTextDrawLetterSize(playerid,Textdraw0, 0.320000, 0.799999);
	PlayerTextDrawColor(playerid,Textdraw0, 65535);
	PlayerTextDrawSetOutline(playerid,Textdraw0, 1);
	PlayerTextDrawSetProportional(playerid,Textdraw0, 1);
	PlayerTextDrawUseBox(playerid,Textdraw0, 1);
	PlayerTextDrawBoxColor(playerid,Textdraw0, 0x00000044);
	PlayerTextDrawTextSize(playerid,Textdraw0, 606.000000, 0.000000);
	PlayerTextDrawSetSelectable(playerid,Textdraw0, 0);
I get these warnings
Код:
warning 219: local variable "string" shadows a variable at a preceding level
warning 219: local variable "string" shadows a variable at a preceding level
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Warnings.
Reply


Messages In This Thread
Textdraw [+REP] - by [SU]Spartan - 28.04.2016, 06:14
Re: Textdraw [+REP] - by CalvinC - 28.04.2016, 06:26
Re: Textdraw [+REP] - by [SU]Spartan - 28.04.2016, 06:29
Re: Textdraw [+REP] - by itsCody - 28.04.2016, 06:56
Re: Textdraw [+REP] - by colonel-top - 28.04.2016, 07:24

Forum Jump:


Users browsing this thread: 1 Guest(s)