Nightimarez
New Member
- Joined
- Jul 24, 2008
- Messages
- 287
- Reaction score
- 2
Rope formula for example, but can't be used for my method.
Does anyone know the formula to get the coordinates from the player's house?
I'm trying to make something like this.
toPosition.xyz isn't a real formula.
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.