Spawn Problem
#1

hi all...
i don't know where to post it. so i post it here.

i don't know what is the actually problem. Everytime player spawn in my server, this screen is always showed



i host it on free host that i posted in my signature. but when i run my server on my pc, this trouble isn't showed :/

P.S: this problem appear to everyone who play on my server. if you doesn't believe me, test it on my server at my signature
Reply
#2

- delete this post -
Reply
#3

Is it your server? If so check your spawns, and weather id's.
Reply
#4

There's like a million matches on ****** - pick a thread and read it.
And you can't bump within 2 hours, it must be 24+
Reply
#5

Show us your public OnplayerSapwn(playerid)
#Sayaudahcobaserverkamudanbuggitu-_-
#Iwastestedthatsreverandgotbugged
Reply
#6

here you go
pawn Код:
public OnPlayerSpawn(playerid)
{
    TextDrawHideForPlayer(playerid, ConnectAbout[0]);
    TextDrawHideForPlayer(playerid, ConnectAbout[1]);
    TextDrawHideForPlayer(playerid, ConnectAbout[2]);
    TextDrawHideForPlayer(playerid, ConnectAbout[3]);
    TextDrawHideForPlayer(playerid, ConnectAbout[4]);
    TextDrawHideForPlayer(playerid, ConnectAbout[5]);
    TextDrawHideForPlayer(playerid, ConnectAbout[6]);
    TextDrawHideForPlayer(playerid, ConnectAbout[7]);

    TextDrawShowForPlayer(playerid,txtTimeDisp);
    PlayerTextDrawShow(playerid,TextCash0[playerid]);
    PlayerTextDrawShow(playerid,TextCash1[playerid]);
    if(!gPlayerAnimLibsPreloaded[playerid])
    {
        PreloadAnimLib(playerid,"AIRPORT");
        PreloadAnimLib(playerid,"Attractors");
        PreloadAnimLib(playerid,"BAR");
        PreloadAnimLib(playerid,"BASEBALL");
        PreloadAnimLib(playerid,"BD_FIRE");
        PreloadAnimLib(playerid,"benchpress");
        PreloadAnimLib(playerid,"BF_injection");
        PreloadAnimLib(playerid,"BIKED");
        PreloadAnimLib(playerid,"BIKEH");
        PreloadAnimLib(playerid,"BIKELEAP");
        PreloadAnimLib(playerid,"BIKES");
        PreloadAnimLib(playerid,"BIKEV");
        PreloadAnimLib(playerid,"BIKE_DBZ");
        PreloadAnimLib(playerid,"BMX");
        PreloadAnimLib(playerid,"BOX");
        PreloadAnimLib(playerid,"BSKTBALL");
        PreloadAnimLib(playerid,"BUDDY");
        PreloadAnimLib(playerid,"BUS");
        PreloadAnimLib(playerid,"CAMERA");
        PreloadAnimLib(playerid,"CAR");
        PreloadAnimLib(playerid,"CAR_CHAT");
        PreloadAnimLib(playerid,"CASINO");
        PreloadAnimLib(playerid,"CHAINSAW");
        PreloadAnimLib(playerid,"CHOPPA");
        PreloadAnimLib(playerid,"CLOTHES");
        PreloadAnimLib(playerid,"COACH");
        PreloadAnimLib(playerid,"COLT45");
        PreloadAnimLib(playerid,"COP_DVBYZ");
        PreloadAnimLib(playerid,"CRIB");
        PreloadAnimLib(playerid,"DAM_JUMP");
        PreloadAnimLib(playerid,"DANCING");
        PreloadAnimLib(playerid,"DILDO");
        PreloadAnimLib(playerid,"DODGE");
        PreloadAnimLib(playerid,"DOZER");
        PreloadAnimLib(playerid,"DRIVEBYS");
        PreloadAnimLib(playerid,"FAT");
        PreloadAnimLib(playerid,"FIGHT_B");
        PreloadAnimLib(playerid,"FIGHT_C");
        PreloadAnimLib(playerid,"FIGHT_D");
        PreloadAnimLib(playerid,"FIGHT_E");
        PreloadAnimLib(playerid,"FINALE");
        PreloadAnimLib(playerid,"FINALE2");
        PreloadAnimLib(playerid,"Flowers");
        PreloadAnimLib(playerid,"FOOD");
        PreloadAnimLib(playerid,"Freeweights");
        PreloadAnimLib(playerid,"GANGS");
        PreloadAnimLib(playerid,"GHANDS");
        PreloadAnimLib(playerid,"GHETTO_DB");
        PreloadAnimLib(playerid,"goggles");
        PreloadAnimLib(playerid,"GRAFFITI");
        PreloadAnimLib(playerid,"GRAVEYARD");
        PreloadAnimLib(playerid,"GRENADE");
        PreloadAnimLib(playerid,"GYMNASIUM");
        PreloadAnimLib(playerid,"HAIRCUTS");
        PreloadAnimLib(playerid,"HEIST9");
        PreloadAnimLib(playerid,"INT_HOUSE");
        PreloadAnimLib(playerid,"INT_OFFICE");
        PreloadAnimLib(playerid,"INT_SHOP");
        PreloadAnimLib(playerid,"JST_BUISNESS");
        PreloadAnimLib(playerid,"KART");
        PreloadAnimLib(playerid,"KISSING");
        PreloadAnimLib(playerid,"KNIFE");
        PreloadAnimLib(playerid,"LAPDAN1");
        PreloadAnimLib(playerid,"LAPDAN2");
        PreloadAnimLib(playerid,"LAPDAN3");
        PreloadAnimLib(playerid,"LOWRIDER");
        PreloadAnimLib(playerid,"MD_CHASE");
        PreloadAnimLib(playerid,"MEDIC");
        PreloadAnimLib(playerid,"MD_END");
        PreloadAnimLib(playerid,"MISC");
        PreloadAnimLib(playerid,"MTB");
        PreloadAnimLib(playerid,"MUSCULAR");
        PreloadAnimLib(playerid,"NEVADA");
        PreloadAnimLib(playerid,"ON_LOOKERS");
        PreloadAnimLib(playerid,"OTB");
        PreloadAnimLib(playerid,"PARACHUTE");
        PreloadAnimLib(playerid,"PARK");
        PreloadAnimLib(playerid,"PAULNMAC");
        PreloadAnimLib(playerid,"PED");
        PreloadAnimLib(playerid,"PLAYER_DVBYS");
        PreloadAnimLib(playerid,"PLAYIDLES");
        PreloadAnimLib(playerid,"POLICE");
        PreloadAnimLib(playerid,"POOL");
        PreloadAnimLib(playerid,"POOR");
        PreloadAnimLib(playerid,"PYTHON");
        PreloadAnimLib(playerid,"QUAD");
        PreloadAnimLib(playerid,"QUAD_DBZ");
        PreloadAnimLib(playerid,"RIFLE");
        PreloadAnimLib(playerid,"RIOT");
        PreloadAnimLib(playerid,"ROB_BANK");
        PreloadAnimLib(playerid,"ROCKET");
        PreloadAnimLib(playerid,"RUSTLER");
        PreloadAnimLib(playerid,"RYDER");
        PreloadAnimLib(playerid,"SCRATCHING");
        PreloadAnimLib(playerid,"SHAMAL");
        PreloadAnimLib(playerid,"SHOTGUN");
        PreloadAnimLib(playerid,"SILENCED");
        PreloadAnimLib(playerid,"SKATE");
        PreloadAnimLib(playerid,"SPRAYCAN");
        PreloadAnimLib(playerid,"STRIP");
        PreloadAnimLib(playerid,"SUNBATHE");
        PreloadAnimLib(playerid,"SWAT");
        PreloadAnimLib(playerid,"SWEET");
        PreloadAnimLib(playerid,"SWIM");
        PreloadAnimLib(playerid,"SWORD");
        PreloadAnimLib(playerid,"TANK");
        PreloadAnimLib(playerid,"TATTOOS");
        PreloadAnimLib(playerid,"TEC");
        PreloadAnimLib(playerid,"TRAIN");
        PreloadAnimLib(playerid,"TRUCK");
        PreloadAnimLib(playerid,"UZI");
        PreloadAnimLib(playerid,"VAN");
        PreloadAnimLib(playerid,"VENDING");
        PreloadAnimLib(playerid,"VORTEX");
        PreloadAnimLib(playerid,"WAYFARER");
        PreloadAnimLib(playerid,"WEAPONS");
        PreloadAnimLib(playerid,"WUZI");
        PreloadAnimLib(playerid,"SNM");
        PreloadAnimLib(playerid,"BLOWJOBZ");
        PreloadAnimLib(playerid,"SEX");
        PreloadAnimLib(playerid,"BOMBER");
        PreloadAnimLib(playerid,"RAPPING");
        PreloadAnimLib(playerid,"SHOP");
        PreloadAnimLib(playerid,"BEACH");
        PreloadAnimLib(playerid,"SMOKING");
        PreloadAnimLib(playerid,"FOOD");
        PreloadAnimLib(playerid,"ON_LOOKERS");
        PreloadAnimLib(playerid,"DEALER");
        PreloadAnimLib(playerid,"CRACK");
        PreloadAnimLib(playerid,"CARRY");
        PreloadAnimLib(playerid,"COP_AMBIENT");
        PreloadAnimLib(playerid,"PARK");
        PreloadAnimLib(playerid,"INT_HOUSE");
        PreloadAnimLib(playerid,"FOOD");
        gPlayerAnimLibsPreloaded[playerid] = 1;
    }
    if(pInfo[playerid][pSaveSkin] == 0)
    {
        pInfo[playerid][pSkin] = GetPlayerSkin(playerid);
    }
    LoadColor(playerid,0);
    TogglePlayerControllable(playerid, false);
    if(playerinminigame[playerid] == 1)
    {
        if(PlayerInMinigunDM[playerid] == 1)
        {
            new Float:randspawn[][4] =
            {
                {2608.7344,2730.8657,36.5386,311.8205},
                {2601.4578,2727.5654,23.8222,160.8158},
                {2637.2620,2727.4536,23.8222,214.3963},
                {2643.3943,2768.6917,23.8222,356.6509},
                {2652.2625,2778.2302,19.3222,2.6043}
            };
            new rand = random(sizeof(randspawn));
            SetPlayerPos(playerid,randspawn[rand][0],randspawn[rand][1],randspawn[rand][2]+2);
            SetPlayerFacingAngle(playerid,randspawn[rand][3]);
            SetPlayerHealth(playerid,100);
            SetPlayerArmour(playerid,100);
            GivePlayerWeapon(playerid,38,99999999999);
        }
        if(PlayerInSniperDM[playerid] == 1)
        {
            new Float:randspawn2[][4] =
            {
                    {263.3716, 1048.7710, 22.3917, 0.0000},
                    {236.3506, 1125.0599, 11.7696, 0.0000},
                    {314.3437, 1151.1447, 8.1819, 0.0000},
                    {252.8981, 1139.5636, 13.9652, 0.0000},
                    {316.0905, 1064.9928, 21.0342, -98.0000},
                    {295.3294, 1070.1553, 18.7190, 0.0000}
            };
            new rand = random(sizeof(randspawn2));
            SetPlayerPos(playerid,randspawn2[rand][0],randspawn2[rand][1],randspawn2[rand][2]+2);
            SetPlayerFacingAngle(playerid,randspawn2[rand][3]);
            SetPlayerHealth(playerid,100);
            SetPlayerArmour(playerid,100);
            GivePlayerWeapon(playerid,34,99999999999);
        }
        if (GangWarTeam[playerid] == 1) {GangWarGrove(playerid); TogglePlayerControllable(playerid, false);}
        if (GangWarTeam[playerid] == 2) {GangWarBallas(playerid); TogglePlayerControllable(playerid, false);}
        if (GangWarTeam[playerid] == 3) {GangWarAztecas(playerid); TogglePlayerControllable(playerid, false);}
        if (GangWarTeam[playerid] == 4) {GangWarArmy(playerid); TogglePlayerControllable(playerid, false);}
        if (GangWarTeam[playerid] == 5) {GangWarHomeless(playerid); TogglePlayerControllable(playerid, false);}
        if (GangWarTeam[playerid] == 6) {GangWarVagos(playerid); TogglePlayerControllable(playerid, false);}
        if (GangWarTeam[playerid] == 7) {GangWarMafia(playerid); TogglePlayerControllable(playerid, false);}
        if (GangWarTeam[playerid] == 8) {GangWarPolice(playerid); TogglePlayerControllable(playerid, false);}
        SetPlayerHealth(playerid, 99999999999);
        SetTimerEx("AntiSpawnKill", 2000, 0, "i", playerid);
        SetTimerEx("TeleUnfreeze", 1000, 0, "i", playerid);
        SetPlayerSkin(playerid, pInfo[playerid][pSkin]);
    }
    else if(playerinminigame[playerid] != 1)
    {
        if(pInfo[playerid][pUsePos]==1)
        {
            SetPlayerPos(playerid, pInfo[playerid][pX], pInfo[playerid][pY], pInfo[playerid][pZ]+1);
            SetPlayerFacingAngle(playerid, pInfo[playerid][pA]);
            SetPlayerSkin(playerid, pInfo[playerid][pSkin]);
        }
        else
        {
            new Random = random(sizeof(RandomSpawns));
            SetPlayerPos(playerid, RandomSpawns[Random][0], RandomSpawns[Random][1], RandomSpawns[Random][2]);
            SetPlayerFacingAngle(playerid, RandomSpawns[Random][3]);
            SetPlayerSkin(playerid, pInfo[playerid][pSkin]);
        }
        if(pInfo[playerid][pGodmode] == 1)
        {
            Godon(playerid,1);
        }
        else if(pInfo[playerid][pGodmode] == 0)
        {
            Godon(playerid,2);
        }
        SetTimerEx("TeleUnfreeze", 3000, 0, "i", playerid);
    }

    //SetPlayerMoney(playerid, pInfo[playerid][pMoney]);
    islisteningtoradio[playerid] = 0;
    for(new i = 0; i<MAX_PLAYERS; i++)
    {
        SetPlayerMarkerForPlayer(i, playerid, pInfo[playerid][pColor]);
    }
    /*else if(PlayerInPaintballDM[playerid] == 1)
    {
        new Float:randspawn1[][4] =
        {
                {-175.6185, 56.1974, 2.7344, 160.2587},
                {-188.1681, -1.3516, 2.7300, 196.5339},
                {-191.0760, 8.3308, 2.1134, 18.4279},
                {-219.7907, -21.2605, 3.3348, 270.3622},
                {-251.9291, -5.8671, 2.3619, 260.4425},
                {-187.4782, -46.5500, 18.9739, 341.2828}
        };
        new rand = random(sizeof(randspawn1));
        SetPlayerPos(playerid,randspawn1[rand][0],randspawn1[rand][1],randspawn1[rand][2]+2);
        SetPlayerFacingAngle(playerid,randspawn1[rand][3]);
        SetPlayerHealth(playerid,100);
        SetPlayerArmour(playerid,100);
        GivePlayerWeapon(playerid,22,99999999999);
    }
    else if(PlayerInSniperDM[playerid] == 1)
    {
        new Float:randspawn2[][4] =
        {
                {263.3716, 1048.7710, 22.3917, 0.0000},
                {236.3506, 1125.0599, 11.7696, 0.0000},
                {314.3437, 1151.1447, 8.1819, 0.0000},
                {252.8981, 1139.5636, 13.9652, 0.0000},
                {316.0905, 1064.9928, 21.0342, -98.0000},
                {295.3294, 1070.1553, 18.7190, 0.0000}
        };
        new rand = random(sizeof(randspawn2));
        SetPlayerPos(playerid,randspawn2[rand][0],randspawn2[rand][1],randspawn2[rand][2]+2);
        SetPlayerFacingAngle(playerid,randspawn2[rand][3]);
        SetPlayerHealth(playerid,100);
        SetPlayerArmour(playerid,100);
        GivePlayerWeapon(playerid,34,99999999999);
    }
    else if(PlayerInMolotovDM[playerid] == 1)
    {
        new Float:randspawn3[][4] =
        {
                {1496.9067,-1576.5399,67.2109,357.8809},
                {1536.9594,-1575.1558,67.2109,289.2368},
                {1537.2256,-1526.5580,69.9083,224.1821},
                {1457.9867,-1515.2902,67.2072,118.2019},
                {1454.5513,-1573.7841,67.2109,335.3440}
        };
        new rand = random(sizeof(randspawn3));
        SetPlayerPos(playerid,randspawn3[rand][0],randspawn3[rand][1],randspawn3[rand][2]+2);
        SetPlayerFacingAngle(playerid,randspawn3[rand][3]);
        SetPlayerHealth(playerid,100);
        SetPlayerArmour(playerid,100);
        GivePlayerWeapon(playerid,18,99999999999);
    }*/

    new attfile[128];
    new f1[15],f2[15],f3[15],f4[15],f5[15],f6[15],f7[15],f8[15],f9[15],f10[15],f11[15];
    format(attfile,sizeof(attfile),"Player Objects/%s.ini",pName(playerid));
    if(dini_Exists(attfile))
    {
        for(new x;x<MAX_OSLOTS;x++)
        {
            format(f1,15,"O_Model_%d",x);
            format(f2,15,"O_Bone_%d",x);
            format(f3,15,"O_OffX_%d",x);
            format(f4,15,"O_OffY_%d",x);
            format(f5,15,"O_OffZ_%d",x);
            format(f6,15,"O_RotX_%d",x);
            format(f7,15,"O_RotY_%d",x);
            format(f8,15,"O_RotZ_%d",x);
            format(f9,15,"O_ScaleX_%d",x);
            format(f10,15,"O_ScaleY_%d",x);
            format(f11,15,"O_ScaleZ_%d",x);
            if(dini_Int(attfile,f1)!=0)
            {
                SetPlayerAttachedObject(playerid,x,dini_Int(attfile,f1),dini_Int(attfile,f2),dini_Float(attfile,f3),dini_Float(attfile,f4),dini_Float(attfile,f5),dini_Float(attfile,f6),dini_Float(attfile,f7),dini_Float(attfile,f8),dini_Float(attfile,f9),dini_Float(attfile,f10),dini_Float(attfile,f11));
            }
        }
    }
    ShowPlayerMarkers(PLAYER_MARKERS_MODE_GLOBAL);
    return 1;
}

EDIT: i don't think that it's my OnPlayerSpawn bug, becouse it's just fine when i run my server in my pc(windows 7)

Quote:
Originally Posted by PrivatioBoni
Посмотреть сообщение
There's like a million matches on ****** - pick a thread and read it.
And you can't bump within 2 hours, it must be 24+
yeah, becouse waiting is f*cking annoying when every player are reporting this bug to me every minute -,-

EDIT #2: i got this message on the server_log.txt
Код:
[11:42:04] *** Streamer Plugin: Warning: Include file version (0x27201) does not match plugin version (0x27101) (script might need to be recompiled with the latest include file)
[11:42:04]   Loaded 1 filterscripts.

[11:42:04] *** Streamer Plugin: Warning: Include file version (0x27201) does not match plugin version
is it matter?

EDIT #3:
ah nevermind... this bug has been fixed. i don't know what make this bug, i tried a lot way and then try it. from updating the streamer plugin untill cleaning up my script.
Reply
#7

damn i got this bug again :3
Reply


Forum Jump:


Users browsing this thread: