"From gametext to textdraw" problem.
#6

Код:
stock OutputGas(playerid,vehicleid,bool:entered){

new Text:Kuras;
new msg[256];

if(entered) 
{
	format(msg,255," %s Degalai:~w~ %i l",aVehicleNames[GetVehicleModel(vehicleid)-400],vehicleDB[vehicleid][gas]);
}else{
	format(msg,255,"Degalai:~w~ %i l",vehicleDB[vehicleid][gas]);
}
TextDrawSetString(Kuras, msg);

Kuras = TextDrawCreate(515.000000, 432.000000, "msg");
TextDrawBackgroundColor(Kuras, 255);
TextDrawFont(Kuras, 1);
TextDrawLetterSize(Kuras, 0.370000, 1.300000);
TextDrawColor(Kuras, -1);
TextDrawSetOutline(Kuras, 1);
TextDrawSetProportional(Kuras, 1);
TextDrawShowForPlayer(Kuras, playerid, msg); //360 line

SetTimer("OutputGas", 1000,true);

}
And i get:

Код:
data/functions.txt(360) : warning 213: tag mismatch
data/functions.txt(360) : warning 213: tag mismatch
data/functions.txt(360) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
I believe that this got to do something with the

Код:
stock OutputGas(playerid,vehicleid,bool:entered){
Maybe i don't need these:

Код:
vehicleid,bool:entered
?

EDIT: The gas still won't show up. And when i delete those, it gets worse.
Reply


Messages In This Thread
"From gametext to textdraw" problem. - by Unte99 - 08.10.2010, 18:10
Re: "From gametext to textdraw" problem. - by CrucixTM - 08.10.2010, 20:47
Re: "From gametext to textdraw" problem. - by willsuckformoney - 08.10.2010, 20:49
Re: "From gametext to textdraw" problem. - by Unte99 - 08.10.2010, 21:17
Re: "From gametext to textdraw" problem. - by Sascha - 08.10.2010, 22:35
Re: "From gametext to textdraw" problem. - by Unte99 - 08.10.2010, 23:45
Re: "From gametext to textdraw" problem. - by willsuckformoney - 08.10.2010, 23:48
Re: "From gametext to textdraw" problem. - by Unte99 - 09.10.2010, 00:02
Re: "From gametext to textdraw" problem. - by willsuckformoney - 09.10.2010, 00:04
Re: "From gametext to textdraw" problem. - by Unte99 - 09.10.2010, 00:26

Forum Jump:


Users browsing this thread: 3 Guest(s)