Beiträge von CapriZ

    Ich habe hir was erstellt und das will sich ingame nicht öffnen da steht dann immer Server Unknow Command -.- ?


    if (strcmp("/ranks", cmdtext, true, 10) == 0) { SendClientMessage(playerid,GRÜN,"===============[AdminLevel]==============="); SendClientMessage(playerid,BLAU,"Rank 1 = |Mapper|"); SendClientMessage(playerid,GELB,"Rank 2 = |Community-Leitung|"); SendClientMessage(playerid,ORANGE,"Rank 3 = |Supporter|"); }



    Bitte Helft mitr :)

    wie lasse ich dieses Tor bewegen


    ich habe oben


    new ballastor



    und unten das -->


    ocmd:btor(playerid, params[]){ if(IstSpielerInFraktion(playerid,2))return SCM(playerid,ROT,"Du bist kein Ballas homie."); if(IsPlayerInRangeOfPoint(playerid, 5.0 ,1141.0999755859, -1206.5, 20.5))return SCM(playerid,ROT,"Du bist nicht beim Ballas Tor."); MoveObject(ballastor,1141.0999755859, -1206.5, 20.5-10, 0, 0, 271.70556640625); SetTimer("BallasTor",5000,false); SCM(playerid,0x7D0000FF,"Beeil dich das Tor Schließt sich in 5 sekunden."); return 1;}
    public BallasTor (){ MoveObject(ballastor,1141.0999755859, -1206.5, 20.5, 0, 0, 271.70556640625); return 1;}



    und das will nicht nach unten :( wisoo ?

    Die Errors :


    C:\Users\jan\Desktop\SAMP\test\gamemodes\test.pwn(116) : warning 225: unreachable code
    C:\Users\jan\Desktop\SAMP\test\gamemodes\test.pwn(116) : warning 217: loose indentation
    C:\Users\jan\Desktop\SAMP\test\gamemodes\test.pwn(116) : error 029: invalid expression, assumed zero
    C:\Users\jan\Desktop\SAMP\test\gamemodes\test.pwn(116) : error 017: undefined symbol "ocmd_makeleader"
    C:\Users\jan\Desktop\SAMP\test\gamemodes\test.pwn(116) : error 029: invalid expression, assumed zero
    C:\Users\jan\Desktop\SAMP\test\gamemodes\test.pwn(116) : fatal error 107: too many error messages on one line


    ocmd:makeleader(playerid,params[]){ if(!isPlayerAnAdmin(playerid,3))return SendClientMessage(playerid,ROT,"Rang zu Niedrig."); new pID,fID; if(sscanf(params,"ui",pID,fID))return SendClientMessage(playerid,BLAU,"/makeleader [playerid] [fraktionsid]"); SetPVarInt(pID,"Fraktion",fID); SendClientMessage(playerid,BLAU,"Erfolgreich."); return 1;}



    Wiso :O ?

    Die Errors ;( :



    C:\Users\jan\Desktop\SAMP\test\gamemodes\test.pwn(116) : warning 225: unreachable code
    C:\Users\jan\Desktop\SAMP\test\gamemodes\test.pwn(116) : warning 217: loose indentation
    C:\Users\jan\Desktop\SAMP\test\gamemodes\test.pwn(116) : error 029: invalid expression, assumed zero
    C:\Users\jan\Desktop\SAMP\test\gamemodes\test.pwn(116) : error 017: undefined symbol "ocmd_makeleader"
    C:\Users\jan\Desktop\SAMP\test\gamemodes\test.pwn(116) : error 029: invalid expression, assumed zero
    C:\Users\jan\Desktop\SAMP\test\gamemodes\test.pwn(116) : fatal error 107: too many error messages on one line


    ocmd:makeleader(playerid,params[]){ if(!isPlayerAnAdmin(playerid,3))return SendClientMessage(playerid,ROT,"Rang zu Niedrig."); new pID,fID; if(sscanf(params,"ui",pID,fID))return SendClientMessage(playerid,BLAU,"/makeleader [playerid] [fraktionsid]"); SetPVarInt(pID,"Fraktion",fID); SendClientMessage(playerid,BLAU,"Erfolgreich."); return 1;}