Need some help..
#1

Hello, i just started PEN LS. and i want to add more houses.
but when i do /tphouse, i only can teleport 33 houses.
i wanna teleport more houses.
could you help me?

Код:
	if(strcmp(cmd, "/tphouse", true) == 0 && IsPlayerConnected(playerid))
	{
		GetPlayerName(playerid, playername, sizeof(playername));
		tmp = strtok(cmdtext, idx);

		new Float:hX, Float:hY, Float:hZ;
		GetPlayerPos(playerid, hX, hY, hZ);

		if(!strlen(tmp))
		{
			SendClientMessage(playerid, COLOR_GRAD1, "USAGE: /tphouse [houseid]");
			return 1;
		}
		new house = strval(tmp);
		if ((IsPlayerAdmin(playerid)) || PlayerInfo[playerid][pAdmin] >= 105 && IsPlayerConnected(playerid))
		{
			HouseInfo[house][hEntrancex] = hX;
			HouseInfo[house][hEntrancey] = hY;
			HouseInfo[house][hEntrancez] = hZ;
			format(string, sizeof(string), "House has been transported to its new location");
			SendClientMessage(playerid, COLOR_GRAD2, string);
			OnPropUpdate();
			return 1;
		}
		else
		{
			SendClientMessage(playerid, COLOR_WHITE, "You are not an admin.");
		}
		return 1;
	}
so could you help me and tell me what i need to do.
i think i need help with the property.cfg. but i'm not sure.

thanks for helping.
Reply
#2

I'm in doubt if someone will help as none has knowledge with this mode.. This mode got forgotten long time ago. GF is a better version of this but still not good in my opinion.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)