Beiträge von PUREboyyy

    =(
    Bei mir kommt das
    C:\Dokumente und Einstellungen\admin\Desktop\SLRP v2.0 Beta Object Streamer.pwn(2721) : error 017: undefined symbol "StreamObject_OnPlayerDisconnect"
    C:\Dokumente und Einstellungen\admin\Desktop\SLRP v2.0 Beta Object Streamer.pwn(6261) : error 017: undefined symbol "StreamObject_OnGameModeExit"
    C:\Dokumente und Einstellungen\admin\Desktop\SLRP v2.0 Beta Object Streamer.pwn(6962) : error 017: undefined symbol "StreamObject_OnGameModeInit"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    3 Errors.

    Ich habe Alles Gemacht wie in den Tutorial...

    Wenn Du Godfather Nutzt
    Schau dir doch mal /find an :D


    if(strcmp(cmd, "/find", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    if(PlayerInfo[playerid][pJob] != 1)
    {
    SendClientMessage(playerid, COLOR_GREY, " You are not a Detective !");
    return 1;
    }
    if(PlayerOnMission[playerid] > 0)
    {
    SendClientMessage(playerid, COLOR_GREY, " On a mission right now, can't use this command !");
    return 1;
    }
    if(UsedFind[playerid] != 0 && PlayerInfo[playerid][pDetSkill] < 401)
    {
    SendClientMessage(playerid, COLOR_GREY, " You've already searched for someone, wait 2 minutes !");
    return 1;
    }
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /find [playerid/PartOfName]");
    return 1;
    }
    giveplayerid = ReturnUser(tmp);
    if(IsPlayerConnected(giveplayerid))
    {
    if(giveplayerid != INVALID_PLAYER_ID)
    {
    if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_GREY, "You cannot Find yourself!"); return 1; }
    new points;
    new level = PlayerInfo[playerid][pDetSkill];
    if(level >= 0 && level <= 50)
    { points = 4; }
    else if(level >= 51 && level <= 100)
    { points = 6; }
    else if(level >= 101 && level <= 200)
    { points = 8; }
    else if(level >= 201 && level <= 400)
    { points = 10; }
    else if(level >= 401)
    { points = 12; }
    GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
    new Float:X,Float:Y,Float:Z;
    GetPlayerPos(giveplayerid, X,Y,Z);
    SetPlayerCheckpoint(playerid, X,Y,Z, 6);
    FindTime[playerid] = 1;
    FindTimePoints[playerid] = points;
    PlayerInfo[playerid][pDetSkill] ++;
    UsedFind[playerid] = 1;
    if(PlayerInfo[playerid][pDetSkill] == 50)
    { SendClientMessage(playerid, COLOR_YELLOW, "* Your Detective Skill is now Level 2, soon you are able to find Faction Members."); }
    else if(PlayerInfo[playerid][pDetSkill] == 100)
    { SendClientMessage(playerid, COLOR_YELLOW, "* Your Detective Skill is now Level 3, soon you are able to find Faction Members."); }
    else if(PlayerInfo[playerid][pDetSkill] == 200)
    { SendClientMessage(playerid, COLOR_YELLOW, "* Your Detective Skill is now Level 4, you are now able to find Faction Members."); }
    else if(PlayerInfo[playerid][pDetSkill] == 400)
    { SendClientMessage(playerid, COLOR_YELLOW, "* Your Detective Skill is now Level 5, you are now able to find Faction Members."); }
    }
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, " Invalid Name/ID !");
    }
    }
    return 1;
    }


    Wenn Dus Für Cop Machst einfach...


    if(strcmp(cmd, "/uav", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    if(PlayerInfo[playerid][pMember] != 1)
    {
    SendClientMessage(playerid, COLOR_GREY, " You are not a Detective !");
    return 1;
    }
    if(PlayerOnMission[playerid] > 0)
    {
    SendClientMessage(playerid, COLOR_GREY, " On a mission right now, can't use this command !");
    return 1;
    }
    if(UsedFind[playerid] != 0 && PlayerInfo[playerid][pDetSkill] < 401)
    {
    SendClientMessage(playerid, COLOR_GREY, " You've already searched for someone, wait 2 minutes !");
    return 1;
    }
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /find [playerid/PartOfName]");
    return 1;
    }
    giveplayerid = ReturnUser(tmp);
    if(IsPlayerConnected(giveplayerid))
    {
    if(giveplayerid != INVALID_PLAYER_ID)
    {
    if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_GREY, "You cannot Find yourself!"); return 1; }
    new points;
    new level = PlayerInfo[playerid][pDetSkill];
    if(level >= 0 && level <= 50)
    { points = 4; }
    else if(level >= 51 && level <= 100)
    { points = 6; }
    else if(level >= 101 && level <= 200)
    { points = 8; }
    else if(level >= 201 && level <= 400)
    { points = 10; }
    else if(level >= 401)
    { points = 12; }
    GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
    new Float:X,Float:Y,Float:Z;
    GetPlayerPos(giveplayerid, X,Y,Z);
    SetPlayerCheckpoint(playerid, X,Y,Z, 6);
    FindTime[playerid] = 1;
    FindTimePoints[playerid] = points;
    PlayerInfo[playerid][pDetSkill] ++;
    UsedFind[playerid] = 1;
    if(PlayerInfo[playerid][pDetSkill] == 50)
    { SendClientMessage(playerid, COLOR_YELLOW, "* Your Detective Skill is now Level 2, soon you are able to find Faction Members."); }
    else if(PlayerInfo[playerid][pDetSkill] == 100)
    { SendClientMessage(playerid, COLOR_YELLOW, "* Your Detective Skill is now Level 3, soon you are able to find Faction Members."); }
    else if(PlayerInfo[playerid][pDetSkill] == 200)
    { SendClientMessage(playerid, COLOR_YELLOW, "* Your Detective Skill is now Level 4, you are now able to find Faction Members."); }
    else if(PlayerInfo[playerid][pDetSkill] == 400)
    { SendClientMessage(playerid, COLOR_YELLOW, "* Your Detective Skill is now Level 5, you are now able to find Faction Members."); }
    }
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, " Invalid Name/ID !");
    }
    }
    return 1;
    }


    Auser Godfather


    Vergleiche


    [GM]Godfather
    oder
    [GM]Godfather Platium
    von mir aus könnte es auch [GM]StreetsOfLosSantos sein
    es ist alles nur ein GF Edit...
    Also für mich ist "Auser GF" ein ganz anderer mode nicht nur ein Umgebauter GF...Ich Glaub umbauen könnte eer selber. =)

    Man kann PlayerToPoint nicht #definen xD


    du musst so
    oben bei forwards...


    forward PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z);


    und ganz unten bei deinen gm


    public PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)
    {
    if(IsPlayerConnected(playerid))
    {
    new Float:oldposx, Float:oldposy, Float:oldposz;
    new Float:tempposx, Float:tempposy, Float:tempposz;
    GetPlayerPos(playerid, oldposx, oldposy, oldposz);
    tempposx = (oldposx -x);
    tempposy = (oldposy -y);
    tempposz = (oldposz -z);
    //printf("DEBUG: X:%f Y:%f Z:%f",posx,posy,posz);
    if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
    {
    return 1;
    }
    }
    return 0;
    }


    Mit Freundlichen Grüßen
    Joe :huh::huh:

    Das geht leichter ;)


    AddStaticPickup(1239,99,1481.0464, -1772.2834, 18.7958); //Eingang und das gleiche nochmal für Ausgang ;)


    if (PlayerToPoint(2.0, playerid, 1481.0464, -1772.2834, 18.7958)) // Stadthalle Eingang
    {
    SetPlayerPos(playerid, 387.5807, 173.7764, 1008.3828);
    SetPlayerInterior(playerid, 3);
    GameTextForPlayer(playerid, "~y~Willkommen in der Stadthalle", 5000, 5);
    }
    if (PlayerToPoint(2.0, playerid, 390.6798, 173.8207, 1008.3828)) //Stadthalle Ausgang
    {
    SetPlayerPos(playerid, 1481.0917, -1770.3832, 18.7958);
    }
    return 1;
    }


    Wie ihr alle nachmacht ;)
    Ich stell einmal die frage hier im Forum
    Seit den hat jeder server sowas sogar nova -.- :thumbdown:


    Mit Freundlichen Grüßen
    Joe :|