函数或事件 范围 描述 返回 exports[‘rsg-core’]:AddItem(itemName, item) Server Accepts an item name and item object – will add new entry to RSGCore.Shared.Items boolean, string exports[‘rsg-core’]:AddJob(jobName, job) Server Accepts an job name and job object – will add new entry to RSGCore.Shared.Jobs boolean, string exports[‘rsg-core’]:AddGang(gangName, gang) Server Accepts an gang name and gang object – will add new entry to RSGCore.Shared.Gangs boolean, string exports[‘rsg-core’]:AddItems(items) Server Accepts a table or array – will loop through the table and add new entries to RSGCore.Shared.Items boolean, string, errorItem exports[‘rsg-core’]:AddJobs(jobs) Server Accepts a table or array – will loop through the table and add new entries to RSGCore.Shared.Jobs boolean, string, errorItem exports[‘rsg-core’]:AddGangs(gangs) Server Accepts an item name and item object – will add new entry to RSGCore.Shared.Items boolean, string, errorItem RSGCore.Functions.AddItem(itemName, item) Server Accepts an item name and item object – will add new entry to RSGCore.Shared.Items boolean, string RSGCore.Functions.AddJob(jobName, Job) Server Accepts an job name and job object – will add new entry to RSGCore.Shared.Jobs boolean, string RSGCore.Functions.AddGang(gangName, gang) Server Accepts an gang name and gang object – will add new entry to RSGCore.Shared.Gangs boolean, string RSGCore.Functions.AddItems(items) Server Accepts a table or array – will loop through the table and add new entries to RSGCore.Shared.Items boolean, string, errorItem RSGCore.Functions.AddJobs(jobs) Server Accepts a table or array – will loop through the table and add new entries to RSGCore.Shared.Jobs boolean, string, errorItem RSGCore.Functions.AddGangs(gangs) Server Accepts a table or array – will loop through the table and add new entries to RSGCore.Shared.Gangs boolean, string, errorItem
本站代码模板仅供学习交流使用请勿商业运营,严禁从事违法,侵权等任何非法活动,否则后果自负!
THE END
喜欢就支持一下吧
- 最新
- 最热
只看作者