20.05.2011, 19:47
Hy there.
I have a problem trying to implement a 3dtext.
Im geting this warnings:
and the code is:
what can i do.
im trying to make a 3dtext for cars to show the owners name attached to the vehicle.
any ideeas?
I have a problem trying to implement a 3dtext.
Im geting this warnings:
pawn Код:
E:\Utilitare\Programe Instalate\samp03csvr_R2-2_win32\filterscripts\carownership.pwn(433) : warning 213: tag mismatch
E:\Utilitare\Programe Instalate\samp03csvr_R2-2_win32\filterscripts\carownership.pwn(434) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Warnings.
pawn Код:
public OnFilterScriptInit()
{
printf("Filterscript [FS]CarOwnership.amx Initiated\n");
LoadCar();
for(new h = carsonserver; h < sizeof(CarInfo); h++)
{
AddStaticVehicleEx(CarInfo[h][cModel],CarInfo[h][cLocationx],CarInfo[h][cLocationy],CarInfo[h][cLocationz]+1.0,CarInfo[h][cAngle],CarInfo[h][cColorOne],CarInfo[h][cColorTwo],60000);
new string[128];
new textt;
format(string, sizeof(string), "%s's Vehicle", CarInfo[h][cOwner]);
textt = Create3DTextLabel(string,COLOR_GRAD4,CarInfo[h][cLocationx],CarInfo[h] //fist warning is here[cLocationy],CarInfo[h][cLocationz],30.0,0);
Attach3DTextLabelToVehicle(textt, h, CarInfo[h][cLocationx],CarInfo[h][cLocationy],CarInfo[h] // second is here[cLocationz]);
LoadComponents(h);
}
return 1;
}
im trying to make a 3dtext for cars to show the owners name attached to the vehicle.
any ideeas?