Jump to content

Question

Posted (edited)

Salut, am o problema cu sistemul de furniture, imi da niste erori, am incercat sa le rezolv, dar nu imi dau seama.

Am bagat un sistem de furniture, dar nu imi apare dialogul cand scriu /furniture, nu stiu ce are va rog ajutati-ma.

Comanda 

 

CMD:furniture(playerid, params[])
{
    if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_RED, "Nu esti logat!");
    new house = PlayerInfo[playerid][pPhousekey];
    new bouse = PlayerInfo[playerid][pPhousekey];
    if(GetHouseObjects(house) == 50) return SCM(playerid,-1,"Ai prea mult mobiler in casa (50/50).");
    if(bouse != 999 && strcmp(GetName(playerid), HouseInfo[PlayerInfo[playerid][pPhousekey]][hOwner], true) == 0)
    {
        if(!PlayerToPoint(50.0, playerid, HouseInfo[bouse][hExitx], HouseInfo[bouse][hExity], HouseInfo[bouse][hExitz]) && GetPlayerVirtualWorld(playerid) != HouseInfo[bouse][hVirtual]) return SCM(playerid, COLOR_WHITE, "Nu esti in interiorul casei tale!");
        ShowModelSelectionMenu(playerid, furnitures, "Mobila");
    }
    return 1;
}

 

Ps folosesc gm BUHA. editat de Aniox

Edited by eNeR.

2 answers to this question

Recommended Posts

  • 0
Posted
31 minutes ago, eNeR. said:

Salut, am o problema cu sistemul de furniture, imi da niste erori, am incercat sa le rezolv, dar nu imi dau seama.

Am bagat un sistem de furniture, dar nu imi apare dialogul cand scriu /furniture, nu stiu ce are va rog ajutati-ma.

Comanda 

 

CMD:furniture(playerid, params[])
{
    if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_RED, "Nu esti logat!");
    new house = PlayerInfo[playerid][pPhousekey];
    new bouse = PlayerInfo[playerid][pPhousekey];
    if(GetHouseObjects(house) == 50) return SCM(playerid,-1,"Ai prea mult mobiler in casa (50/50).");
    if(bouse != 999 && strcmp(GetName(playerid), HouseInfo[PlayerInfo[playerid][pPhousekey]][hOwner], true) == 0)
    {
        if(!PlayerToPoint(50.0, playerid, HouseInfo[bouse][hExitx], HouseInfo[bouse][hExity], HouseInfo[bouse][hExitz]) && GetPlayerVirtualWorld(playerid) != HouseInfo[bouse][hVirtual]) return SCM(playerid, COLOR_WHITE, "Nu esti in interiorul casei tale!");
        ShowModelSelectionMenu(playerid, furnitures, "Mobila");
    }
    return 1;
}

 

Ps folosesc gm BUHA. editat de Aniox

1.ai buton de edit.

2.nu ai postat nicio eroare.

**********************************

Servicii Scripting de calitate:

*********************************

Future Project: ExpertGame

*********************************

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.