Jump to content

xFaNeL

Membru
  • Posts

    15
  • Joined

  • Last visited

Posts posted by xFaNeL

  1. YCMD:createhouse(playerid, params[], help) {
    	new pret, nivel;
    	if(PlayerInfo[playerid][pAdmin] < 7) return SCM(playerid, COLOR_GREY, "Nu ai acces!");
    	if(CreateHouse[playerid] == 1) return SCM(playerid, COLOR_WHITE, "Deja creezi o casa!");
    	if(sscanf(params, "ii", pret, nivel)) return SCM(playerid, COLOR_GREY, "USAGE: {FFFFFF}/createhouse <price> <nivel>");
        PlayerTextDrawSetString(playerid, ShopTDs[1], "Seteaza");
    	CreateHouse[playerid] = 1;
    	SInterior[playerid] = 1;
    	pPret[playerid] = pret;
    	pNivel[playerid] = nivel;
    	GetPlayerPos(playerid, pPos[playerid][0], pPos[playerid][1], pPos[playerid][2]);
        pInteriorID[playerid] = GetPlayerInterior(playerid), pVirtual[playerid] = GetPlayerVirtualWorld(playerid);
    	SetInteriorCamera(playerid);
    	ShowShopTDs(playerid);
    	SetPlayerVirtualWorld(playerid, playerid+900);
    	return 1;
    }

    Cand dau /createhouse in joc si selectez interiorul merge , si cand vreau sa dau Seteaza nu se intampla nimic. HELP

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