Hier einmal code: public OnPlayerSpawn(playerid)
{
NameDraw[playerid] = CreatePlayerTextDraw(playerid, 539.375000, 330.166625, "Name:");
PlayerTextDrawLetterSize(playerid, NameDraw[playerid], 0.259999, 1.588333);
PlayerTextDrawAlignment(playerid, NameDraw[playerid], 1);
PlayerTextDrawColor(playerid, NameDraw[playerid], -1);
PlayerTextDrawSetShadow(playerid, NameDraw[playerid], 0);
PlayerTextDrawSetOutline(playerid, NameDraw[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, NameDraw[playerid], 51);
PlayerTextDrawFont(playerid, NameDraw[playerid], 2);
PlayerTextDrawSetProportional(playerid, NameDraw[playerid], 1);
return 1;
}
Errors C:\Dokumente und Einstellungen\Maurice\Desktop\Maurice RolePlay\gamemodes\script.pwn(366) : error 028: invalid subscript (not an array or too many subscripts): "NameDraw"
C:\Dokumente und Einstellungen\Maurice\Desktop\Maurice RolePlay\gamemodes\script.pwn(366) : warning 215: expression has no effect
C:\Dokumente und Einstellungen\Maurice\Desktop\Maurice RolePlay\gamemodes\script.pwn(366) : error 001: expected token: ";", but found "]"
C:\Dokumente und Einstellungen\Maurice\Desktop\Maurice RolePlay\gamemodes\script.pwn(366) : error 029: invalid expression, assumed zero
C:\Dokumente und Einstellungen\Maurice\Desktop\Maurice RolePlay\gamemodes\script.pwn(366) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.