SA-MP Forums Archive
Need some help.. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Need some help.. (/showthread.php?tid=92243)



Need some help.. - [FBI]Gstar - 19.08.2009

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.


Re: Need some help.. - MenaceX^ - 19.08.2009

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.