
Installation
This page will give you the information you need to setup our fences script.
Dependencies
How to install
How to add new fences
Fence Template:
['fence_name'] = {
ped = 'G_M_M_FriedlanderGoons_01', -- This is the ped that will be spawned
pos = vector4(0, 0, 0, 0), -- This is the location where the ped will stand
scenario = 'WORLD_HUMAN_TOURIST_MOBILE', -- This is the scenario that the ped will be playing
items = { -- This is the list of items the ped will buy from a player
-- There are two reward type's you can use, these are 'money' and 'item'. For both an example down here.
[id] = {name = 'example_item', price = 0, rewardType = 'money'},
[id] = {name = 'example_item', price = 0, rewardType = 'item', itemReward = 'example_item', itemAmount = 1},
},
},Last updated