Jump to content
  • 0

ajutor


Sebi wepos

Question

Atunci cand apas tasta "N" imi spune Ai bagat mancarea in... si imi scoate obiectul si animatia dar nu imi seteaza un checkpoint si nici nu-mi trimite * Du-te la punctul rosu de pe mapa pentru a primi banii. Distanta: %0.1fm...



if(newkeys & KEY_NO) {
        if(Nelu2[playerid] == 1) {
            SCM(playerid, -1, "Ai bagat mancarea in ghiozdan!");
            Nelu2[playerid] = 0;
            RemovePlayerAttachedObject( playerid, 0 ); SetPlayerSpecialAction( playerid, 0 );
            new j = random(housess)+1;
            SetPlayerCheckpointEx(playerid, HouseInfo[j][hEntrancex],HouseInfo[j][hEntrancey],HouseInfo[j][hEntrancez], 7.0);
            format(string, sizeof(string), "* Du-te la punctul rosu de pe mapa pentru a primi banii. Distanta: %0.1fm", GetPlayerDistanceFromPoint(playerid, HouseInfo[j][hEntrancex],                  HouseInfo[j][hEntrancey], HouseInfo[j][hEntrancez]));
            SCM(playerid, COLOR_YELLOW, string);
            CP[playerid] = 157;
        }

}
Help??

Link to comment
Share on other sites

7 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.