Beiträge von Maurice.

    Genau das wäre meine frage abfragen ob der spieler in der gleich fraktion ist wie mache ich das ? C:\Dokumente und Einstellungen\Maurice\Desktop\Maurice RolePlay\gamemodes\Script.pwn(426) : warning 202: number of arguments does not match definition
    C:\Dokumente und Einstellungen\Maurice\Desktop\Maurice RolePlay\gamemodes\Script.pwn(426) : error 022: must be lvalue (non-constant)
    C:\Dokumente und Einstellungen\Maurice\Desktop\Maurice RolePlay\gamemodes\Script.pwn(426) : warning 215: expression has no effect
    C:\Dokumente und Einstellungen\Maurice\Desktop\Maurice RolePlay\gamemodes\Script.pwn(427) : warning 202: number of arguments does not match definition
    C:\Dokumente und Einstellungen\Maurice\Desktop\Maurice RolePlay\gamemodes\Script.pwn(427) : error 022: must be lvalue (non-constant)
    C:\Dokumente und Einstellungen\Maurice\Desktop\Maurice RolePlay\gamemodes\Script.pwn(427) : warning 215: expression has no effect


    CMD:uninvite(playerid,params[])
    {
    new pID;
    if(GetPVarInt(playerid,"Rang")== 6)return SendClientMessage(playerid,ROT,"Du bist kein Leader");
    if(sscanf(params,"u",pID))return SendClientMessage(playerid,ROT,"INFO: /invite [PlayerID]");
    SetPVarInt(pID,"Fraktion") = 0;
    SetPVarInt(pID,"Rang") = 0;


    return 1;
    }

    C:\Dokumente und Einstellungen\Maurice\Desktop\Maurice RolePlay\gamemodes\Script.pwn(426) : warning 202: number of arguments does not match definition
    C:\Dokumente und Einstellungen\Maurice\Desktop\Maurice RolePlay\gamemodes\Script.pwn(426) : error 022: must be lvalue (non-constant)
    C:\Dokumente und Einstellungen\Maurice\Desktop\Maurice RolePlay\gamemodes\Script.pwn(426) : warning 215: expression has no effect
    C:\Dokumente und Einstellungen\Maurice\Desktop\Maurice RolePlay\gamemodes\Script.pwn(426) : error 001: expected token: ";", but found ")"
    C:\Dokumente und Einstellungen\Maurice\Desktop\Maurice RolePlay\gamemodes\Script.pwn(426) : error 029: invalid expression, assumed zero
    C:\Dokumente und Einstellungen\Maurice\Desktop\Maurice RolePlay\gamemodes\Script.pwn(426) : 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.



    CMD:uninvite(playerid,params[])
    {
    new pID;
    if(GetPVarInt(playerid,"Rang")== 6)return SendClientMessage(playerid,ROT,"Du bist kein Leader");
    if(sscanf(params,"u",pID))return SendClientMessage(playerid,ROT,"INFO: /invite [PlayerID]");
    SetPVarInt(pID,"Fraktion") = 0) /HUER
    SetPVarInt(pID,"Rang") = 0)


    return 1;
    }

    Hey,


    ich komme grade nicht weiter wie soll ich hier weiter machen ?
    CMD:uninvite(playerid,params[])
    {
    if(GetPVarInt(playerid,"Rang")== 6)return SendClientMessage(playerid,ROT,"Du bist kein Leader");
    if(sscanf(params,"s",pID))return SendClientMessage(playerid,ROT,"INFO: /invite [PlayerID]");


    return 1;
    }


    und ist das eig. so richtig ? CMD:invite(playerid,params[])
    {
    new pID,frakid,string[256],frakname[64];
    if(GetPVarInt(playerid,"Rang")== 6)return SendClientMessage(playerid,ROT,"Du bist kein Leader");
    if(sscanf(params,"s",pID))return SendClientMessage(playerid,ROT,"INFO: /invite [PlayerID]");
    switch(frakid)
    {
    case 0:{frakname="Buerger";}
    case 1:{frakname="LSPD";}
    case 2:{frakname="Medic";}
    case 3:{frakname="Ordnungsamt";}
    }
    if(GetPVarInt(playerid,"Fraktion") != frakid)
    {
    SendClientMessage(playerid,ROT,"FEHLER:Der Spieler befindet sich zurzeit in einer Fraktion.");
    }
    else
    {
    SetPVarInt(playerid, "invitedTo", frakid);
    format(string,sizeof(string),"{FFFFFF}Der Spieler {00FF00}%s {FFFFFF}möchte dich in die Fraktion {00FF00}%s {FFFFFF}Einladen.\nMöchtest du in die Fraktion beitreten?\nDrücke auf {00FF00}'Annehmen' {FFFFFF}zum beitreten.", PlayerName(playerid),frakname);
    ShowPlayerDialog(pID,DIALOG_INVITE,DIALOG_STYLE_MSGBOX,"Spielereinladung - Fraktion",string,"Annehmen","Ablehnen");


    }
    return 1;
    }

    Hey,


    ich habe versucht die Textdraws anklickbar zumache es geht aber nicht.... Intro7 = TextDrawCreate(240.8020003, 356.159942, "Anmelden");
    TextDrawLetterSize(Intro7, 0.449999, 1.600000);
    TextDrawAlignment(Intro7, 1);
    TextDrawColor(Intro7, -1);
    TextDrawSetShadow(Intro7, 0);
    TextDrawSetOutline(Intro7, 1);
    TextDrawBackgroundColor(Intro7, 51);
    TextDrawFont(Intro7, 1);
    TextDrawSetProportional(Intro7, 1);
    TextDrawTextSize(Intro7,240.800003, 356.159942);
    TextDrawSetSelectable(Intro7, true);


    Intro8 = TextDrawCreate(235.200012, 3728.559936, "Registrieren");
    TextDrawLetterSize(Intro8, 0.449999, 1.600000);
    TextDrawAlignment(Intro8, 1);
    TextDrawColor(Intro8, -1);
    TextDrawSetShadow(Intro8, 0);
    TextDrawSetOutline(Intro8, 1);
    TextDrawBackgroundColor(Intro8, 51);
    TextDrawFont(Intro8, 1);
    TextDrawSetProportional(Intro8, 1);
    TextDrawTextSize(Intro8,235.200012, 378.559936);
    TextDrawSetSelectable(Intro8, true);


    Intro9 = TextDrawCreate(340.799896, 364.3373168, "Informationen");
    TextDrawLetterSize(Intro9, 0.449999, 1.600000);
    TextDrawAlignment(Intro9, 1);
    TextDrawColor(Intro9, -1);
    TextDrawSetShadow(Intro9, 0);
    TextDrawSetOutline(Intro9, 1);
    TextDrawBackgroundColor(Intro9, 51);
    TextDrawFont(Intro9, 1);
    TextDrawSetProportional(Intro9, 1);
    TextDrawTextSize(Intro9,340.799896, 364.373168);
    TextDrawSetSelectable(Intro9, true);


    public OnPlayerConnect(playerid)
    {
    new spdatei[64];
    new name[MAX_PLAYER_NAME];
    SetPlayerColor(playerid,WEISS);
    GetPlayerName(playerid,name,sizeof(name));
    format(spdatei,sizeof(spdatei),"/Spieler/%s.txt",name);
    PlayAudioStreamForPlayer(playerid, "http://its-rp.com/server/Alligatoah - Willst Du Lyrics.mp3");
    if(dini_Exists(spdatei))
    {
    TextDrawSetSelectable(Intro7, true);
    SelectTextDraw(playerid, 0xA3B4C5FF);
    TextDrawShowForPlayer(playerid,Intro);
    TextDrawShowForPlayer(playerid,Intro1);
    TextDrawShowForPlayer(playerid,Intro2);
    TextDrawShowForPlayer(playerid,Intro3);
    TextDrawShowForPlayer(playerid,Intro4);
    TextDrawShowForPlayer(playerid,Intro5);
    TextDrawShowForPlayer(playerid,Intro6);
    TextDrawShowForPlayer(playerid,Intro7);
    TextDrawShowForPlayer(playerid,Intro8);
    TextDrawShowForPlayer(playerid,Intro9);
    TextDrawShowForPlayer(playerid,Intro10);
    TextDrawShowForPlayer(playerid,Intro11);
    }
    else
    {
    TextDrawSetSelectable(Intro8, true);
    SelectTextDraw(playerid, 0xA3B4C5FF);
    TextDrawShowForPlayer(playerid,Intro);
    TextDrawShowForPlayer(playerid,Intro1);
    TextDrawShowForPlayer(playerid,Intro2);
    TextDrawShowForPlayer(playerid,Intro3);
    TextDrawShowForPlayer(playerid,Intro4);
    TextDrawShowForPlayer(playerid,Intro5);
    TextDrawShowForPlayer(playerid,Intro6);
    TextDrawShowForPlayer(playerid,Intro7);
    TextDrawShowForPlayer(playerid,Intro8);
    TextDrawShowForPlayer(playerid,Intro9);
    TextDrawShowForPlayer(playerid,Intro10);
    TextDrawShowForPlayer(playerid,Intro11);
    }
    return 1;
    }


    public OnPlayerClickTextDraw(playerid, Text:clickedid)
    {
    if(_:clickedid !=INVALID_TEXT_DRAW)
    {
    if(clickedid == Intro7)
    {
    ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_INPUT,"Login","Willkommen zurück. Bitte gebe dein Passwort ein","Login","Abbrechen");
    }
    else if(clickedid == Intro8)
    {
    ShowPlayerDialog(playerid,DIALOG_REGISTER,DIALOG_STYLE_INPUT,"Registrieren","Herzlich willkommen auf It's Roleplay. Bitte gebe ein Passwort ein.","Register","Abbrechen");
    }
    else if(clickedid == Intro9)
    {
    SendClientMessage(playerid,ROT,"TEST");
    }
    }
    return 1;
    }

    Hi,


    am 28.11.13 kam ein Video namens:

    Externer Inhalt www.youtube.com
    Inhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.
    Durch die Aktivierung der externen Inhalte erklären Sie sich damit einverstanden, dass personenbezogene Daten an Drittplattformen übermittelt werden. Mehr Informationen dazu haben wir in unserer Datenschutzerklärung zur Verfügung gestellt.


    Wie findet es ihr das das Team von PietSmiet nicht nur Let's Play's macht. Sondern auch kochen ?

    Hi,



    ich habe ein Problem. Und zawr wird sa menu angezeigt. Aber nach den menu kommst nix..


    public OnPlayerSelectedMenuRow(playerid,row)
    {
    new Menu:CurrentMenu = GetPlayerMenu(playerid);
    if(CurrentMenu == FAHRPROB_QUESTIONS[0] || CurrentMenu == FAHRPROB_QUESTIONS[1])
    {
    switch(row)
    {
    case 1:
    {
    switch(FschulProbLic[playerid])
    {
    case 1:
    {
    switch(FschulQuest[playerid])
    {
    case 1:
    {
    SendClientMessage(playerid,COLOR_RED,"Falsche Antwort!");
    TogglePlayerControllable(playerid,1);
    SetPlayerVirtualWorld(playerid,0);
    }
    case 2:
    {
    SendClientMessage(playerid,COLOR_RED,"Falsche Antwort!");
    TogglePlayerControllable(playerid,1);
    }
    case 3:
    {
    FahrschulQuest(playerid,1,4);
    SendClientMessage(playerid,Grün,"Richtige Antwort!");
    }
    case 4:
    {
    TogglePlayerControllable(playerid,1);
    SendClientMessage(playerid,Grün,"Du hast die theoretische Prüfung bestanden!");
    }
    }
    }
    }
    }
    }
    }
    return 1;
    }

    Ja das Problem ist halt. Ich will das

    PHP
    echo "<br><br>Name: ".$name."<br> Level: ".$score."<br>Admin: ".getRankName($alevel)."<br> Geld: ".$money."<br> Fraktion: ".$Fraktion."<br> Kills: ".$kills."<br> Tode: ".$deaths;


    wo anders positionieren. Da ich Anfänger bin weiß ich nicht wie...

    public OnPlayerConnect(playerid)
    {



    NameDraw[playerid] = CreatePlayerTextDraw(playerid, 539.375000, 330.166625,"Name");
    PlayerTextDrawLetterSize(playerid, NameDraw[playerid], 0.259999, 1.588333);
    PlayerTextDrawAlignment(playerid, NameDraw[playerid], 1);
    PlayerTextDrawColor(playerid, NameDraw[playerid], -1);
    PlayerTextDrawSetShadow(playerid, NameDraw[playerid], 0);
    PlayerTextDrawSetOutline(playerid, NameDraw[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, NameDraw[playerid], 51);
    PlayerTextDrawFont(playerid, NameDraw[playerid], 2);
    PlayerTextDrawSetProportional(playerid, NameDraw[playerid], 1);


    LevelDraw[playerid] = CreatePlayerTextDraw(playerid, 538.750000, 341.833282,"Level");
    PlayerTextDrawLetterSize(playerid, LevelDraw[playerid], 0.229999, 1.576666);
    PlayerTextDrawAlignment(playerid, LevelDraw[playerid], 1);
    PlayerTextDrawColor(playerid, LevelDraw[playerid], -1);
    PlayerTextDrawSetShadow(playerid, LevelDraw[playerid], 0);
    PlayerTextDrawSetOutline(playerid, LevelDraw[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, LevelDraw[playerid], 51);
    PlayerTextDrawFont(playerid, LevelDraw[playerid], 2);
    PlayerTextDrawSetProportional(playerid, LevelDraw[playerid], 1);


    GeldDraw[playerid] = CreatePlayerTextDraw(playerid, 536.875000, 352.333160,"Geld");
    PlayerTextDrawLetterSize(playerid, GeldDraw[playerid], 0.286249, 1.494999);
    PlayerTextDrawAlignment(playerid, GeldDraw[playerid], 1);
    PlayerTextDrawColor(playerid, GeldDraw[playerid], -1);
    PlayerTextDrawSetShadow(playerid, GeldDraw[playerid], 0);
    PlayerTextDrawSetOutline(playerid, GeldDraw[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, GeldDraw[playerid], 51);
    PlayerTextDrawFont(playerid, GeldDraw[playerid], 2);
    PlayerTextDrawSetProportional(playerid, GeldDraw[playerid], 1);

    SetTimerEx("TextDrawStats",2000,0,"d",playerid);
    return 1;
    }


    über onplayerconnect public TextDrawStats(playerid)
    {
    new string[128],string1[128],string2[128];

    format(string,sizeof(string),"Name: %s",PlayerName(playerid));
    PlayerTextDrawSetString(playerid,NameDraw[playerid],string);
    PlayerTextDrawShow(playerid,NameDraw[playerid]);

    format(string1,sizeof(string1),"Level: %d",GetPlayerScore(playerid));
    PlayerTextDrawSetString(playerid,LevelDraw[playerid],string);
    PlayerTextDrawShow(playerid,LevelDraw[playerid]);

    format(string2,sizeof(string2),"Geld: %d",GetPlayerMoney(playerid));
    PlayerTextDrawSetString(playerid,GeldDraw[playerid],string);
    PlayerTextDrawShow(playerid,GeldDraw[playerid]);
    return 1;
    }