- 0
Probleme sistem furniture
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
Smoz UNICU CEL ADEVARAT
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