• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Shorter toPosition x, y, z.

Nightimarez

New Member
Joined
Jul 24, 2008
Messages
287
Reaction score
2
Rope formula for example, but can't be used for my method.
PHP:
	if toPosition.x == CONTAINER_POSITION or toPosition.x == 0 and toPosition.y == 0 and toPosition.z == 0 then
		return FALSE

Does anyone know the formula to get the coordinates from the player's house?

I'm trying to make something like this.
PHP:
if toPosition.xyz == getHouseEntry(getHouseByPlayerGUID(getPlayerGUID(cid))) then
				return doPlayerSendCancel(cid, "Cant be used in front of your house.")

toPosition.xyz isn't a real formula.
 
Back
Top