Jump to content
  • 0

Bug f4


Jimmi

Question

Problema intalnita (descriere):De ce atunci cand dau pe f4 si cand mor ma da in aer adica asa mai exact:[POZA MAI JOS]
Ero(area / rile) / warning-(ul / urile):-
Liniile de cod / sursa / script-ul(obligatoriu):Cred ca e de vina OnPlayerRequestClass


Imagini / Video (optional):http://s21.postimg.org/ayl2a2493/sa_mp_035.png
Ati incercat sa rezolvati singur?:Da cautand pe google dar nu inteleg eu cand am cautat cu F4 nu am gasit codul ce trebuie eliminat

public OnPlayerRequestClass(playerid, classid)
{
     if (RegistrationStep[playerid] == 0 && gPlayerLogged[playerid] != 1)
    {
        if (gPlayerAccount[playerid] != 0)
        {
            SetPlayerTime(playerid, 24, 0);
            TextDrawShowForPlayer(playerid, Textdraw2);
            SendClientMessage(playerid, COLOR_YELLOW2, "{0066FF}Los Santos: {FFFFFF}Bine ai venit pe PG-ZONE-RPG Romania.");
            SendClientMessage(playerid, COLOR_YELLOW2, "{0066FF}Los Santos: {FFFFFF}Echipa PG-ZONE saluta toti cetatenii Los Santos!");
            InterpolateCameraPos(playerid, 1034.645874, -1631.084472, 118.365447, 1400.550781, -929.490905, 98.797058, 40000);
            InterpolateCameraLookAt(playerid, 1030.184936, -1632.479980, 116.589866, 1401.127441, -924.546997, 98.322418, 40000);
            gPlayerAccount[playerid] = 1;
            TextDrawShowForPlayer(playerid, Textdraw2);
            new loginname[64];
            GetPlayerName(playerid,loginname,sizeof(loginname));
            ShowPlayerDialog(playerid,12346,DIALOG_STYLE_PASSWORD,"{FFFFFF}Logare","{FFFFFF}Scrie {0066FF}parola contului tau {FFFFFF}mai jos:","Logare","Iesi");
        }
        else
        {
            gPlayerAccount[playerid] = 0;
            TextDrawShowForPlayer(playerid, Textdraw2);
            new regname[64];
            GetPlayerName(playerid,regname,sizeof(regname));
            ShowPlayerDialog(playerid,12345,DIALOG_STYLE_PASSWORD,"{FFFFFF}Inregistrare","{FFFFFF}Scrie {0066FF}parola contului tau {FFFFFF}mai jos:","Inregistrare","Iesi");
        }
        SetPlayerFacingAngle(playerid, 3.41);
           SetPlayerTime(playerid, 24, 0);
        InterpolateCameraPos(playerid, 1034.645874, -1631.084472, 118.365447, 1400.550781, -929.490905, 98.797058, 40000);
        InterpolateCameraLookAt(playerid, 1030.184936, -1632.479980, 116.589866, 1401.127441, -924.546997, 98.322418, 40000);
        SetPlayerPos(playerid, 1437.6957,-2266.6355,13.5469);
          TextDrawShowForPlayer(playerid, Textdraw2);
        PlayerInfo[playerid][pModel] = Peds[classid][0];
    }
    return 1;
}
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

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.