Beiträge von SexyPawnoStyle

    Hey Leute ich bin grad an einem Clanchat dran aber weiß nicht weiter wie mach ich das , das es nur die Member des Clans Lesen können?


    ocmd:cc(playerid,params[])
    {
    new text[128],eec[128],name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,sizeof(name));
    if(sscanf(params,"s",text)) return SCM(playerid,Rot,"Benutze:/cc {TEXT}");
    format(text,sizeof(text),"[CC][%s][%s]:%s[%d]",GetPVarString(playerid,"Clan",eec,128),name,text,playerid);
    SCM(/**/);
    return 1;
    }
    Mit einer For schleife wenn ja wie????

    D:\Eigene Dateien\Robert\Musik\Neuer Ordner\stunt\gamemodes\dawn.pwn(877) : warning 202: number of arguments does not match definition
    D:\Eigene Dateien\Robert\Musik\Neuer Ordner\stunt\gamemodes\dawn.pwn(877) : warning 202: number of arguments does not match definition
    D:\Eigene Dateien\Robert\Musik\Neuer Ordner\stunt\gamemodes\dawn.pwn(877) : error 035: argument type mismatch (argument 3)
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.

    dini_Set(Spielerdatei,"Clan",GetPVarString(playerid,"Clan"));

    bitte sche


    stock SaveAcc(playerid)
    {
    new Spielerdatei[64];
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,sizeof(name));
    format(Spielerdatei,sizeof(Spielerdatei),"/Acc/%s.txt",name);
    dini_IntSet(Spielerdatei,"Level",GetPlayerScore(playerid));
    dini_IntSet(Spielerdatei,"Geld",GetPlayerMoney(playerid));
    dini_IntSet(Spielerdatei,"Adminlevel",GetPVarInt(playerid,"Adminlevel"));
    dini_IntSet(Spielerdatei,"warns",GetPVarInt(playerid,"warns"));
    dini_IntSet(Spielerdatei,"mute",GetPVarInt(playerid,"mute"));
    dini_IntSet(Spielerdatei,"Ban",GetPVarInt(playerid,"Ban"));
    dini_Set(Spielerdatei,"Clan",GetPVarString(playerid,"Clan"));
    dini_IntSet(Spielerdatei,"KD",GetPVarInt(playerid,"KD"));
    dini_IntSet(Spielerdatei,"kills",GetPVarInt(playerid,"kills"));
    dini_IntSet(Spielerdatei,"Tode",GetPVarInt(playerid,"Tode"));
    return 1;
    }
    stock LoadAcc(playerid)
    {


    new Spielerdatei[64];
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,sizeof(name));
    format(Spielerdatei,sizeof(Spielerdatei),"/Acc/%s.txt",name);
    SetPlayerScore(playerid,dini_Int(Spielerdatei,"Level"));
    GivePlayerMoney(playerid,dini_Int(Spielerdatei,"Geld"));
    SetPVarInt(playerid,"Adminlevel",dini_Int(Spielerdatei,"Adminlevel"));
    SetPVarInt(playerid,"warns",dini_Int(Spielerdatei,"warns"));
    SetPVarInt(playerid,"Mute",dini_Int(Spielerdatei,"Mute"));
    SetPVarInt(playerid,"Ban",dini_Int(Spielerdatei,"Ban"));
    SetPVarInt(playerid,"Clan",dini_Int(Spielerdatei,"Clan"));
    SetPVarInt(playerid,"Kills",dini_Int(Spielerdatei,"Kills"));
    SetPVarInt(playerid,"Tode",dini_Int(Spielerdatei,"Tode"));
    SetPVarInt(playerid,"KD",dini_Int(Spielerdatei,"KD"));
    if(GetPVarInt(playerid,"Ban")==1)
    {
    SCM(playerid,Rot,"You are Banned from this Server!");
    Kick(playerid);
    return 1;
    }
    return 1;
    }
    stock SpielerName(playerid)
    {
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,sizeof(name));
    return name;
    }
    stock Register(playerid,Key[])
    {
    new Spielerdatei[64];
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,sizeof(name));
    format(Spielerdatei,sizeof(Spielerdatei),"/Acc/%s.txt",name);
    dini_Create(Spielerdatei);
    dini_Set(Spielerdatei,"Passwort",Key);
    //dini_Set(Spielerdatei,"Clan",inputtext);
    dini_IntSet(Spielerdatei,"warns",GetPVarInt(playerid,"warns"));
    dini_IntSet(Spielerdatei,"Mute",GetPVarInt(playerid,"Mute"));
    dini_IntSet(Spielerdatei,"Ban",GetPVarInt(playerid,"Ban"));
    dini_IntSet(Spielerdatei,"KD",GetPVarInt(playerid,"KD"));
    dini_IntSet(Spielerdatei,"Kills",GetPVarInt(playerid,"Kills"));
    dini_IntSet(Spielerdatei,"Tode",GetPVarInt(playerid,"Tode"));
    SendClientMessage(playerid,0x1400FFFF,"Erfolgreich Register.");
    SetPlayerScore(playerid,0);
    return 1;
    }


    stock Login(playerid,Key[])
    {
    new Spielerdatei[64];
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,sizeof(name));
    format(Spielerdatei,sizeof(Spielerdatei),"/Acc/%s.txt",name);
    if(!strcmp(Key,dini_Get(Spielerdatei,"Passwort"),true))
    {
    LoadAcc(playerid);
    SendClientMessage(playerid,0x1400FFFF,"Erfolgreich Eingeloggt.");
    new rang[16], string[128];
    GetPlayerName(playerid,name,sizeof(name));
    if(IstSpielerAdmin(playerid,5))rang = "Projektleiter";
    else if(IstSpielerAdmin(playerid,4))rang = "Admin";
    else if(IstSpielerAdmin(playerid,3))rang = "Manager";
    else if(IstSpielerAdmin(playerid,2))rang = "Moderator";
    else if(IstSpielerAdmin(playerid,1))rang = "Supporter";
    format(string, 128, "Wilkommen %s %s", rang,name);
    SendClientMessage(playerid,Orange,string);
    format(string,sizeof(string),"%s hat den Server betretten!",name);
    Alle(Orange,string);
    return 1;
    }
    else
    {
    ShowPlayerDialog(playerid,Dialog_Login,DIALOG_STYLE_INPUT,"Login","Bitte gib ein Passwort ein","Login","Abbrechen");
    SendClientMessage(playerid,0xFF4600FF,"Gib ein gültiges Passwort ein!");
    return 1;
    }
    }


    Ich zeig mal alles wie muss ichd as verbinedn


    ocmd:mc(playerid,params[])
    {
    if(!IstSpielerAdmin(playerid,2))return SCM(playerid,Rot,"You cant use this Command!");
    new pID,input[54],string[128];
    if(sscanf(params,"us",pID,input)) return SendClientMessage(playerid,Rot,"Benutze /makeclan [playerid] [clanname]");
    SetPVarString(pID,"Clan",input);
    SaveAcc(pID);
    format(string,sizeof(string),"Du hast einen Clan mit dem Namen %s erstellt!",input);
    SendClientMessage(playerid,Orange,string);
    return 1;
    }


    Zum erstellen eines clan


    Und wie mach ich das jetz

    Hallo ich habe Probleme mit dini
    D:\Eigene Dateien\Robert\Musik\Neuer Ordner\stunt\gamemodes\dawn.pwn(877) : warning 202: number of arguments does not match definition
    D:\Eigene Dateien\Robert\Musik\Neuer Ordner\stunt\gamemodes\dawn.pwn(877) : warning 202: number of arguments does not match definition
    D:\Eigene Dateien\Robert\Musik\Neuer Ordner\stunt\gamemodes\dawn.pwn(877) : error 035: argument type mismatch (argument 3)
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.


    dini_Set(Spielerdatei,"Clan",GetPVarString(playerid,"Clan"));

    stock SaveAcc(playerid)
    {
    new Spielerdatei[64];
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,sizeof(name));
    format(Spielerdatei,sizeof(Spielerdatei),"/Acc/%s.txt",name);
    dini_IntSet(Spielerdatei,"Level",GetPlayerScore(playerid));
    dini_IntSet(Spielerdatei,"Geld",GetPlayerMoney(playerid));
    dini_IntSet(Spielerdatei,"Adminlevel",GetPVarInt(playerid,"Adminlevel"));
    dini_IntSet(Spielerdatei,"warns",GetPVarInt(playerid,"warns"));
    dini_IntSet(Spielerdatei,"mute",GetPVarInt(playerid,"mute"));
    dini_IntSet(Spielerdatei,"Ban",GetPVarInt(playerid,"Ban"));
    dini_IntSet(Spielerdatei,"Clan",GetPVarInt(playerid,"Clan"));
    dini_IntSet(Spielerdatei,"KD",GetPVarInt(playerid,"KD"));
    dini_IntSet(Spielerdatei,"kills",GetPVarInt(playerid,"kills"));
    dini_IntSet(Spielerdatei,"Tode",GetPVarInt(playerid,"Tode"));
    return 1;
    }

    ocmd:mc(playerid,params[])
    {
    if(!IstSpielerAdmin(playerid,2))return SCM(playerid,Rot,"You cant use this Command!");
    new pID,input[54],string[128];
    if(sscanf(params,"us",pID,input)) return SendClientMessage(playerid,Rot,"Benutze /makeclan [playerid] [clanname]");
    SetPVarString(pID,"Clan",input);
    SaveAcc(pID);
    format(string,sizeof(string),"Du hast einen Clan mit dem Namen %s erstellt!",input);
    SendClientMessage(playerid,Orange,string);
    return 1;
    }


    Also wie ihr sieht will ich den String speichern aber das geht net

    New Dawn Demolation



    Wenn ein Admin Beispiel /hey schreibt dann kommt an jeden User im Server so ein Hey HEY



    Ich höre das ja



    oder



    /shutup



    Shut The Fuck Up Bitch



    Das höre ich dann auch wie CJ das sagt

    Hab das gefunden ?!! Chainsaw = Kettensäge



    Ich kenen diese anims net aber



    Mein ganzer Mode


    public OnGameModeInit()
    {
    ConnectNPC("DC","DC");
    DC=CreateVehicle(519,1294.1848,-3600.6604,22.3384,92.1220,1,1,-1); // DC
    AddStaticVehicle(519,1294.1848,-3600.6604,22.3384,92.1220,1,1); // DC


    //Timer
    SetTimer("Save",1,1);
    SetTimer("streak",1000,1);
    SetTimer("Death",1000,1);
    //pick
    //Drift
    CreateObject(8390,-1437.50000000,2827.69995117,117.09999847,0.00000000,0.00000000,100.00000000); //object(multicarpark01_lvs) (1)
    CreateObject(16430,-1358.80004883,2838.30004883,100.40000153,0.00000000,341.99996948,8.00000000); //object(des_ebrigroad02) (1)
    CreateObject(16430,-1204.90002441,2859.80004883,125.09999847,0.00000000,0.00000000,8.00000000); //object(des_ebrigroad02) (2)
    CreateObject(978,-1372.90002441,2803.60009766,130.60000610,0.00000000,0.00000000,100.00000000); //object(sub_roadright) (1)
    CreateObject(978,-1368.90002441,2809.69995117,130.60000610,0.00000000,0.00000000,10.00000000); //object(sub_roadright) (2)
    CreateObject(4866,-1057.80004883,2817.89990234,114.00000000,0.00000000,179.99450684,275.99853516); //object(lasrnway1_las) (1)
    CreateObject(4866,-1001.50000000,2877.50000000,79.19999695,0.00000000,91.99996948,8.00000000); //object(lasrnway1_las) (2)
    CreateObject(4866,-1053.00000000,2534.10009766,86.50000000,0.00000000,188.00000000,267.99987793); //object(lasrnway1_las) (3)
    CreateObject(4866,-1014.90002441,2387.80004883,94.80000305,0.00000000,267.99499512,87.99499512); //object(lasrnway1_las) (4)
    CreateObject(987,-1107.19995117,2342.30004883,85.40000153,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (1)
    CreateObject(987,-1096.09997559,2342.50000000,85.09999847,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (2)
    CreateObject(4866,-1051.80004883,2351.89990234,84.50000000,0.00000000,274.00000000,107.99996948); //object(lasrnway1_las) (6)
    CreateObject(987,-1086.40002441,2342.30004883,84.69999695,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (3)
    CreateObject(987,-1243.30004883,2662.50000000,48.00000000,0.00000000,0.00000000,20.00000000); //object(elecfence_bar) (4)
    CreateObject(987,-1234.59997559,2665.80004883,46.00000000,0.00000000,0.00000000,22.00000000); //object(elecfence_bar) (5)
    CreateObject(987,-1224.19995117,2669.80004883,45.29999924,0.00000000,0.00000000,18.00000000); //object(elecfence_bar) (6)
    CreateObject(987,-1212.90002441,2673.39990234,46.09999847,0.00000000,0.00000000,18.00000000); //object(elecfence_bar) (7)
    CreateObject(987,-1203.19995117,2677.00000000,44.50000000,0.00000000,356.00000000,26.00000000); //object(elecfence_bar) (8)
    CreateObject(8838,-1291.87988281,2503.71191406,87.82791901,7.19604492,0.00000000,0.00000000); //object(vgehshade01_lvs) (2)
    CreateObject(8838,-1291.90002441,2498.50000000,87.50000000,0.00000000,0.00000000,0.00000000); //object(vgehshade01_lvs) (6)
    CreateObject(8838,-1291.09997559,2503.71215820,87.82791901,7.19999981,0.00000000,0.00000000); //object(vgehshade01_lvs) (7)
    CreateObject(8838,-1290.30004883,2508.84204102,88.80649567,14.39999962,0.00000000,0.00000000); //object(vgehshade01_lvs) (8)
    CreateObject(8838,-1289.50000000,2513.80883789,90.42030334,21.59999847,0.00000000,0.00000000); //object(vgehshade01_lvs) (9)
    CreateObject(8838,-1288.70007324,2518.53417969,92.64389801,28.79999924,0.00000000,0.00000000); //object(vgehshade01_lvs) (10)
    CreateObject(8838,-1287.90002441,2522.94360352,95.44219971,36.00000000,0.00000000,0.00000000); //object(vgehshade01_lvs) (11)
    CreateObject(8838,-1287.09997559,2526.96752930,98.77108765,43.20000076,0.00000000,0.00000000); //object(vgehshade01_lvs) (12)
    CreateObject(8838,-1286.30004883,2530.54248047,102.57804871,50.40000153,0.00000000,0.00000000); //object(vgehshade01_lvs) (13)
    CreateObject(8838,-1285.50000000,2533.61206055,106.80305481,57.60000229,0.00000000,0.00000000); //object(vgehshade01_lvs) (14)
    CreateObject(8838,-1284.70007324,2536.12792969,111.37948608,64.80000305,0.00000000,0.00000000); //object(vgehshade01_lvs) (15)
    CreateObject(8838,-1283.90002441,2538.05053711,116.23515320,72.00000000,0.00000000,0.00000000); //object(vgehshade01_lvs) (16)
    CreateObject(8838,-1283.09997559,2539.34936523,121.29347229,79.19999695,0.00000000,0.00000000); //object(vgehshade01_lvs) (17)
    CreateObject(8838,-1291.90002441,2493.50000000,87.50000000,0.00000000,0.00000000,0.00000000); //object(vgehshade01_lvs) (58)
    CreateObject(978,-1387.59997559,2831.10009766,124.19999695,0.00000000,0.00000000,280.00000000); //object(sub_roadright) (3)
    CreateObject(978,-1389.40002441,2840.69995117,124.19999695,0.00000000,0.00000000,280.00000000); //object(sub_roadright) (4)
    CreateObject(978,-1486.00000000,2814.50000000,117.80000305,0.00000000,0.00000000,100.00000000); //object(sub_roadright) (5)
    CreateObject(978,-1487.50000000,2823.80004883,117.80000305,0.00000000,0.00000000,100.00000000); //object(sub_roadright) (6)
    CreateObject(978,-1388.00000000,2831.10009766,111.40000153,0.00000000,0.00000000,280.00000000); //object(sub_roadright) (7)
    CreateObject(978,-1389.40002441,2840.10009766,111.40000153,0.00000000,0.00000000,278.00000000); //object(sub_roadright) (8)
    CreateObject(978,-1487.50000000,2824.39990234,105.00000000,0.00000000,0.00000000,98.00000000); //object(sub_roadright) (9)
    CreateObject(978,-1486.09997559,2815.00000000,105.00000000,0.00000000,0.00000000,98.00000000); //object(sub_roadright) (10)
    CreateObject(978,-1391.30004883,2832.30004883,98.59999847,0.00000000,0.00000000,280.00000000); //object(sub_roadright) (11)
    CreateObject(978,-1381.40002441,2843.39990234,98.59999847,0.00000000,0.00000000,188.00000000); //object(sub_roadright) (12)
    CreateObject(978,-1389.09997559,2839.50000000,98.59999847,0.00000000,0.00000000,226.00000000); //object(sub_roadright) (13)
    CreateObject(3749,-1351.30004883,2369.39990234,100.69999695,0.00000000,0.00000000,354.00000000); //object(clubgate01_lax) (1)
    CreateObject(3458,-1295.50000000,2465.50000000,88.50000000,0.00000000,8.00000000,270.00000000); //object(vgncarshade1) (1)
    CreateObject(3458,-1292.00000000,2466.00000000,88.40000153,0.00000000,8.00000000,268.00000000); //object(vgncarshade1) (2)
    hunter=CreatePickup(1239,14,1284.6592,2533.6265,110.6824,0);
    //
    SetGameModeText("Dawn");
    AddPlayerClass(47, 1958.3783, 1343.1572, 15.3746, 269.1425, 24, 999, 31, 999, 0, 0);
    AddPlayerClass(2, 1958.3783, 1343.1572, 15.3746, 269.1425, 24, 999, 31, 999, 0, 0);
    ShowPlayerMarkers(0);
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    FPS = TextDrawCreate(8.000000, 428.000000, "FPS: 30");
    TextDrawBackgroundColor(FPS, 255);
    TextDrawFont(FPS, 3);
    TextDrawLetterSize(FPS, 0.480000, 2.000000);
    TextDrawColor(FPS, -65281);
    TextDrawSetOutline(FPS, 1);
    TextDrawSetProportional(FPS, 1);
    }
    SetTimer("FPSUP",1203,true);
    return 1;


    }[i][i][/i][/i]