Beiträge von Sony

    suche nach OnPlayerPrivmsg lösche den Public, danach suchst du nach OnPlayerInfoChange und löscht diesen Public, da die 2 Publics nicht mehr bei 0.3 dabei sind, da sie keiner benutzt hat

    #include <a_samp>
    main()
    {
    print("\n----------------------------------");
    print(" Gamemod by Joshi");
    print("----------------------------------\n");
    }




    public OnGameModeInit()
    {
    SetGameModeText("Deathmatch");
    UsePlayerPedAnims();
    AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    return 1;
    }


    public OnGameModeExit()
    {
    return 1;
    }


    public OnPlayerRequestClass(playerid, classid)
    {
    SetPlayerPos(playerid, 1449.8280,-2287.5422,13.5469);
    SetPlayerCameraPos(playerid, 1446.0238,-2287.4514,13.5469);
    SetPlayerCameraLookAt(playerid, 1449.8280,-2287.5422,13.5469);
    SetPlayerFacingAngle(playerid, 90.0);
    return 1;
    }


    public OnPlayerRequestSpawn(playerid)
    {
    return 1;
    }


    public OnPlayerConnect(playerid)
    {
    SendClientMessage(playerid,0xFF66FFAA,"Willkommen auf dem [HotS]Clanserver");


    new string[256], name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string), "%s hat den Server betreten", name);
    SendClientMessageToAll(rot, string);
    return 1;
    }


    public OnPlayerDisconnect(playerid, reason)
    {
    return 1;
    }


    public OnPlayerSpawn(playerid)
    {
    return 1;
    }


    public OnPlayerDeath(playerid, killerid, reason)
    {
    if(killerid==INVALID_PLAYER_ID) {
    SendDeathMessage(INVALID_PLAYER_ID,playerid,reason); }
    else {
    SendDeathMessage(killerid,playerid,reason);
    SetPlayerScore(killerid,GetPlayerScore(killerid)+1); }
    return 1;
    }


    public OnVehicleSpawn(vehicleid)
    {
    return 1;
    }


    public OnVehicleDeath(vehicleid, killerid)
    {
    return 1;
    }


    public OnPlayerText(playerid, text[])
    {
    return 1;
    }


    da des müsste etz gehen


    #include <a_samp>
    main()
    {
    print("\n----------------------------------");
    print(" Gamemod by Joshi");
    print("----------------------------------\n");
    }




    public OnGameModeInit()
    {
    SetGameModeText("Deathmatch");
    UsePlayerPedAnims();
    AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    return 1;
    }


    public OnGameModeExit()
    {
    return 1;
    }


    public OnPlayerRequestClass(playerid, classid)
    {
    SetPlayerPos(playerid, 1449.8280,-2287.5422,13.5469);
    SetPlayerCameraPos(playerid, 1446.0238,-2287.4514,13.5469);
    SetPlayerCameraLookAt(playerid, 1449.8280,-2287.5422,13.5469);
    SetPlayerFacingAngle(playerid, 90.0);
    return 1;
    }


    public OnPlayerRequestSpawn(playerid)
    {
    return 1;
    }


    public OnPlayerConnect(playerid)
    {
    SendClientMessage(playerid,0xFF66FFAA,"Willkommen auf dem [HotS]Clanserver");


    new string[256], name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string), "%s hat den Server betreten", name);
    SendClientMessageToAll(rot, string);
    return 1;
    }


    public OnPlayerDisconnect(playerid, reason)
    {
    return 1;
    }


    public OnPlayerSpawn(playerid)
    {
    return 1;
    }


    public OnPlayerDeath(playerid, killerid, reason)
    {
    if(killerid==INVALID_PLAYER_ID) {
    SendDeathMessage(INVALID_PLAYER_ID,playerid,reason); }
    else {
    SendDeathMessage(killerid,playerid,reason);
    SetPlayerScore(killerid,GetPlayerScore(killerid)+1); }
    return 1;
    }


    public OnVehicleSpawn(vehicleid)
    {
    return 1;
    }


    public OnVehicleDeath(vehicleid, killerid)
    {
    return 1;
    }


    public OnPlayerText(playerid, text[])
    {
    return 1;
    }


    public OnPlayerPrivmsg(playerid, recieverid, text[])
    {
    return 1;
    }
    return 0;
    }


    hier müsste funktionieren