Datum geht nicht

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • hey bei mir kommt dieser Fehler: error 017: undefined symbol "Day"
    Datum = TextDrawCreate(548.000000, 427.000000, " "); // 546.000000, 14.000000
    TextDrawBackgroundColor(Datum, 255);
    TextDrawFont(Datum, 2);
    TextDrawLetterSize(Datum, 0.300000, 1.200000);
    TextDrawColor(Datum, -1);
    TextDrawSetOutline(Datum, 1);
    TextDrawSetProportional(Datum, 1);
    format(string,sizeof(string),"%02d/%02d/%02d",Day,Month,Year);
    TextDrawSetString(Datum,string);


    new Text:Datum;
    TextDrawShowForPlayer(playerid,Datum);

  • new year,month,day;
    getdate(year,month,day);



    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(467) : error 021: symbol already defined: "getdate"
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(11684) : error 017: undefined symbol "Day"
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(23452) : warning 219: local variable "year" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(23452) : warning 219: local variable "month" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(23452) : warning 219: local variable "day" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(28302) : warning 219: local variable "year" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(28302) : warning 219: local variable "month" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(28302) : warning 219: local variable "day" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(28456) : warning 219: local variable "year" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(28456) : warning 219: local variable "month" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(28456) : warning 219: local variable "day" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(28525) : warning 219: local variable "year" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(28525) : warning 219: local variable "month" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(28525) : warning 219: local variable "day" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(28583) : warning 219: local variable "year" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(28583) : warning 219: local variable "month" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(28583) : warning 219: local variable "day" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(28593) : warning 219: local variable "year" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(28593) : warning 219: local variable "month" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(28593) : warning 219: local variable "day" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(28655) : warning 219: local variable "year" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(28655) : warning 219: local variable "month" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(28655) : warning 219: local variable "day" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(28688) : warning 219: local variable "year" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(28688) : warning 219: local variable "month" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(28688) : warning 219: local variable "day" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(28860) : warning 219: local variable "year" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(28860) : warning 219: local variable "month" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(28860) : warning 219: local variable "day" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(39431) : warning 219: local variable "year" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(39431) : warning 219: local variable "month" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(39431) : warning 219: local variable "day" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(40368) : warning 219: local variable "day" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(40368) : warning 219: local variable "month" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(40368) : warning 219: local variable "year" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(40394) : warning 219: local variable "year" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(42005) : warning 219: local variable "year" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(42005) : warning 219: local variable "month" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(42005) : warning 219: local variable "day" shadows a variable at a preceding level
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(42882) : warning 203: symbol is never used: "day"
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(42882) : warning 203: symbol is never used: "month"
    C:\Users\HP\Desktop\DRP v.1.2\gamemodes\LOH.pwn(42882) : warning 203: symbol is never used: "year"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    2 Errors.

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen