Problem beim gangjail

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
  • Habe diese errors:


    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(4213) : error 017: undefined symbol "string"
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(4213) : error 017: undefined symbol "string"
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(4213) : error 029: invalid expression, assumed zero
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(4213) : 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.


    hier sind die zeilen dazu:


    if(InGangJail[playerid] == 1)//4211
    {//4212
    format(string,sizeof(string),"AdmCmd: %s ist im Gangjail gestorben! Er wird automatisch zurück teleportiert.",PlayerName(playerid));/4213
    ABroadCast(COLOR_LIGHTRED,string,1);//4213
    SetPlayerInterior(playerid, 0);/4214
    SetPlayerPos(playerid,-1634.9923,-2239.2424,31.4766);//4215
    UnFreezePlayer(playerid);//4216
    PlayerTied[playerid] = 0;//4217
    InGangJail[playerid] = 1;//4218
    }

  • Neue fehler :D


    C:\Users\Patrik\Desktop\samp server\pawno\include\utils.inc(1) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\samp server\pawno\include\dini.inc(239) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\samp server\pawno\include\SII.inc(260) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\samp server\pawno\include\M_Bot.inc(143) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\samp server\pawno\include\M_Bot.inc(288) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(2237) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(2274) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(2383) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(2560) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(3029) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(3178) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(3393) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(3404) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(3498) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(3512) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(3553) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(3602) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(3623) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(3670) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(3893) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(4214) : error 017: undefined symbol "PlayerName"
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(4225) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(4611) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(4621) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(4631) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(4640) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(4649) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(4658) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(4667) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(4676) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(4689) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(4735) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(5414) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(5428) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(5579) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(5635) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(7510) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(7848) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(8195) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(8884) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(8914) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(10692) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(10818) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(10837) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(11188) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(11442) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(11447) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(11463) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(11477) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(11490) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(11503) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(11519) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(11532) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(11546) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(11559) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(11572) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(11675) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(12619) : error 017: undefined symbol "CheckLock"
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(12631) : error 017: undefined symbol "CheckLock"
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(13863) : error 017: undefined symbol "CheckLock"
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(13897) : error 017: undefined symbol "CheckLock"
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(13957) : error 017: undefined symbol "CheckLock"
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(13963) : error 017: undefined symbol "CheckLock"
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(14109) : error 017: undefined symbol "CheckLock"
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(14116) : error 017: undefined symbol "CheckLock"
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(14130) : error 017: undefined symbol "CheckLock"
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(14137) : error 017: undefined symbol "CheckLock"
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(14149) : error 017: undefined symbol "CheckLock"
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(14156) : error 017: undefined symbol "CheckLock"
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(19359) : error 017: undefined symbol "playername"
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(19359) : error 017: undefined symbol "playername"
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(19359) : error 029: invalid expression, assumed zero
    C:\Users\Patrik\Desktop\pwns\V.1.2 (Insel + Zollpass)\NewlifeRP.pwn(19359) : fatal error 107: too many error messages on one line


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    17 Errors.

  • new string nicht ganz oben sondern innerhalb von der Abfrage also so


    if(blablabla)
    {
    //HIER new string[150];
    bla
    bla
    bla
    }


    PsySys