08.10.2010, 23:45
(
Последний раз редактировалось Unte99; 08.10.2010 в 23:57.
)
Код:
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); }
Код:
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
Код:
stock OutputGas(playerid,vehicleid,bool:entered){
Код:
vehicleid,bool:entered
EDIT: The gas still won't show up. And when i delete those, it gets worse.