Hi habe nochmal paar Text draw fehlers.
C:\Users\Home\Desktop\[SAR] San Andreas Roleplay\gamemodes\SAR.pwn(77) : error 017: undefined symbol "Textdraw0"
C:\Users\Home\Desktop\[SAR] San Andreas Roleplay\gamemodes\SAR.pwn(78) : error 017: undefined symbol "Textdraw1"
C:\Users\Home\Desktop\[SAR] San Andreas Roleplay\gamemodes\SAR.pwn(79) : error 017: undefined symbol "Textdraw0"
C:\Users\Home\Desktop\[SAR] San Andreas Roleplay\gamemodes\SAR.pwn(79) : warning 215: expression has no effect
C:\Users\Home\Desktop\[SAR] San Andreas Roleplay\gamemodes\SAR.pwn(79) : error 001: expected token: ";", but found "]"
C:\Users\Home\Desktop\[SAR] San Andreas Roleplay\gamemodes\SAR.pwn(79) : error 029: invalid expression, assumed zero
C:\Users\Home\Desktop\[SAR] San Andreas Roleplay\gamemodes\SAR.pwn(79) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
6 Errors.
Code:
public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid,Textdraw0);
TextDrawShowForPlayer(playerid,Textdraw1);
PlayerTextDrawShow(playerid,Textdraw0[playerid]);
//Player Textdraws:
new PlayerText:Textdraw0[MAX_PLAYERS];
Textdraw0[playerid] = CreatePlayerTextDraw(playerid, 245.777847, 198.115524, "Login oder Register");
PlayerTextDrawLetterSize(playerid, Textdraw0[playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Textdraw0[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw0[playerid], -1);
PlayerTextDrawSetShadow(playerid, Textdraw0[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw0[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Textdraw0[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw0[playerid], 1);
PlayerTextDrawSetProportional(playerid, Textdraw0[playerid], 1);
PlayerTextDrawSetSelectable(playerid, Textdraw0[playerid], true);
return 1;
}