Detaljan opis problema: Ne mogu da reÅ¡im jedan error,napravio sam da ako je vozilo od PD da zakaÄi 3d text za njega,stavio sam to pod OnGameModeInit ali dobijam error :
(22858) : error 035: argument type mismatch (argument 1)Dio skripte:
#define KOLICINA_PD_VOZILA 30
new pdstring;
new Text3D:PDLabelPod OnGameModeInit:
for(new i = 0; i < sizeof(CopCar); i++)
{
format(pdstring,sizeof(pdstring),"[ MILICIJA ]");
PDLabel = CreateDynamic3DTextLabel(pdstring ,0xB4B5B7FF,0, 0, 0, 15, 0, 1);
Attach3DTextLabelToVehicle(PDLabel,CopCar,0,0,0);
}Linija 22858:
Attach3DTextLabelToVehicle(PDLabel,CopCar,0,0,0);public IsACopCar(carid)
{
for(new i = 0; i < sizeof(CopCar); i++)
{
if(carid == CopCar) return 1;
}
return 0;
}
