ich wollte ein 3dblinkersystem machen aber ich bekomme 4 errors
error 027: invalid character constant
hier einmal die zeilen
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
new Float:X,Float:Y,Float:Z;
new Text3D:blright, Text3D:blleft;
new Text3D:blright2, Text3D: blleft2;
GetPlayerPos(playerid,X,Y,Z);
if(PRESSED(KEY_LOOK_RIGHT))
{
if(Blinkerrechts[playerid] == 0)
{
blright = Create3DTextLabel(" |---------|\ ",hellgrün,X,Y,Z,30.0,0);//das ist eine zeile mit 2 errors
blright2 = Create3DTextLabel("|---------|/ ",hellgrün,X,Y,Z,30.0,0);
Attach3DTextLabelToVehicle(blright,GetPlayerVehicleID(playerid),0.0,0.0,2.0);
Attach3DTextLabelToVehicle(blright2,GetPlayerVehicleID(playerid),0.0,0.0,2.0);
Blinkerrechts[playerid] = 1;
return 1;
}
if(Blinkerrechts[playerid] == 1)
{
Delete3DTextLabel(blright);
Blinkerrechts[playerid] = 0;
return 1;
}
return 1;
}
if(PRESSED(KEY_LOOK_LEFT))
{
if(Blinkerlinks[playerid] == 0)
{
blleft = Create3DTextLabel( "/=========|",hellgrün,X,Y,Z,30.0,0,0);//das ist eine zeile mit 2 errors
blleft2 = Create3DTextLabel("\=========|",hellgrün,X,Y,Z,30.0,0,0);
Attach3DTextLabelToVehicle(blleft,GetPlayerVehicleID(playerid),0.0,0.0,2.0);
Attach3DTextLabelToVehicle(blleft2,GetPlayerVehicleID(playerid),0.0,0.0,2.0);
Blinkerlinks[playerid] = 1;
return 1;
}
if(Blinkerlinks[playerid] == 2)
{
Delete3DTextLabel(blleft);
Blinkerlinks[playerid] = 0;
return 1;
}
return 1;
}
return 1;
}
bitte um help danke