Jobcenter Help

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
  • Hallo wollte jobcenter selbst machen.Kann mir jemand helfen hab schon alles programiert.Habe GGF.
    if(dialogid==jobcenter1)
    {
    PlayerInfo[pJob] = level;
    SendClientMessage(playerid,COLOR_LIGHTGREEN,"Du hast einen Job.");
    if(response)
    {
    if(listitem == 0)
    {
    (level == 1)
    }
    if(listitem == 1)
    {
    (level == 2)
    }
    if(listitem == 2)
    {
    (level == 3)
    }
    if(listitem == 3)
    {
    (level == 4)
    }
    if(listitem == 4)
    {
    (level == 5)
    }
    if(listitem == 5)
    {
    (level == 6)
    }
    if(listitem == 6)
    {
    (level == 7)
    }
    if(listitem == 7)
    {
    (level == 8)
    }
    if(listitem == 8)
    {
    (level == 9)
    }
    if(listitem == 9)
    {
    (level == 10)
    }
    if(listitem == 10)
    }
    (level == 11)
    }
    if(listitem == 11)
    {
    (level == 12)
    }
    if(listitem == 12)
    {
    (level == 13)
    }
    if(listitem == 13)
    {
    (level == 14)
    }
    }
    }
    }
    Kriege errors:
    C:\Users\Adrian\Desktop\samp03bsvr_R2_win32\gamemodes\GFF.pwn(2189) : warning 225: unreachable code
    C:\Users\Adrian\Desktop\samp03bsvr_R2_win32\gamemodes\GFF.pwn(2197) : warning 209: function "OnPlayerConnect" should return a value
    C:\Users\Adrian\Desktop\samp03bsvr_R2_win32\gamemodes\GFF.pwn(3845) : warning 202: number of arguments does not match definition
    C:\Users\Adrian\Desktop\samp03bsvr_R2_win32\gamemodes\GFF.pwn(6920) : warning 202: number of arguments does not match definition
    C:\Users\Adrian\Desktop\samp03bsvr_R2_win32\gamemodes\GFF.pwn(7067) : warning 213: tag mismatch
    C:\Users\Adrian\Desktop\samp03bsvr_R2_win32\gamemodes\GFF.pwn(8523) : warning 202: number of arguments does not match definition
    C:\Users\Adrian\Desktop\samp03bsvr_R2_win32\gamemodes\GFF.pwn(8530) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Adrian\Desktop\samp03bsvr_R2_win32\gamemodes\GFF.pwn(8593) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Adrian\Desktop\samp03bsvr_R2_win32\gamemodes\GFF.pwn(8611) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Adrian\Desktop\samp03bsvr_R2_win32\gamemodes\GFF.pwn(26760) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
    C:\Users\Adrian\Desktop\samp03bsvr_R2_win32\gamemodes\GFF.pwn(26933) : error 010: invalid function or declaration
    C:\Users\Adrian\Desktop\samp03bsvr_R2_win32\gamemodes\GFF.pwn(26937) : error 010: invalid function or declaration
    C:\Users\Adrian\Desktop\samp03bsvr_R2_win32\gamemodes\GFF.pwn(26939) : error 010: invalid function or declaration
    C:\Users\Adrian\Desktop\samp03bsvr_R2_win32\gamemodes\GFF.pwn(26943) : error 010: invalid function or declaration
    C:\Users\Adrian\Desktop\samp03bsvr_R2_win32\gamemodes\GFF.pwn(26947) : error 010: invalid function or declaration
    C:\Users\Adrian\Desktop\samp03bsvr_R2_win32\gamemodes\GFF.pwn(26951) : error 010: invalid function or declaration
    C:\Users\Adrian\Desktop\samp03bsvr_R2_win32\gamemodes\GFF.pwn(26955) : error 010: invalid function or declaration
    C:\Users\Adrian\Desktop\samp03bsvr_R2_win32\gamemodes\GFF.pwn(26959) : error 010: invalid function or declaration
    C:\Users\Adrian\Desktop\samp03bsvr_R2_win32\gamemodes\GFF.pwn(26963) : error 010: invalid function or declaration
    C:\Users\Adrian\Desktop\samp03bsvr_R2_win32\gamemodes\GFF.pwn(26967) : error 010: invalid function or declaration
    C:\Users\Adrian\Desktop\samp03bsvr_R2_win32\gamemodes\GFF.pwn(26971) : error 010: invalid function or declaration
    C:\Users\Adrian\Desktop\samp03bsvr_R2_win32\gamemodes\GFF.pwn(26975) : error 010: invalid function or declaration
    C:\Users\Adrian\Desktop\samp03bsvr_R2_win32\gamemodes\GFF.pwn(26979) : error 010: invalid function or declaration
    C:\Users\Adrian\Desktop\samp03bsvr_R2_win32\gamemodes\GFF.pwn(26983) : error 010: invalid function or declaration
    C:\Users\Adrian\Desktop\samp03bsvr_R2_win32\gamemodes\GFF.pwn(26987) : error 010: invalid function or declaration
    C:\Users\Adrian\Desktop\samp03bsvr_R2_win32\gamemodes\GFF.pwn(26991) : error 010: invalid function or declaration
    C:\Users\Adrian\Desktop\samp03bsvr_R2_win32\gamemodes\GFF.pwn(26998) : warning 203: symbol is never used: "AUFTOR"
    C:\Users\Adrian\Desktop\samp03bsvr_R2_win32\gamemodes\GFF.pwn(26998) : warning 203: symbol is never used: "ZKX_OnGameModeInit"
    C:\Users\Adrian\Desktop\samp03bsvr_R2_win32\gamemodes\GFF.pwn(26998) : warning 203: symbol is never used: "ZKX_OnPlayerConnect"
    C:\Users\Adrian\Desktop\samp03bsvr_R2_win32\gamemodes\GFF.pwn(26998) : warning 203: symbol is never used: "ZKX_OnPlayerStateChange"
    C:\Users\Adrian\Desktop\samp03bsvr_R2_win32\gamemodes\GFF.pwn(26998) : warning 203: symbol is never used: "ZKX_SetGPSSystemOff"
    C:\Users\Adrian\Desktop\samp03bsvr_R2_win32\gamemodes\GFF.pwn(26998) : warning 203: symbol is never used: "ZKX_SetGPSSystemOn"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    16 Errors.

    Wollt ihr auf meinen server?
    84.131.207.187:8898