Land System
#7

Quote:
Originally Posted by GTLS
Посмотреть сообщение
There have been many posts like this on the forums. i dont play on Lawless but i can tell by watching their video on ******* that, they are using Custom Functions like, CreateLand(playerid, radius, posx,y,z); (or something like that)
for easy coding. What you do is, store the X,Y,Z in PlayerID's file with a Land ID. that makes him the owner of that Particular Land.

You can use IsAtHisOwnedLand() (or something like this) to check if he is standing on his own land. You can use IsPlayerInRangeOfPoint(playerid, radius of land,X,Y,Z) to check if he is standing with in his land. What others meant to say Use GangZones to display lands on Map.

You can make a Furniture system like, /buyfurniture and check if IsAtHisOwnedLand(), you allow him to create a Object there. if the Object after saying goes out of land area, you DestroyObject() or may be show player a warning.
Can you show me an example code for storing X,Y,Z and for a basic cmd of creating a zone within the player's position?
Reply


Messages In This Thread
Land System - by JasonRiggs - 20.07.2016, 21:24
Re: Land System - by Codeah - 20.07.2016, 22:16
Re: Land System - by JasonRiggs - 19.05.2017, 00:53
Re: Land System - by rockhopper - 19.05.2017, 13:07
Re: Land System - by JasonRiggs - 19.05.2017, 14:31
Re: Land System - by GTLS - 19.05.2017, 16:35
Re: Land System - by JasonRiggs - 19.05.2017, 16:46
Re: Land System - by JasonRiggs - 19.05.2017, 16:48
Re: Land System - by Aly - 19.05.2017, 17:29
Re: Land System - by JasonRiggs - 19.05.2017, 18:08

Forum Jump:


Users browsing this thread: 1 Guest(s)