Jump to content
  • 0

Problema spawn


eXplosioN SAMP

Question

Problema intalnita (descriere): Este vorba despre gamemode-ul godfather , cand intru pe server apare treaba aia cu Factura ta medicala este de %s, bine in fine ,apare de 2 ori, si cand te inregistrezi ..
Liniile de cod / sursa / script-ul(obligatoriu): nu stiu , cereti-mi ce credeti ca e
Imagini / Video (optional): -
Ati incercat sa rezolvati singur?:  da , m-am uitat la SetPlayerSpawn , OnPlayerRequestClass , insa cred ca se dubleaza spawn-ul , nu stiu sa rezolv

Edited by eXplosioN SAMP
Greseli gramaticale
Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Este vorba si de mesajul , Bun venit , raspunde la urmatoarele intrebari , la tutorial

Quote

if(MedicBill[playerid] == 1 && PlayerInfo[playerid][pJailed] == 0 && PlayerPaintballing[playerid] == 0)
        {
            new string[128];
            new cut = deathcost;
            GivePlayerMoney(playerid, -cut);
            format(string, sizeof(string), "{FF0000}[DOCTOR]{c1c1c1} Factura ta medicala este de {66FF66}$%s.{c1c1c1} Va uram o zi buna !", FormatMoney(cut));
            SendClientMessage(playerid, 0xFF6347FF, string);
            MedicBill[playerid] = 0;
            MedicTime[playerid] = 0;
            NeedMedicTime[playerid] = 0;
            SetPlayerHealth(playerid, 100);
            SBizzInfo[14][sbTill] += cut/1;
            ExtortionSBiz(14, cut/3);
        }

Quote

if(PlayerInfo[playerid][pTut] == 0)
        {
            gOoc[playerid] = 1; gNews[playerid] = 1; gFam[playerid] = 1; gNfs[playerid] = 1; gAdmin[playerid] = 1; gVip[playerid] = 1; gExto[playerid] = 1; gLeader[playerid] = 1;
            SetPlayerInterior(playerid,1);//era 0
            PlayerInfo[playerid][pInt] = 1;//era 0
            SetPlayerPos(playerid, -2165.8992,644.5991,1057.5938);
            SetCameraBehindPlayer(playerid);
            SetPlayerHealth(playerid, 100);
            TogglePlayerControllable(playerid, 0);
            SendClientMessage(playerid, 0xFF3333FF, "{FFFFFF}Bun venit pe {33CCFF}LimitCs - GF Server.{FFFFFF} Va rugam completati tutorialul.");
            ShowPlayerDialog(playerid,50,DIALOG_STYLE_LIST,"Alege sexul tau","Barbat \nFemeie","Select","");
            return 1;
        }

 

Link to comment
Share on other sites

  • 0

Iti apare de 2 ori findca tu cand te loghezi primesti odata respawn(si daca esti intr-un interior nu se vad obiectele) si sistemul detecteaza chestia asta si nu il lasa pe player sa cada in gol ci mai primeste odata respawn.

Daca mesajul vine unul dup altul de 2x atunci inseamna ca este lag.

 

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.