Beiträge von airplaNe

    LOL HAHA :D
    Jetzt bemerk ich das erst. HäÄ?! :DD
    Moment, ich editier mal xD


    Edit : Ich hab Editiert, aber Ingame spuckt er trzd ein "Den Command (blabla) scheint es nicht zu geben" aus..


    public OnPlayerCommandText(playerid, cmdtext[])
    {


    new stringx[128];
    format(stringx,sizeof(stringx),"Den Command (%s) scheint es nicht zu geben.",cmdtext);
    return SendClientMessage(playerid,0xFFFFFFFF,stringx);
    if (strcmp("/deagle", cmdtext, true, 10) == 0)
    {
    SendClientMessage(playerid, 0xFF8000FF, "Hier hast du eine Deagle.");
    GivePlayerWeapon(playerid, 24, 99999);

    if(!strcmp("/warmupverlassen",cmdtext, true))
    {
    if(IsPlayerInRangeOfPoint(playerid, 11.0, 2387.5325,1143.3420,34.2529))
    {
    SendClientMessage(playerid,0xFF8000FF,"Willkommen am Spawn.");
    SetPlayerPos(playerid, 1488.2256,716.4981,10.8203);
    return 1;
    }
    else
    {
    SendClientMessage(playerid,0xFF8000FF,"Du bist nicht in der Warm Up Runde.");
    }
    return 1;
    }


    if (strcmp("/sirene", cmdtext, true, 10) == 0)
    {
    if(UCL[GetPlayerVehicleID(playerid)] == 0)
    {
    sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene1[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,0,0,0,0,100);
    sirene2[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene3[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0 ,2.6,0,0,0,0);//Vorne Mitte
    AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.5,0.0,0.85,0,0,0);//Dach sirene
    AttachObjectToVehicle(sirene2[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.7,2.6,0,0,0,0);//Vorne Licht Beifahrerseite
    AttachObjectToVehicle(sirene3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.7,2.6,0,0,0,0);//Vorne Licht Fahrerseite
    UCL[GetPlayerVehicleID(playerid)] = 1;
    }
    else if(UCL[GetPlayerVehicleID(playerid)] == 1)
    {
    DestroyObject(sirene[GetPlayerVehicleID(playerid)]);
    DestroyObject(sirene1[GetPlayerVehicleID(playerid)]);
    DestroyObject(sirene2[GetPlayerVehicleID(playerid)]);
    DestroyObject(sirene3[GetPlayerVehicleID(playerid)]);
    UCL[GetPlayerVehicleID(playerid)] = 0;
    }
    }


    }
    return 1;


    }

    public OnPlayerCommandText(playerid, cmdtext[])
    {
    return 0;
    }


    new stringx[128];
    format(stringx,sizeof(stringx),"Den Command (%s) scheint es nicht zu geben.",cmdtext);
    return SendClientMessage(playerid,0xFFFFFFFF,stringx);
    if (strcmp("/deagle", cmdtext, true, 10) == 0)
    {
    SendClientMessage(playerid, 0xFF8000FF, "Hier hast du eine Deagle.");
    GivePlayerWeapon(playerid, 24, 99999);

    if(!strcmp("/warmupverlassen",cmdtext, true))
    {
    if(IsPlayerInRangeOfPoint(playerid, 11.0, 2387.5325,1143.3420,34.2529))
    {
    SendClientMessage(playerid,0xFF8000FF,"Willkommen am Spawn.");
    SetPlayerPos(playerid, 1488.2256,716.4981,10.8203);
    return 1;
    }
    else
    {
    SendClientMessage(playerid,0xFF8000FF,"Du bist nicht in der Warm Up Runde.");
    }
    return 1;
    }


    if (strcmp("/sirene", cmdtext, true, 10) == 0)
    {
    if(UCL[GetPlayerVehicleID(playerid)] == 0)
    {
    sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene1[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,0,0,0,0,100);
    sirene2[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene3[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0 ,2.6,0,0,0,0);//Vorne Mitte
    AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.5,0.0,0.85,0,0,0);//Dach sirene
    AttachObjectToVehicle(sirene2[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.7,2.6,0,0,0,0);//Vorne Licht Beifahrerseite
    AttachObjectToVehicle(sirene3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.7,2.6,0,0,0,0);//Vorne Licht Fahrerseite
    UCL[GetPlayerVehicleID(playerid)] = 1;
    }
    else if(UCL[GetPlayerVehicleID(playerid)] == 1)
    {
    DestroyObject(sirene[GetPlayerVehicleID(playerid)]);
    DestroyObject(sirene1[GetPlayerVehicleID(playerid)]);
    DestroyObject(sirene2[GetPlayerVehicleID(playerid)]);
    DestroyObject(sirene3[GetPlayerVehicleID(playerid)]);
    UCL[GetPlayerVehicleID(playerid)] = 0;
    }
    }


    }
    return 1;


    }


    Zeile 224-279

    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(73) : warning 202: number of arguments does not match definition
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(74) : warning 202: number of arguments does not match definition
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(75) : warning 202: number of arguments does not match definition
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(76) : warning 202: number of arguments does not match definition
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(77) : warning 202: number of arguments does not match definition
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(78) : warning 202: number of arguments does not match definition
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(79) : warning 202: number of arguments does not match definition
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(80) : warning 202: number of arguments does not match definition
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(230) : error 021: symbol already defined: "format"
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(231) : error 010: invalid function or declaration
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(232) : error 010: invalid function or declaration
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(237) : error 010: invalid function or declaration
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(239) : error 010: invalid function or declaration
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(243) : error 010: invalid function or declaration
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(245) : error 010: invalid function or declaration
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(249) : error 010: invalid function or declaration
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(252) : error 010: invalid function or declaration
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(254) : error 010: invalid function or declaration
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(266) : error 010: invalid function or declaration
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(276) : error 054: unmatched closing brace ("}")
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(277) : error 010: invalid function or declaration
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(279) : error 054: unmatched closing brace ("}")
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(420) : warning 235: public function lacks forward declaration (symbol "UpdateTime")
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(427) : warning 235: public function lacks forward declaration (symbol "PayDay")
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(576) : warning 203: symbol is never used: "stringx"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    14 Errors.


    if(!strcmp("/warmupverlassen",cmdtext, true, 10) == 0)
    {
    if(IsPlayerInRangeOfPoint(playerid, 11.0, 2387.5325,1143.3420,34.2529))
    {
    SendClientMessage(playerid,0xFF8000FF,"Willkommen am Spawn.");
    SetPlayerPos(playerid, 1488.2256,716.4981,10.8203);
    return 1;
    }
    else
    {
    SendClientMessage(playerid,0xFF8000FF,"Du bist nicht in der Warm Up Runde.");
    }
    return 1;
    }


    Zeile 236-248 sind das..

    Hi Leute, ich hab ein Problem.
    Immer wenn ich den Command eingebe, funktioniert er nicht.
    Ich hab noch einen anderen Command Namens /deagle drin, wo auf einmal Sätze aus meinem anderen Command kommen.


    if(!strcmp("/warmupverlassen",cmdtext, true, 10) == 0)
    {
    if(IsPlayerInRangeOfPoint(playerid, 11.0, 2387.5325,1143.3420,34.2529))
    {
    SendClientMessage(playerid,0xFF8000FF,"Willkommen am Spawn.");
    SetPlayerPos(playerid, 1488.2256,716.4981,10.8203);
    return 1;
    }
    else
    {
    SendClientMessage(playerid,0xFF8000FF,"Du bist nicht in der Warm Up Runde.");
    }
    return 1;
    }



    Nur Warnings..


    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(73) : warning 202: number of arguments does not match definition
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(74) : warning 202: number of arguments does not match definition
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(75) : warning 202: number of arguments does not match definition
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(76) : warning 202: number of arguments does not match definition
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(77) : warning 202: number of arguments does not match definition
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(78) : warning 202: number of arguments does not match definition
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(79) : warning 202: number of arguments does not match definition
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(80) : warning 202: number of arguments does not match definition
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(174) : warning 217: loose indentation
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(189) : warning 217: loose indentation
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(231) : warning 225: unreachable code
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(231) : warning 217: loose indentation
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(236) : warning 213: tag mismatch
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(251) : warning 217: loose indentation
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(259) : warning 217: loose indentation
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(279) : warning 209: function "OnPlayerCommandText" should return a value
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(420) : warning 235: public function lacks forward declaration (symbol "UpdateTime")
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Rezex.pwn(427) : warning 235: public function lacks forward declaration (symbol "PayDay")
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    18 Warnings.


    Man ist halt direkt nach dem Serverconnect in der Warmup Runde, und kann diese halt Verlassen und spawnt dann am Spawn.

    Hi Leute, ich hab ein Problem.
    Ich habe unter OnGameModeInit die Map eingefügt, und sie ist Ingame einfach nicht da..


    public OnGameModeInit()
    {
    // Don't use these lines if it's a filterscript
    SetGameModeText("Duel Script");


    UsePlayerPedAnims();

    AddPlayerClass(18, 2390.9563,1158.5485,34.2529, 24, 99999, 0, 0, 0, 0); //Class 0
    AddPlayerClass(38, 2390.9563,1158.5485,34.2529, 24, 99999, 0, 0, 0, 0); //Class 1
    AddPlayerClass(49, 2390.9563,1158.5485,34.2529, 24, 99999, 0, 0, 0, 0); //Class 2
    AddPlayerClass(97, 2390.9563,1158.5485,34.2529, 24, 99999, 0, 0, 0, 0); //Class 3
    AddPlayerClass(155, 2390.9563,1158.5485,34.2529, 24, 99999, 0, 0, 0, 0); //Class 4
    AddPlayerClass(176, 2390.9563,1158.5485,34.2529, 24, 99999, 0, 0, 0, 0); //Class 5
    AddPlayerClass(230, 2390.9563,1158.5485,34.2529, 24, 99999, 0, 0, 0, 0);//Class 6
    AddPlayerClass(18, 2390.9563,1158.5485,34.2529, 24, 99999, 0, 0, 0, 0); //Class 7

    // Hier die ganzen "CreateObject"s.
    // Hier die ganzen "CreateObject"s.
    // Hier die ganzen "CreateObject"s.
    // Hier die ganzen "CreateObject"s.
    // Hier die ganzen "CreateObject"s.
    // Hier die ganzen "CreateObject"s.
    // Hier die ganzen "CreateObject"s.
    // Hier die ganzen "CreateObject"s.
    // Hier die ganzen "CreateObject"s.
    // Hier die ganzen "CreateObject"s.





    return 1;
    }


    Am Anfang wurden sie immer angezeigt. aber irgendwann dann nichtmehr..


    Ich hab nur Warnings..


    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\blanki.pwn(44) : warning 202: number of arguments does not match definition
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\blanki.pwn(45) : warning 202: number of arguments does not match definition
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\blanki.pwn(46) : warning 202: number of arguments does not match definition
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\blanki.pwn(47) : warning 202: number of arguments does not match definition
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\blanki.pwn(48) : warning 202: number of arguments does not match definition
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\blanki.pwn(49) : warning 202: number of arguments does not match definition
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\blanki.pwn(50) : warning 202: number of arguments does not match definition
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\blanki.pwn(51) : warning 202: number of arguments does not match definition
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    8 Warnings.


    Was könnte das Problem sein?
    Hoffe auf Hilfe.


    MfG

    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\YakuzaVsTriads.pwn(345) : error 017: undefined symbol "TRIADEN"
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\YakuzaVsTriads.pwn(346) : error 017: undefined symbol "YAKUZA"
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\YakuzaVsTriads.pwn(368) : error 017: undefined symbol "gTeam"
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\YakuzaVsTriads.pwn(368) : error 029: invalid expression, assumed zero
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\YakuzaVsTriads.pwn(368) : error 017: undefined symbol "TEAM_YAKUZA"
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\YakuzaVsTriads.pwn(368) : fatal error 107: too many error messages on one line


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



    6 Errors.


    Zeile 345 & 346:


    TRIADEN = GangZoneCreate(2398.743, -1745.026, 2531.842, -1614.75);
    YAKUZA = GangZoneCreate(1862.4658,-1126.2538, 2072.2546,-1261.1801);


    Zeile 368:


    case 1,2,3,4: gTeam[playerid] = TEAM_YAKUZA; // 1. bis 4. Skins


    Oben im Script :


    // Gangs
    #define TEAM_TRIADEN 1
    #define TEAM_YAKUZA 2


    #define COLOR_YAKUZA 0xAFAFAFAA
    #define COLOR_TRIADEN 0x000088AA



    new TRIADEN;
    new YAKUZA;
    new gTeam[MAX_PLAYERS];


    Ich versteh nicht wieso das dann nicht geht?! :huh:
    Ich hab alles definiert, und Pawno spackt trotzdem rum.


    Ich hoffe ihr könnt mir helfen!
    Bin total am verzweifeln :pinch:

    Jetzt hab ich das Problem, immer wenn ich was mit OCMD einfügen will, kommt'n Error ._.


    Oben hab ich eingefügt :


    #include <ocmd>


    Und unten hab ich das so gemacht :


    ocmd:dm(playerid,params[]) <- Zeile 111


    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\YakuzaVsTriads.pwn(111) : error 029: invalid expression, assumed zero
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\YakuzaVsTriads.pwn(111) : error 017: undefined symbol "ocmd_dm"
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\YakuzaVsTriads.pwn(111) : error 029: invalid expression, assumed zero
    D:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\YakuzaVsTriads.pwn(111) : fatal error 107: too many error messages on one line

    Hi, ich habe ein Problem, ich habe eine Map von SATAN und möchte sie gern in meinem Gamemode YakuzaVsTriads verwenden.
    Nun habe ich das Problem, die Map geht irgendwie nicht weit genug raus. Ich hatte die Map mal ins Godfather geschmissen, da ging es auch ziemlich weit raus,
    aber bei mir geht es gerade mal bis hinter das Beach, weiter nicht, alles was dahinter ist, wird nicht richtig geladen.


    Gibts da vielleicht irgendwie eine Einstellung, die man einstellen muss damit es weiter ins Meer geht?
    Ich hoffe ihr könnt mir helfen.


    Nun noch eine Frage, wenn ich /Dm1 eingebe, steht da "Unknown Command", aber wenn ich /dm1 (klein) eingebe, funktioniert es.
    Woran liegt das?


    Hoffe auf Hilfe.


    MfG