forked from Simnation/Main
24 lines
634 B
Lua
24 lines
634 B
Lua
![]() |
-- Test file for FiveM Community Bridge Extension
|
||
|
-- Try the following to test extension features:
|
||
|
|
||
|
-- 1. Type "CommunityBridge." (with the dot) and you should see auto-completion
|
||
|
-- CommunityBridge.
|
||
|
|
||
|
-- 2. Type "AddEventHandler" and see parameter hints
|
||
|
-- AddEventHandler(
|
||
|
|
||
|
-- 3. Hover over these function names to see documentation:
|
||
|
-- GetPlayerData, SetPlayerData, TriggerEvent, RegisterNetEvent
|
||
|
|
||
|
-- 4. Try these snippets (type the word and press Tab):
|
||
|
-- event
|
||
|
-- thread
|
||
|
-- command
|
||
|
-- cbget
|
||
|
-- cbset
|
||
|
|
||
|
-- 5. Test signature help - start typing a function call:
|
||
|
-- CommunityBridge.GetPlayerData(
|
||
|
|
||
|
print("Extension test file loaded")
|