Jump to content

[DELETED]Problema /createhouse


FaNeL
 Share

Recommended Posts

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

  NU TE DA NICIODATA CEEA CE NU ESTI!

olteanclan.gif.8451444ec0ecc128424605d8485f4ba5.gif

Link to comment
Share on other sites

Topic-ul a fost șters deoarece nu ai respectat modelul de postare. Te rugăm sa revii cu alt topic in care să respecți modelul.

Topic șters!

Respecta si vei fi respectat.

 

BigInt Pawn:

Pacman C++: 

Snake C++:

Minesweeper C++:

 

mattbb.cash

leaks.ro

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...