Created
August 11, 2017 22:37
-
-
Save ElDuderino420/69b72696dfff1af2dd1df76092cb86a1 to your computer and use it in GitHub Desktop.
SAMP Autocompletions for VS Code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"#if !defined … #define … #endif": { | |
"prefix": "def", | |
"body": "#if !defined ${1/([A-Za-z0-9_]+).*/$1/}\n\t#define ${1:SYMBOL} ${2:value}\n#endif$0" | |
}, | |
"#include \"…\"": { | |
"prefix": "include", | |
"body": "include \"${1:}\"$0" | |
}, | |
"#include <…>": { | |
"prefix": "include", | |
"body": "include <${1:}>$0" | |
}, | |
"Create3DMenu": { | |
"prefix": "Create3DMenu", | |
"body": "Create3DMenu(${1:Float:x},${2:Float:y},${3:Float:z},${4:Float:rotation},${5:boxes},${6:playerid})$0" | |
}, | |
"SetBoxText": { | |
"prefix": "SetBoxText", | |
"body": "SetBoxText(${1:MenuID},${2:box},${3:text[]},${4:materialsize},${5:fontface[]},${6:fontsize},${7:bold},${8:fontcolor},${9:selectcolor},${10:unselectcolor},${11:textalignment})$0" | |
}, | |
"Select3DMenu": { | |
"prefix": "Select3DMenu", | |
"body": "Select3DMenu(${1:playerid},${2:MenuID})$0" | |
}, | |
"CancelSelect3DMenu": { | |
"prefix": "CancelSelect3DMenu", | |
"body": "CancelSelect3DMenu(${1:playerid})$0" | |
}, | |
"Destroy3DMenu": { | |
"prefix": "Destroy3DMenu", | |
"body": "Destroy3DMenu(${1:MenuID})$0" | |
}, | |
"OnPlayerSelect3DMenuBox": { | |
"prefix": "OnPlayerSelect3DMenuBox", | |
"body": "public OnPlayerSelect3DMenuBox(${1:playerid},${2:MenuID},${3:boxid})$0" | |
}, | |
"OnPlayerChange3DMenuBox": { | |
"prefix": "OnPlayerChange3DMenuBox", | |
"body": "public OnPlayerChange3DMenuBox(${1:playerid},${2:MenuID},${3:boxid})$0" | |
}, | |
"ALS Callback": { | |
"prefix": "ALS", | |
"body": "public ${2:Function}(${3:Args})\n{\n\t${4}\n\t#if defined ${1:Prefix}_${2:Function}\n\t\treturn ${1:Prefix}_${2:Function}(${3:Args});\n\t#else\n\t\treturn 1;\n\t#endif\n}\n#if defined _ALS_${2:Function}\n\t#undef ${2:Function}\n#else\n\t#define _ALS_${2:Function}\n#endif\n\n#define ${2:Function} ${1:Prefix}_${2:Function}\n#if defined ${1:Prefix}_${2:Function}\n\tforward ${1:Prefix}_${2:Function}(${3:Args});\n#endif$0" | |
}, | |
"ALS Function": { | |
"prefix": "ALS", | |
"body": "stock ${1:Prefix}_${2:Function}(${3:args})\n{\n\t${4}\n\treturn ${2}(${3});\n}\n#if defined _ALS_${2}\n\t#undef ${2}\n#else\n\t#define _ALS_${2}\n#endif\n\n#define ${2} ${1}_${2}$0" | |
}, | |
"tm": { | |
"prefix": "tm", | |
"body": "tm<${1:name}>$0" | |
}, | |
"clock": { | |
"prefix": "clock", | |
"body": "clock()$0" | |
}, | |
"difftime": { | |
"prefix": "difftime", | |
"body": "difftime(${1:Time: tTime1}, ${2:Time: tTime2})$0" | |
}, | |
"mktime": { | |
"prefix": "mktime", | |
"body": "mktime(${1:tm <tmPtr>})$0" | |
}, | |
"asctime": { | |
"prefix": "asctime", | |
"body": "asctime(${1:tm <tmPtr>}, ${2:szBuf[]}, ${3:const iSize = sizeof(szBuf})$0" | |
}, | |
"ctime": { | |
"prefix": "ctime", | |
"body": "ctime(${1:Time: tTime}, ${2:szBuf[]}, ${3:const iSize = sizeof(szBuf})$0" | |
}, | |
"gmtime": { | |
"prefix": "gmtime", | |
"body": "gmtime(${1:Time: tTime}, ${2:tm <tmPtr>})$0" | |
}, | |
"localtime": { | |
"prefix": "localtime", | |
"body": "localtime(${1:Time: tTime}, ${2:tm <tmPtr>})$0" | |
}, | |
"strftime": { | |
"prefix": "strftime", | |
"body": "strftime(${1:szBuf[]}, ${2:const iSize}, ${3:const szFormat[]}, ${4:tm <tmPtr>})$0" | |
}, | |
"time": { | |
"prefix": "time", | |
"body": "time()$0" | |
}, | |
"FCNPC_OnCreate": { | |
"prefix": "FCNPC_OnCreate", | |
"body": "FCNPC_OnCreate(${1:npcid})$0" | |
}, | |
"FCNPC_OnDestroy": { | |
"prefix": "FCNPC_OnDestroy", | |
"body": "FCNPC_OnDestroy(${1:npcid})$0" | |
}, | |
"FCNPC_OnSpawn": { | |
"prefix": "FCNPC_OnSpawn", | |
"body": "FCNPC_OnSpawn(${1:npcid})$0" | |
}, | |
"FCNPC_OnRespawn": { | |
"prefix": "FCNPC_OnRespawn", | |
"body": "FCNPC_OnRespawn(${1:npcid})$0" | |
}, | |
"FCNPC_OnDeath": { | |
"prefix": "FCNPC_OnDeath", | |
"body": "FCNPC_OnDeath(${1:npcid}, ${2:killerid}, ${3:weaponid})$0" | |
}, | |
"FCNPC_OnVehicleEntryComplete": { | |
"prefix": "FCNPC_OnVehicleEntryComplete", | |
"body": "FCNPC_OnVehicleEntryComplete(${1:npcid}, ${2:vehicleid}, ${3:seat})$0" | |
}, | |
"FCNPC_OnVehicleExitComplete": { | |
"prefix": "FCNPC_OnVehicleExitComplete", | |
"body": "FCNPC_OnVehicleExitComplete(${1:npcid})$0" | |
}, | |
"FCNPC_OnReachDestination": { | |
"prefix": "FCNPC_OnReachDestination", | |
"body": "FCNPC_OnReachDestination(${1:npcid})$0" | |
}, | |
"FCNPC_OnFinishPlayback": { | |
"prefix": "FCNPC_OnFinishPlayback", | |
"body": "FCNPC_OnFinishPlayback(${1:npcid})$0" | |
}, | |
"FCNPC_OnTakeDamage": { | |
"prefix": "FCNPC_OnTakeDamage", | |
"body": "FCNPC_OnTakeDamage(${1:npcid}, ${2:damagerid}, ${3:weaponid}, ${4:bodypart}, ${5:Float:health_loss})$0" | |
}, | |
"FCNPC_OnGiveDamage": { | |
"prefix": "FCNPC_OnGiveDamage", | |
"body": "FCNPC_OnGiveDamage(${1:npcid}, ${2:issuerid}, ${3:weaponid}, ${4:bodypart}, ${5:Float:health_loss})$0" | |
}, | |
"FCNPC_OnVehicleTakeDamage": { | |
"prefix": "FCNPC_OnVehicleTakeDamage", | |
"body": "FCNPC_OnVehicleTakeDamage(${1:npcid}, ${2:damagerid}, ${3:vehicleid}, ${4:weaponid}, ${5:Float:x}, ${6:Float:y}, ${7:Float:z})$0" | |
}, | |
"FCNPC_OnFinishNodePoint": { | |
"prefix": "FCNPC_OnFinishNodePoint", | |
"body": "FCNPC_OnFinishNodePoint(${1:npcid}, ${2:point})$0" | |
}, | |
"FCNPC_OnChangeNode": { | |
"prefix": "FCNPC_OnChangeNode", | |
"body": "FCNPC_OnChangeNode(${1:npcid}, ${2:nodeid})$0" | |
}, | |
"FCNPC_OnFinishNode": { | |
"prefix": "FCNPC_OnFinishNode", | |
"body": "FCNPC_OnFinishNode(${1:npcid})$0" | |
}, | |
"FCNPC_OnStreamIn": { | |
"prefix": "FCNPC_OnStreamIn", | |
"body": "FCNPC_OnStreamIn(${1:npcid}, ${2:forplayerid})$0" | |
}, | |
"FCNPC_OnStreamOut": { | |
"prefix": "FCNPC_OnStreamOut", | |
"body": "FCNPC_OnStreamOut(${1:npcid}, ${2:forplayerid})$0" | |
}, | |
"FCNPC_OnUpdate": { | |
"prefix": "FCNPC_OnUpdate", | |
"body": "FCNPC_OnUpdate(${1:npcid})$0" | |
}, | |
"FCNPC_OnFinishMovePath": { | |
"prefix": "FCNPC_OnFinishMovePath", | |
"body": "FCNPC_OnFinishMovePath(${1:npcid}, ${2:pathid})$0" | |
}, | |
"FCNPC_OnFinishMovePathPoint": { | |
"prefix": "FCNPC_OnFinishMovePathPoint", | |
"body": "FCNPC_OnFinishMovePathPoint(${1:npcid}, ${2:pathid}, ${3:pointid})$0" | |
}, | |
"FCNPC_SetUpdateRate": { | |
"prefix": "FCNPC_SetUpdateRate", | |
"body": "FCNPC_SetUpdateRate(${1:rate})$0" | |
}, | |
"FCNPC_InitMapAndreas": { | |
"prefix": "FCNPC_InitMapAndreas", | |
"body": "FCNPC_InitMapAndreas(${1:address})$0" | |
}, | |
"FCNPC_Create": { | |
"prefix": "FCNPC_Create", | |
"body": "FCNPC_Create(${1:name[]})$0" | |
}, | |
"FCNPC_Destroy": { | |
"prefix": "FCNPC_Destroy", | |
"body": "FCNPC_Destroy(${1:npcid})$0" | |
}, | |
"FCNPC_Spawn": { | |
"prefix": "FCNPC_Spawn", | |
"body": "FCNPC_Spawn(${1:npcid}, ${2:skinid}, ${3:Float:x}, ${4:Float:y}, ${5:Float:z})$0" | |
}, | |
"FCNPC_Respawn": { | |
"prefix": "FCNPC_Respawn", | |
"body": "FCNPC_Respawn(${1:npcid})$0" | |
}, | |
"FCNPC_IsSpawned": { | |
"prefix": "FCNPC_IsSpawned", | |
"body": "FCNPC_IsSpawned(${1:npcid})$0" | |
}, | |
"FCNPC_Kill": { | |
"prefix": "FCNPC_Kill", | |
"body": "FCNPC_Kill(${1:npcid})$0" | |
}, | |
"FCNPC_IsDead": { | |
"prefix": "FCNPC_IsDead", | |
"body": "FCNPC_IsDead(${1:npcid})$0" | |
}, | |
"FCNPC_IsValid": { | |
"prefix": "FCNPC_IsValid", | |
"body": "FCNPC_IsValid(${1:npcid})$0" | |
}, | |
"FCNPC_IsStreamedIn": { | |
"prefix": "FCNPC_IsStreamedIn", | |
"body": "FCNPC_IsStreamedIn(${1:npcid}, ${2:forplayerid})$0" | |
}, | |
"FCNPC_IsStreamedForAnyone": { | |
"prefix": "FCNPC_IsStreamedForAnyone", | |
"body": "FCNPC_IsStreamedForAnyone(${1:npcid})$0" | |
}, | |
"FCNPC_SetPosition": { | |
"prefix": "FCNPC_SetPosition", | |
"body": "FCNPC_SetPosition(${1:npcid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"FCNPC_GivePosition": { | |
"prefix": "FCNPC_GivePosition", | |
"body": "FCNPC_GivePosition(${1:npcid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"FCNPC_GetPosition": { | |
"prefix": "FCNPC_GetPosition", | |
"body": "FCNPC_GetPosition(${1:npcid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"FCNPC_SetAngle": { | |
"prefix": "FCNPC_SetAngle", | |
"body": "FCNPC_SetAngle(${1:npcid}, ${2:Float:angle})$0" | |
}, | |
"FCNPC_GiveAngle": { | |
"prefix": "FCNPC_GiveAngle", | |
"body": "FCNPC_GiveAngle(${1:npcid}, ${2:Float:angle})$0" | |
}, | |
"FCNPC_SetAngleToPos": { | |
"prefix": "FCNPC_SetAngleToPos", | |
"body": "FCNPC_SetAngleToPos(${1:npcid}, ${2:Float:x}, ${3:Float:y})$0" | |
}, | |
"FCNPC_SetAngleToPlayer": { | |
"prefix": "FCNPC_SetAngleToPlayer", | |
"body": "FCNPC_SetAngleToPlayer(${1:npcid}, ${2:playerid})$0" | |
}, | |
"FCNPC_GetAngle": { | |
"prefix": "FCNPC_GetAngle", | |
"body": "FCNPC_GetAngle(${1:npcid})$0" | |
}, | |
"FCNPC_SetQuaternion": { | |
"prefix": "FCNPC_SetQuaternion", | |
"body": "FCNPC_SetQuaternion(${1:npcid}, ${2:Float:w}, ${3:Float:x}, ${4:Float:y}, ${5:Float:z})$0" | |
}, | |
"FCNPC_GiveQuaternion": { | |
"prefix": "FCNPC_GiveQuaternion", | |
"body": "FCNPC_GiveQuaternion(${1:npcid}, ${2:Float:w}, ${3:Float:x}, ${4:Float:y}, ${5:Float:z})$0" | |
}, | |
"FCNPC_GetQuaternion": { | |
"prefix": "FCNPC_GetQuaternion", | |
"body": "FCNPC_GetQuaternion(${1:npcid}, ${2:Float:w}, ${3:Float:x}, ${4:Float:y}, ${5:Float:z})$0" | |
}, | |
"FCNPC_SetVelocity": { | |
"prefix": "FCNPC_SetVelocity", | |
"body": "FCNPC_SetVelocity(${1:npcid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z}, ${5:bool:update_pos = false})$0" | |
}, | |
"FCNPC_GiveVelocity": { | |
"prefix": "FCNPC_GiveVelocity", | |
"body": "FCNPC_GiveVelocity(${1:npcid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z}, ${5:bool:update_pos = false})$0" | |
}, | |
"FCNPC_GetVelocity": { | |
"prefix": "FCNPC_GetVelocity", | |
"body": "FCNPC_GetVelocity(${1:npcid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"FCNPC_SetInterior": { | |
"prefix": "FCNPC_SetInterior", | |
"body": "FCNPC_SetInterior(${1:npcid}, ${2:interiorid})$0" | |
}, | |
"FCNPC_GetInterior": { | |
"prefix": "FCNPC_GetInterior", | |
"body": "FCNPC_GetInterior(${1:npcid})$0" | |
}, | |
"FCNPC_SetVirtualWorld": { | |
"prefix": "FCNPC_SetVirtualWorld", | |
"body": "FCNPC_SetVirtualWorld(${1:npcid}, ${2:worldid})$0" | |
}, | |
"FCNPC_GetVirtualWorld": { | |
"prefix": "FCNPC_GetVirtualWorld", | |
"body": "FCNPC_GetVirtualWorld(${1:npcid})$0" | |
}, | |
"FCNPC_SetHealth": { | |
"prefix": "FCNPC_SetHealth", | |
"body": "FCNPC_SetHealth(${1:npcid}, ${2:Float:health})$0" | |
}, | |
"FCNPC_GiveHealth": { | |
"prefix": "FCNPC_GiveHealth", | |
"body": "FCNPC_GiveHealth(${1:npcid}, ${2:Float:health})$0" | |
}, | |
"FCNPC_GetHealth": { | |
"prefix": "FCNPC_GetHealth", | |
"body": "FCNPC_GetHealth(${1:npcid})$0" | |
}, | |
"FCNPC_SetArmour": { | |
"prefix": "FCNPC_SetArmour", | |
"body": "FCNPC_SetArmour(${1:npcid}, ${2:Float:armour})$0" | |
}, | |
"FCNPC_GiveArmour": { | |
"prefix": "FCNPC_GiveArmour", | |
"body": "FCNPC_GiveArmour(${1:npcid}, ${2:Float:armour})$0" | |
}, | |
"FCNPC_GetArmour": { | |
"prefix": "FCNPC_GetArmour", | |
"body": "FCNPC_GetArmour(${1:npcid})$0" | |
}, | |
"FCNPC_SetInvulnerable": { | |
"prefix": "FCNPC_SetInvulnerable", | |
"body": "FCNPC_SetInvulnerable(${1:npcid}, ${2:bool:invulnerable = true})$0" | |
}, | |
"FCNPC_IsInvulnerable": { | |
"prefix": "FCNPC_IsInvulnerable", | |
"body": "FCNPC_IsInvulnerable(${1:npcid})$0" | |
}, | |
"FCNPC_SetSkin": { | |
"prefix": "FCNPC_SetSkin", | |
"body": "FCNPC_SetSkin(${1:npcid}, ${2:skinid})$0" | |
}, | |
"FCNPC_GetSkin": { | |
"prefix": "FCNPC_GetSkin", | |
"body": "FCNPC_GetSkin(${1:npcid})$0" | |
}, | |
"FCNPC_SetWeapon": { | |
"prefix": "FCNPC_SetWeapon", | |
"body": "FCNPC_SetWeapon(${1:npcid}, ${2:weaponid})$0" | |
}, | |
"FCNPC_GetWeapon": { | |
"prefix": "FCNPC_GetWeapon", | |
"body": "FCNPC_GetWeapon(${1:npcid})$0" | |
}, | |
"FCNPC_SetAmmo": { | |
"prefix": "FCNPC_SetAmmo", | |
"body": "FCNPC_SetAmmo(${1:npcid}, ${2:ammo})$0" | |
}, | |
"FCNPC_GiveAmmo": { | |
"prefix": "FCNPC_GiveAmmo", | |
"body": "FCNPC_GiveAmmo(${1:npcid}, ${2:ammo})$0" | |
}, | |
"FCNPC_GetAmmo": { | |
"prefix": "FCNPC_GetAmmo", | |
"body": "FCNPC_GetAmmo(${1:npcid})$0" | |
}, | |
"FCNPC_SetWeaponSkillLevel": { | |
"prefix": "FCNPC_SetWeaponSkillLevel", | |
"body": "FCNPC_SetWeaponSkillLevel(${1:npcid}, ${2:skill}, ${3:level})$0" | |
}, | |
"FCNPC_GiveWeaponSkillLevel": { | |
"prefix": "FCNPC_GiveWeaponSkillLevel", | |
"body": "FCNPC_GiveWeaponSkillLevel(${1:npcid}, ${2:skill}, ${3:level})$0" | |
}, | |
"FCNPC_GetWeaponSkillLevel": { | |
"prefix": "FCNPC_GetWeaponSkillLevel", | |
"body": "FCNPC_GetWeaponSkillLevel(${1:npcid}, ${2:skill})$0" | |
}, | |
"FCNPC_SetWeaponState": { | |
"prefix": "FCNPC_SetWeaponState", | |
"body": "FCNPC_SetWeaponState(${1:npcid}, ${2:weaponstate})$0" | |
}, | |
"FCNPC_GetWeaponState": { | |
"prefix": "FCNPC_GetWeaponState", | |
"body": "FCNPC_GetWeaponState(${1:npcid})$0" | |
}, | |
"FCNPC_SetWeaponReloadTime": { | |
"prefix": "FCNPC_SetWeaponReloadTime", | |
"body": "FCNPC_SetWeaponReloadTime(${1:npcid}, ${2:weaponid}, ${3:time})$0" | |
}, | |
"FCNPC_GetWeaponReloadTime": { | |
"prefix": "FCNPC_GetWeaponReloadTime", | |
"body": "FCNPC_GetWeaponReloadTime(${1:npcid}, ${2:weaponid})$0" | |
}, | |
"FCNPC_SetWeaponShootTime": { | |
"prefix": "FCNPC_SetWeaponShootTime", | |
"body": "FCNPC_SetWeaponShootTime(${1:npcid}, ${2:weaponid}, ${3:time})$0" | |
}, | |
"FCNPC_GetWeaponShootTime": { | |
"prefix": "FCNPC_GetWeaponShootTime", | |
"body": "FCNPC_GetWeaponShootTime(${1:npcid}, ${2:weaponid})$0" | |
}, | |
"FCNPC_SetWeaponClipSize": { | |
"prefix": "FCNPC_SetWeaponClipSize", | |
"body": "FCNPC_SetWeaponClipSize(${1:npcid}, ${2:weaponid}, ${3:size})$0" | |
}, | |
"FCNPC_GetWeaponClipSize": { | |
"prefix": "FCNPC_GetWeaponClipSize", | |
"body": "FCNPC_GetWeaponClipSize(${1:npcid}, ${2:weaponid})$0" | |
}, | |
"FCNPC_SetWeaponAccuracy": { | |
"prefix": "FCNPC_SetWeaponAccuracy", | |
"body": "FCNPC_SetWeaponAccuracy(${1:npcid}, ${2:weaponid}, ${3:Float:accuracy})$0" | |
}, | |
"FCNPC_GetWeaponAccuracy": { | |
"prefix": "FCNPC_GetWeaponAccuracy", | |
"body": "FCNPC_GetWeaponAccuracy(${1:npcid}, ${2:weaponid})$0" | |
}, | |
"FCNPC_SetWeaponInfo": { | |
"prefix": "FCNPC_SetWeaponInfo", | |
"body": "FCNPC_SetWeaponInfo(${1:npcid}, ${2:weaponid}, ${3:reload_time = -1}, ${4:shoot_time = -1}, ${5:clip_size = -1}, ${6:Float:accuracy = 1.0})$0" | |
}, | |
"FCNPC_GetWeaponInfo": { | |
"prefix": "FCNPC_GetWeaponInfo", | |
"body": "FCNPC_GetWeaponInfo(${1:npcid}, ${2:weaponid}, ${3:reload_time = -1}, ${4:shoot_time = -1}, ${5:clip_size = -1}, ${6:Float:accuracy = 1.0})$0" | |
}, | |
"FCNPC_SetWeaponDefaultInfo": { | |
"prefix": "FCNPC_SetWeaponDefaultInfo", | |
"body": "FCNPC_SetWeaponDefaultInfo(${1:weaponid}, ${2:reload_time = -1}, ${3:shoot_time = -1}, ${4:clip_size = -1}, ${5:Float:accuracy = 1.0})$0" | |
}, | |
"FCNPC_GetWeaponDefaultInfo": { | |
"prefix": "FCNPC_GetWeaponDefaultInfo", | |
"body": "FCNPC_GetWeaponDefaultInfo(${1:weaponid}, ${2:reload_time = -1}, ${3:shoot_time = -1}, ${4:clip_size = -1}, ${5:Float:accuracy = 1.0})$0" | |
}, | |
"FCNPC_SetKeys": { | |
"prefix": "FCNPC_SetKeys", | |
"body": "FCNPC_SetKeys(${1:npcid}, ${2:ud_analog}, ${3:lr_analog}, ${4:keys})$0" | |
}, | |
"FCNPC_GetKeys": { | |
"prefix": "FCNPC_GetKeys", | |
"body": "FCNPC_GetKeys(${1:npcid}, ${2:ud_analog}, ${3:lr_analog}, ${4:keys})$0" | |
}, | |
"FCNPC_SetSpecialAction": { | |
"prefix": "FCNPC_SetSpecialAction", | |
"body": "FCNPC_SetSpecialAction(${1:npcid}, ${2:actionid})$0" | |
}, | |
"FCNPC_GetSpecialAction": { | |
"prefix": "FCNPC_GetSpecialAction", | |
"body": "FCNPC_GetSpecialAction(${1:npcid})$0" | |
}, | |
"FCNPC_SetAnimation": { | |
"prefix": "FCNPC_SetAnimation", | |
"body": "FCNPC_SetAnimation(${1:npcid}, ${2:animationid}, ${3:Float:fDelta = 4.1}, ${4:loop = 0}, ${5:lockx = 1}, ${6:locky = 1}, ${7:freeze = 0}, ${8:time = 1})$0" | |
}, | |
"FCNPC_SetAnimationByName": { | |
"prefix": "FCNPC_SetAnimationByName", | |
"body": "FCNPC_SetAnimationByName(${1:npcid}, ${2:name[]}, ${3:Float:fDelta = 4.1}, ${4:loop = 0}, ${5:lockx = 1}, ${6:locky = 1}, ${7:freeze = 0}, ${8:time = 1})$0" | |
}, | |
"FCNPC_ResetAnimation": { | |
"prefix": "FCNPC_ResetAnimation", | |
"body": "FCNPC_ResetAnimation(${1:npcid})$0" | |
}, | |
"FCNPC_GetAnimation": { | |
"prefix": "FCNPC_GetAnimation", | |
"body": "FCNPC_GetAnimation(${1:npcid}, ${2:animationid = 0}, ${3:Float:fDelta = 4.1}, ${4:loop = 0}, ${5:lockx = 1}, ${6:locky = 1}, ${7:freeze = 0}, ${8:time = 1})$0" | |
}, | |
"FCNPC_ApplyAnimation": { | |
"prefix": "FCNPC_ApplyAnimation", | |
"body": "FCNPC_ApplyAnimation(${1:npcid}, ${2:animlib[]}, ${3:animname[]}, ${4:Float:fDelta = 4.1}, ${5:loop = 0}, ${6:lockx = 1}, ${7:locky = 1}, ${8:freeze = 0}, ${9:time = 1})$0" | |
}, | |
"FCNPC_ClearAnimations": { | |
"prefix": "FCNPC_ClearAnimations", | |
"body": "FCNPC_ClearAnimations(${1:npcid})$0" | |
}, | |
"FCNPC_SetFightingStyle": { | |
"prefix": "FCNPC_SetFightingStyle", | |
"body": "FCNPC_SetFightingStyle(${1:npcid}, ${2:style})$0" | |
}, | |
"FCNPC_GetFightingStyle": { | |
"prefix": "FCNPC_GetFightingStyle", | |
"body": "FCNPC_GetFightingStyle(${1:npcid})$0" | |
}, | |
"FCNPC_ToggleReloading": { | |
"prefix": "FCNPC_ToggleReloading", | |
"body": "FCNPC_ToggleReloading(${1:npcid}, ${2:bool:toggle})$0" | |
}, | |
"FCNPC_ToggleInfiniteAmmo": { | |
"prefix": "FCNPC_ToggleInfiniteAmmo", | |
"body": "FCNPC_ToggleInfiniteAmmo(${1:npcid}, ${2:bool:toggle})$0" | |
}, | |
"FCNPC_GoTo": { | |
"prefix": "FCNPC_GoTo", | |
"body": "FCNPC_GoTo(${1:npcid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z}, ${5:type = MOVE_TYPE_AUTO}, ${6:Float:speed = MOVE_SPEED_AUTO}, ${7:bool:UseMapAndreas = false}, ${8:Float:radius = 0.0}, ${9:bool:setangle = true})$0" | |
}, | |
"FCNPC_GoToPlayer": { | |
"prefix": "FCNPC_GoToPlayer", | |
"body": "FCNPC_GoToPlayer(${1:npcid}, ${2:playerid}, ${3:type = MOVE_TYPE_AUTO}, ${4:Float:speed = MOVE_SPEED_AUTO}, ${5:bool:UseMapAndreas = false}, ${6:Float:radius = 0.0}, ${7:bool:setangle = true})$0" | |
}, | |
"FCNPC_Stop": { | |
"prefix": "FCNPC_Stop", | |
"body": "FCNPC_Stop(${1:npcid})$0" | |
}, | |
"FCNPC_IsMoving": { | |
"prefix": "FCNPC_IsMoving", | |
"body": "FCNPC_IsMoving(${1:npcid})$0" | |
}, | |
"FCNPC_IsMovingAtPlayer": { | |
"prefix": "FCNPC_IsMovingAtPlayer", | |
"body": "FCNPC_IsMovingAtPlayer(${1:npcid}, ${2:playerid})$0" | |
}, | |
"FCNPC_AimAt": { | |
"prefix": "FCNPC_AimAt", | |
"body": "FCNPC_AimAt(${1:npcid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z}, ${5:bool:shoot = false}, ${6:shoot_delay = -1}, ${7:bool:setangle = true})$0" | |
}, | |
"FCNPC_AimAtPlayer": { | |
"prefix": "FCNPC_AimAtPlayer", | |
"body": "FCNPC_AimAtPlayer(${1:npcid}, ${2:playerid}, ${3:bool:shoot = false}, ${4:shoot_delay = -1}, ${5:bool:setangle = true})$0" | |
}, | |
"FCNPC_StopAim": { | |
"prefix": "FCNPC_StopAim", | |
"body": "FCNPC_StopAim(${1:npcid})$0" | |
}, | |
"FCNPC_MeleeAttack": { | |
"prefix": "FCNPC_MeleeAttack", | |
"body": "FCNPC_MeleeAttack(${1:npcid}, ${2:delay = -1}, ${3:bool:fightstyle = false})$0" | |
}, | |
"FCNPC_StopAttack": { | |
"prefix": "FCNPC_StopAttack", | |
"body": "FCNPC_StopAttack(${1:npcid})$0" | |
}, | |
"FCNPC_IsAttacking": { | |
"prefix": "FCNPC_IsAttacking", | |
"body": "FCNPC_IsAttacking(${1:npcid})$0" | |
}, | |
"FCNPC_IsAiming": { | |
"prefix": "FCNPC_IsAiming", | |
"body": "FCNPC_IsAiming(${1:npcid})$0" | |
}, | |
"FCNPC_IsAimingAtPlayer": { | |
"prefix": "FCNPC_IsAimingAtPlayer", | |
"body": "FCNPC_IsAimingAtPlayer(${1:npcid}, ${2:playerid})$0" | |
}, | |
"FCNPC_IsShooting": { | |
"prefix": "FCNPC_IsShooting", | |
"body": "FCNPC_IsShooting(${1:npcid})$0" | |
}, | |
"FCNPC_IsReloading": { | |
"prefix": "FCNPC_IsReloading", | |
"body": "FCNPC_IsReloading(${1:npcid})$0" | |
}, | |
"FCNPC_EnterVehicle": { | |
"prefix": "FCNPC_EnterVehicle", | |
"body": "FCNPC_EnterVehicle(${1:npcid}, ${2:vehicleid}, ${3:seatid}, ${4:type = MOVE_TYPE_WALK})$0" | |
}, | |
"FCNPC_ExitVehicle": { | |
"prefix": "FCNPC_ExitVehicle", | |
"body": "FCNPC_ExitVehicle(${1:npcid})$0" | |
}, | |
"FCNPC_PutInVehicle": { | |
"prefix": "FCNPC_PutInVehicle", | |
"body": "FCNPC_PutInVehicle(${1:npcid}, ${2:vehicleid}, ${3:seatid})$0" | |
}, | |
"FCNPC_RemoveFromVehicle": { | |
"prefix": "FCNPC_RemoveFromVehicle", | |
"body": "FCNPC_RemoveFromVehicle(${1:npcid})$0" | |
}, | |
"FCNPC_GetVehicleID": { | |
"prefix": "FCNPC_GetVehicleID", | |
"body": "FCNPC_GetVehicleID(${1:npcid})$0" | |
}, | |
"FCNPC_GetVehicleSeat": { | |
"prefix": "FCNPC_GetVehicleSeat", | |
"body": "FCNPC_GetVehicleSeat(${1:npcid})$0" | |
}, | |
"FCNPC_SetVehicleSiren": { | |
"prefix": "FCNPC_SetVehicleSiren", | |
"body": "FCNPC_SetVehicleSiren(${1:npcid}, ${2:bool:status})$0" | |
}, | |
"FCNPC_IsVehicleSiren": { | |
"prefix": "FCNPC_IsVehicleSiren", | |
"body": "FCNPC_IsVehicleSiren(${1:npcid})$0" | |
}, | |
"FCNPC_SetVehicleHealth": { | |
"prefix": "FCNPC_SetVehicleHealth", | |
"body": "FCNPC_SetVehicleHealth(${1:npcid}, ${2:Float:health})$0" | |
}, | |
"FCNPC_GetVehicleHealth": { | |
"prefix": "FCNPC_GetVehicleHealth", | |
"body": "FCNPC_GetVehicleHealth(${1:npcid})$0" | |
}, | |
"FCNPC_SetVehicleHydraThrusters": { | |
"prefix": "FCNPC_SetVehicleHydraThrusters", | |
"body": "FCNPC_SetVehicleHydraThrusters(${1:npcid}, ${2:direction})$0" | |
}, | |
"FCNPC_GetVehicleHydraThrusters": { | |
"prefix": "FCNPC_GetVehicleHydraThrusters", | |
"body": "FCNPC_GetVehicleHydraThrusters(${1:npcid})$0" | |
}, | |
"FCNPC_SetVehicleGearState": { | |
"prefix": "FCNPC_SetVehicleGearState", | |
"body": "FCNPC_SetVehicleGearState(${1:npcid}, ${2:gear_state})$0" | |
}, | |
"FCNPC_GetVehicleGearState": { | |
"prefix": "FCNPC_GetVehicleGearState", | |
"body": "FCNPC_GetVehicleGearState(${1:npcid})$0" | |
}, | |
"FCNPC_SetSurfingOffsets": { | |
"prefix": "FCNPC_SetSurfingOffsets", | |
"body": "FCNPC_SetSurfingOffsets(${1:npcid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"FCNPC_GiveSurfingOffsets": { | |
"prefix": "FCNPC_GiveSurfingOffsets", | |
"body": "FCNPC_GiveSurfingOffsets(${1:npcid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"FCNPC_GetSurfingOffsets": { | |
"prefix": "FCNPC_GetSurfingOffsets", | |
"body": "FCNPC_GetSurfingOffsets(${1:npcid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"FCNPC_SetSurfingVehicle": { | |
"prefix": "FCNPC_SetSurfingVehicle", | |
"body": "FCNPC_SetSurfingVehicle(${1:npcid}, ${2:vehicleid})$0" | |
}, | |
"FCNPC_GetSurfingVehicle": { | |
"prefix": "FCNPC_GetSurfingVehicle", | |
"body": "FCNPC_GetSurfingVehicle(${1:npcid})$0" | |
}, | |
"FCNPC_SetSurfingObject": { | |
"prefix": "FCNPC_SetSurfingObject", | |
"body": "FCNPC_SetSurfingObject(${1:npcid}, ${2:objectid})$0" | |
}, | |
"FCNPC_GetSurfingObject": { | |
"prefix": "FCNPC_GetSurfingObject", | |
"body": "FCNPC_GetSurfingObject(${1:npcid})$0" | |
}, | |
"FCNPC_SetSurfingPlayerObject": { | |
"prefix": "FCNPC_SetSurfingPlayerObject", | |
"body": "FCNPC_SetSurfingPlayerObject(${1:npcid}, ${2:objectid})$0" | |
}, | |
"FCNPC_GetSurfingPlayerObject": { | |
"prefix": "FCNPC_GetSurfingPlayerObject", | |
"body": "FCNPC_GetSurfingPlayerObject(${1:npcid})$0" | |
}, | |
"FCNPC_StopSurfing": { | |
"prefix": "FCNPC_StopSurfing", | |
"body": "FCNPC_StopSurfing(${1:npcid})$0" | |
}, | |
"FCNPC_StartPlayingPlayback": { | |
"prefix": "FCNPC_StartPlayingPlayback", | |
"body": "FCNPC_StartPlayingPlayback(${1:npcid}, ${2:file[] = \"\"}, ${3:recordid = INVALID_RECORD_ID}, ${4:bool:auto_unload = false})$0" | |
}, | |
"FCNPC_StopPlayingPlayback": { | |
"prefix": "FCNPC_StopPlayingPlayback", | |
"body": "FCNPC_StopPlayingPlayback(${1:npcid})$0" | |
}, | |
"FCNPC_PausePlayingPlayback": { | |
"prefix": "FCNPC_PausePlayingPlayback", | |
"body": "FCNPC_PausePlayingPlayback(${1:npcid})$0" | |
}, | |
"FCNPC_ResumePlayingPlayback": { | |
"prefix": "FCNPC_ResumePlayingPlayback", | |
"body": "FCNPC_ResumePlayingPlayback(${1:npcid})$0" | |
}, | |
"FCNPC_LoadPlayingPlayback": { | |
"prefix": "FCNPC_LoadPlayingPlayback", | |
"body": "FCNPC_LoadPlayingPlayback(${1:file[]})$0" | |
}, | |
"FCNPC_UnloadPlayingPlayback": { | |
"prefix": "FCNPC_UnloadPlayingPlayback", | |
"body": "FCNPC_UnloadPlayingPlayback(${1:recordid})$0" | |
}, | |
"FCNPC_SetPlayingPlaybackPath": { | |
"prefix": "FCNPC_SetPlayingPlaybackPath", | |
"body": "FCNPC_SetPlayingPlaybackPath(${1:npcid}, ${2:path[]})$0" | |
}, | |
"FCNPC_GetPlayingPlaybackPath": { | |
"prefix": "FCNPC_GetPlayingPlaybackPath", | |
"body": "FCNPC_GetPlayingPlaybackPath(${1:npcid}, ${2:path[]}, ${3:const size = sizeof(path})$0" | |
}, | |
"FCNPC_OpenNode": { | |
"prefix": "FCNPC_OpenNode", | |
"body": "FCNPC_OpenNode(${1:nodeid})$0" | |
}, | |
"FCNPC_CloseNode": { | |
"prefix": "FCNPC_CloseNode", | |
"body": "FCNPC_CloseNode(${1:nodeid})$0" | |
}, | |
"FCNPC_IsNodeOpen": { | |
"prefix": "FCNPC_IsNodeOpen", | |
"body": "FCNPC_IsNodeOpen(${1:nodeid})$0" | |
}, | |
"FCNPC_GetNodeType": { | |
"prefix": "FCNPC_GetNodeType", | |
"body": "FCNPC_GetNodeType(${1:nodeid})$0" | |
}, | |
"FCNPC_SetNodePoint": { | |
"prefix": "FCNPC_SetNodePoint", | |
"body": "FCNPC_SetNodePoint(${1:nodeid}, ${2:point})$0" | |
}, | |
"FCNPC_GetNodePointPosition": { | |
"prefix": "FCNPC_GetNodePointPosition", | |
"body": "FCNPC_GetNodePointPosition(${1:nodeid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"FCNPC_GetNodePointCount": { | |
"prefix": "FCNPC_GetNodePointCount", | |
"body": "FCNPC_GetNodePointCount(${1:nodeid})$0" | |
}, | |
"FCNPC_GetNodeInfo": { | |
"prefix": "FCNPC_GetNodeInfo", | |
"body": "FCNPC_GetNodeInfo(${1:nodeid}, ${2:vehnodes}, ${3:pednodes}, ${4:navinode})$0" | |
}, | |
"FCNPC_PlayNode": { | |
"prefix": "FCNPC_PlayNode", | |
"body": "FCNPC_PlayNode(${1:npcid}, ${2:nodeid}, ${3:type})$0" | |
}, | |
"FCNPC_StopPlayingNode": { | |
"prefix": "FCNPC_StopPlayingNode", | |
"body": "FCNPC_StopPlayingNode(${1:npcid})$0" | |
}, | |
"FCNPC_CreateMovePath": { | |
"prefix": "FCNPC_CreateMovePath", | |
"body": "FCNPC_CreateMovePath()$0" | |
}, | |
"FCNPC_DestroyMovePath": { | |
"prefix": "FCNPC_DestroyMovePath", | |
"body": "FCNPC_DestroyMovePath(${1:pathid})$0" | |
}, | |
"FCNPC_IsValidMovePath": { | |
"prefix": "FCNPC_IsValidMovePath", | |
"body": "FCNPC_IsValidMovePath(${1:pathid})$0" | |
}, | |
"FCNPC_AddPointToPath": { | |
"prefix": "FCNPC_AddPointToPath", | |
"body": "FCNPC_AddPointToPath(${1:pathid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"FCNPC_AddPointsToPath": { | |
"prefix": "FCNPC_AddPointsToPath", | |
"body": "FCNPC_AddPointsToPath(${1:pathid}, ${2:Float:points[][3]}, ${3:const size = sizeof(points})$0" | |
}, | |
"FCNPC_RemovePointFromPath": { | |
"prefix": "FCNPC_RemovePointFromPath", | |
"body": "FCNPC_RemovePointFromPath(${1:pathid}, ${2:pointid})$0" | |
}, | |
"FCNPC_IsValidMovePoint": { | |
"prefix": "FCNPC_IsValidMovePoint", | |
"body": "FCNPC_IsValidMovePoint(${1:pathid}, ${2:pointid})$0" | |
}, | |
"FCNPC_GetMovePoint": { | |
"prefix": "FCNPC_GetMovePoint", | |
"body": "FCNPC_GetMovePoint(${1:pathid}, ${2:pointid}, ${3:Float:x}, ${4:Float:y}, ${5:Float:z})$0" | |
}, | |
"FCNPC_GetNumberMovePoint": { | |
"prefix": "FCNPC_GetNumberMovePoint", | |
"body": "FCNPC_GetNumberMovePoint(${1:pathid})$0" | |
}, | |
"FCNPC_GoByMovePath": { | |
"prefix": "FCNPC_GoByMovePath", | |
"body": "FCNPC_GoByMovePath(${1:npcid}, ${2:pathid}, ${3:type = MOVE_TYPE_AUTO}, ${4:Float:speed = MOVE_SPEED_AUTO}, ${5:bool:UseMapAndreas = false}, ${6:Float:radius = 0.0}, ${7:bool:setangle = true})$0" | |
}, | |
"CreateLadder": { | |
"prefix": "CreateLadder", | |
"body": "CreateLadder(${1:Float:x}, ${2:Float:y}, ${3:Float:z}, ${4:Float:height}, ${5:Float:angle}, ${6:world = -1}, ${7:interior = -1})$0" | |
}, | |
"DestroyLadder": { | |
"prefix": "DestroyLadder", | |
"body": "DestroyLadder(${1:ladderid})$0" | |
}, | |
"ldr_OnPlayerEnterDynamicArea": { | |
"prefix": "ldr_OnPlayerEnterDynamicArea", | |
"body": "ldr_OnPlayerEnterDynamicArea(${1:playerid}, ${2:areaid})$0" | |
}, | |
"ldr_OnPlayerLeaveDynamicArea": { | |
"prefix": "ldr_OnPlayerLeaveDynamicArea", | |
"body": "ldr_OnPlayerLeaveDynamicArea(${1:playerid}, ${2:areaid})$0" | |
}, | |
"IsValidLadder": { | |
"prefix": "IsValidLadder", | |
"body": "IsValidLadder(${1:ladderid})$0" | |
}, | |
"GetLadderAreaID": { | |
"prefix": "GetLadderAreaID", | |
"body": "GetLadderAreaID(${1:ladderid})$0" | |
}, | |
"GetLadderPos": { | |
"prefix": "GetLadderPos", | |
"body": "GetLadderPos(${1:ladderid}, ${2:Float:x}, ${3:Float:y})$0" | |
}, | |
"GetLadderBase": { | |
"prefix": "GetLadderBase", | |
"body": "GetLadderBase(${1:ladderid}, ${2:Float:z})$0" | |
}, | |
"GetLadderTop": { | |
"prefix": "GetLadderTop", | |
"body": "GetLadderTop(${1:ladderid}, ${2:Float:z})$0" | |
}, | |
"GetLadderAngle": { | |
"prefix": "GetLadderAngle", | |
"body": "GetLadderAngle(${1:ladderid}, ${2:Float:angle})$0" | |
}, | |
"IsPlayerOnLadder": { | |
"prefix": "IsPlayerOnLadder", | |
"body": "IsPlayerOnLadder(${1:playerid}, ${2:ladderid})$0" | |
}, | |
"IsPlayerOnAnyLadder": { | |
"prefix": "IsPlayerOnAnyLadder", | |
"body": "IsPlayerOnAnyLadder(${1:playerid})$0" | |
}, | |
"GetPlayerLadder": { | |
"prefix": "GetPlayerLadder", | |
"body": "GetPlayerLadder(${1:playerid})$0" | |
}, | |
"CreateLineSegment": { | |
"prefix": "CreateLineSegment", | |
"body": "CreateLineSegment(${1:modelid}, ${2:Float:objlength}, ${3:Float:PointX}, ${4:Float:PointY}, ${5:Float:PointZ}, ${6:Float:DestX}, ${7:Float:DestY}, ${8:Float:DestZ}, ${9:Float:RotX = 0.0}, ${10:Float:RotY = 0.0}, ${11:Float:RotZ = 0.0}, ${12:Float:objlengthoffset = 0.0}, ${13:worldid = -1}, ${14:interiorid = -1}, ${15:playerid = -1}, ${16:Float:maxlength = 100.0})$0" | |
}, | |
"DestroyLineSegment": { | |
"prefix": "DestroyLineSegment", | |
"body": "DestroyLineSegment(${1:lineid})$0" | |
}, | |
"IsValidLineSegment": { | |
"prefix": "IsValidLineSegment", | |
"body": "IsValidLineSegment(${1:lineid})$0" | |
}, | |
"GetLineSegmentModel": { | |
"prefix": "GetLineSegmentModel", | |
"body": "GetLineSegmentModel(${1:lineid})$0" | |
}, | |
"SetLineSegmentModel": { | |
"prefix": "SetLineSegmentModel", | |
"body": "SetLineSegmentModel(${1:lineid}, ${2:modelid}, ${3:Float:objlength}, ${4:Float:objlengthoffset})$0" | |
}, | |
"GetLineSegmentObjectCount": { | |
"prefix": "GetLineSegmentObjectCount", | |
"body": "GetLineSegmentObjectCount(${1:lineid})$0" | |
}, | |
"GetLineSegmentObjectLength": { | |
"prefix": "GetLineSegmentObjectLength", | |
"body": "GetLineSegmentObjectLength(${1:lineid})$0" | |
}, | |
"SetLineSegmentObjectLength": { | |
"prefix": "SetLineSegmentObjectLength", | |
"body": "SetLineSegmentObjectLength(${1:lineid}, ${2:Float:objlength})$0" | |
}, | |
"GetLineSegmentObjectOffset": { | |
"prefix": "GetLineSegmentObjectOffset", | |
"body": "GetLineSegmentObjectOffset(${1:lineid})$0" | |
}, | |
"SetLineSegmentObjectOffset": { | |
"prefix": "SetLineSegmentObjectOffset", | |
"body": "SetLineSegmentObjectOffset(${1:lineid}, ${2:Float:objlengthoffset})$0" | |
}, | |
"GetLineSegmentMaxLength": { | |
"prefix": "GetLineSegmentMaxLength", | |
"body": "GetLineSegmentMaxLength(${1:lineid})$0" | |
}, | |
"SetLineSegmentMaxLength": { | |
"prefix": "SetLineSegmentMaxLength", | |
"body": "SetLineSegmentMaxLength(${1:lineid}, ${2:Float:maxlength})$0" | |
}, | |
"GetLineSegmentPoint": { | |
"prefix": "GetLineSegmentPoint", | |
"body": "GetLineSegmentPoint(${1:lineid}, ${2:Float:PointX}, ${3:Float:PointY}, ${4:Float:PointZ})$0" | |
}, | |
"SetLineSegmentPoint": { | |
"prefix": "SetLineSegmentPoint", | |
"body": "SetLineSegmentPoint(${1:lineid}, ${2:Float:PointX}, ${3:Float:PointY}, ${4:Float:PointZ})$0" | |
}, | |
"GetLineSegmentDest": { | |
"prefix": "GetLineSegmentDest", | |
"body": "GetLineSegmentDest(${1:lineid}, ${2:Float:DestX}, ${3:Float:DestY}, ${4:Float:DestZ})$0" | |
}, | |
"SetLineSegmentDest": { | |
"prefix": "SetLineSegmentDest", | |
"body": "SetLineSegmentDest(${1:lineid}, ${2:Float:DestX}, ${3:Float:DestY}, ${4:Float:DestZ})$0" | |
}, | |
"GetLineSegmentModelAngles": { | |
"prefix": "GetLineSegmentModelAngles", | |
"body": "GetLineSegmentModelAngles(${1:lineid}, ${2:Float:RotX}, ${3:Float:RotY}, ${4:Float:RotZ})$0" | |
}, | |
"SetLineSegmentModelAngles": { | |
"prefix": "SetLineSegmentModelAngles", | |
"body": "SetLineSegmentModelAngles(${1:lineid}, ${2:Float:RotX}, ${3:Float:RotY}, ${4:Float:RotZ})$0" | |
}, | |
"GetLineSegmentWorld": { | |
"prefix": "GetLineSegmentWorld", | |
"body": "GetLineSegmentWorld(${1:lineid})$0" | |
}, | |
"SetLineSegmentWorld": { | |
"prefix": "SetLineSegmentWorld", | |
"body": "SetLineSegmentWorld(${1:lineid}, ${2:world})$0" | |
}, | |
"GetLineSegmentInterior": { | |
"prefix": "GetLineSegmentInterior", | |
"body": "GetLineSegmentInterior(${1:lineid})$0" | |
}, | |
"SetLineSegmentInterior": { | |
"prefix": "SetLineSegmentInterior", | |
"body": "SetLineSegmentInterior(${1:lineid}, ${2:interior})$0" | |
}, | |
"GetLineSegmentPlayerID": { | |
"prefix": "GetLineSegmentPlayerID", | |
"body": "GetLineSegmentPlayerID(${1:lineid})$0" | |
}, | |
"SetLineSegmentPlayerID": { | |
"prefix": "SetLineSegmentPlayerID", | |
"body": "SetLineSegmentPlayerID(${1:lineid}, ${2:playerid})$0" | |
}, | |
"GetLineSegmentVector": { | |
"prefix": "GetLineSegmentVector", | |
"body": "GetLineSegmentVector(${1:lineid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"GetDistanceToLineSegmentPoint": { | |
"prefix": "GetDistanceToLineSegmentPoint", | |
"body": "GetDistanceToLineSegmentPoint(${1:lineid}, ${2:Float:FromX}, ${3:Float:FromY}, ${4:Float:FromZ})$0" | |
}, | |
"GetDistanceToLineSegmentDest": { | |
"prefix": "GetDistanceToLineSegmentDest", | |
"body": "GetDistanceToLineSegmentDest(${1:lineid}, ${2:Float:FromX}, ${3:Float:FromY}, ${4:Float:FromZ})$0" | |
}, | |
"GetLineSegmentLength": { | |
"prefix": "GetLineSegmentLength", | |
"body": "GetLineSegmentLength(${1:lineid})$0" | |
}, | |
"IsValidVehicle": { | |
"prefix": "IsValidVehicle", | |
"body": "IsValidVehicle(${1:vehicleid})$0" | |
}, | |
"CreateButton": { | |
"prefix": "CreateButton", | |
"body": "CreateButton(${1:Float:x}, ${2:Float:y}, ${3:Float:z}, ${4:text[]}, ${5:world = 0}, ${6:interior = 0}, ${7:Float:areasize = 1.0}, ${8:label = 0}, ${9:labeltext[] = \"\"}, ${10:labelcolour = 0xFFFF00FF}, ${11:Float:streamdist = BTN_DEFAULT_STREAMDIST}, ${12:testlos = true})$0" | |
}, | |
"DestroyButton": { | |
"prefix": "DestroyButton", | |
"body": "DestroyButton(${1:buttonid})$0" | |
}, | |
"LinkTP": { | |
"prefix": "LinkTP", | |
"body": "LinkTP(${1:buttonid1}, ${2:buttonid2})$0" | |
}, | |
"UnLinkTP": { | |
"prefix": "UnLinkTP", | |
"body": "UnLinkTP(${1:buttonid1}, ${2:buttonid2})$0" | |
}, | |
"IsValidButton": { | |
"prefix": "IsValidButton", | |
"body": "IsValidButton(${1:buttonid})$0" | |
}, | |
"GetButtonArea": { | |
"prefix": "GetButtonArea", | |
"body": "GetButtonArea(${1:buttonid})$0" | |
}, | |
"SetButtonArea": { | |
"prefix": "SetButtonArea", | |
"body": "SetButtonArea(${1:buttonid}, ${2:areaid})$0" | |
}, | |
"SetButtonLabel": { | |
"prefix": "SetButtonLabel", | |
"body": "SetButtonLabel(${1:buttonid}, ${2:text[]}, ${3:colour = 0xFFFF00FF}, ${4:Float:range = BTN_DEFAULT_STREAMDIST}, ${5:testlos = true})$0" | |
}, | |
"DestroyButtonLabel": { | |
"prefix": "DestroyButtonLabel", | |
"body": "DestroyButtonLabel(${1:buttonid})$0" | |
}, | |
"GetButtonPos": { | |
"prefix": "GetButtonPos", | |
"body": "GetButtonPos(${1:buttonid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"SetButtonPos": { | |
"prefix": "SetButtonPos", | |
"body": "SetButtonPos(${1:buttonid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"GetButtonSize": { | |
"prefix": "GetButtonSize", | |
"body": "GetButtonSize(${1:buttonid})$0" | |
}, | |
"SetButtonSize": { | |
"prefix": "SetButtonSize", | |
"body": "SetButtonSize(${1:buttonid}, ${2:Float:size})$0" | |
}, | |
"GetButtonWorld": { | |
"prefix": "GetButtonWorld", | |
"body": "GetButtonWorld(${1:buttonid})$0" | |
}, | |
"SetButtonWorld": { | |
"prefix": "SetButtonWorld", | |
"body": "SetButtonWorld(${1:buttonid}, ${2:world})$0" | |
}, | |
"GetButtonInterior": { | |
"prefix": "GetButtonInterior", | |
"body": "GetButtonInterior(${1:buttonid})$0" | |
}, | |
"SetButtonInterior": { | |
"prefix": "SetButtonInterior", | |
"body": "SetButtonInterior(${1:buttonid}, ${2:interior})$0" | |
}, | |
"GetButtonLinkedID": { | |
"prefix": "GetButtonLinkedID", | |
"body": "GetButtonLinkedID(${1:buttonid})$0" | |
}, | |
"GetButtonText": { | |
"prefix": "GetButtonText", | |
"body": "GetButtonText(${1:buttonid}, ${2:text[]})$0" | |
}, | |
"SetButtonText": { | |
"prefix": "SetButtonText", | |
"body": "SetButtonText(${1:buttonid}, ${2:text[]})$0" | |
}, | |
"SetButtonExtraData": { | |
"prefix": "SetButtonExtraData", | |
"body": "SetButtonExtraData(${1:buttonid}, ${2:data})$0" | |
}, | |
"GetButtonExtraData": { | |
"prefix": "GetButtonExtraData", | |
"body": "GetButtonExtraData(${1:buttonid})$0" | |
}, | |
"GetPlayerPressingButton": { | |
"prefix": "GetPlayerPressingButton", | |
"body": "GetPlayerPressingButton(${1:playerid})$0" | |
}, | |
"GetPlayerButtonID": { | |
"prefix": "GetPlayerButtonID", | |
"body": "GetPlayerButtonID(${1:playerid})$0" | |
}, | |
"GetPlayerButtonList": { | |
"prefix": "GetPlayerButtonList", | |
"body": "GetPlayerButtonList(${1:playerid}, ${2:list[]}, ${3:size}, ${4:bool:validate = false})$0" | |
}, | |
"GetPlayerAngleToButton": { | |
"prefix": "GetPlayerAngleToButton", | |
"body": "GetPlayerAngleToButton(${1:playerid}, ${2:buttonid})$0" | |
}, | |
"GetButtonAngleToPlayer": { | |
"prefix": "GetButtonAngleToPlayer", | |
"body": "GetButtonAngleToPlayer(${1:playerid}, ${2:buttonid})$0" | |
}, | |
"OnButtonPress": { | |
"prefix": "OnButtonPress", | |
"body": "OnButtonPress(${1:playerid}, ${2:buttonid})$0" | |
}, | |
"OnButtonRelease": { | |
"prefix": "OnButtonRelease", | |
"body": "OnButtonRelease(${1:playerid}, ${2:buttonid})$0" | |
}, | |
"OnPlayerEnterButtonArea": { | |
"prefix": "OnPlayerEnterButtonArea", | |
"body": "OnPlayerEnterButtonArea(${1:playerid}, ${2:buttonid})$0" | |
}, | |
"OnPlayerLeaveButtonArea": { | |
"prefix": "OnPlayerLeaveButtonArea", | |
"body": "OnPlayerLeaveButtonArea(${1:playerid}, ${2:buttonid})$0" | |
}, | |
"CreateContainer": { | |
"prefix": "CreateContainer", | |
"body": "CreateContainer(${1:name[]}, ${2:size}, ${3:buttonid = INVALID_BUTTON_ID})$0" | |
}, | |
"DestroyContainer": { | |
"prefix": "DestroyContainer", | |
"body": "DestroyContainer(${1:containerid}, ${2:destroyitems = true}, ${3:destroybutton = true})$0" | |
}, | |
"AddItemToContainer": { | |
"prefix": "AddItemToContainer", | |
"body": "AddItemToContainer(${1:containerid}, ${2:itemid}, ${3:playerid = INVALID_PLAYER_ID})$0" | |
}, | |
"RemoveItemFromContainer": { | |
"prefix": "RemoveItemFromContainer", | |
"body": "RemoveItemFromContainer(${1:containerid}, ${2:slotid}, ${3:playerid = INVALID_PLAYER_ID}, ${4:call = 1})$0" | |
}, | |
"IsValidContainer": { | |
"prefix": "IsValidContainer", | |
"body": "IsValidContainer(${1:containerid})$0" | |
}, | |
"GetContainerButton": { | |
"prefix": "GetContainerButton", | |
"body": "GetContainerButton(${1:containerid})$0" | |
}, | |
"GetContainerName": { | |
"prefix": "GetContainerName", | |
"body": "GetContainerName(${1:containerid}, ${2:name[]})$0" | |
}, | |
"GetContainerSize": { | |
"prefix": "GetContainerSize", | |
"body": "GetContainerSize(${1:containerid})$0" | |
}, | |
"SetContainerSize": { | |
"prefix": "SetContainerSize", | |
"body": "SetContainerSize(${1:containerid}, ${2:size})$0" | |
}, | |
"GetContainerItemCount": { | |
"prefix": "GetContainerItemCount", | |
"body": "GetContainerItemCount(${1:containerid})$0" | |
}, | |
"GetContainerSlotItem": { | |
"prefix": "GetContainerSlotItem", | |
"body": "GetContainerSlotItem(${1:containerid}, ${2:slotid})$0" | |
}, | |
"IsContainerSlotUsed": { | |
"prefix": "IsContainerSlotUsed", | |
"body": "IsContainerSlotUsed(${1:containerid}, ${2:slotid})$0" | |
}, | |
"IsContainerFull": { | |
"prefix": "IsContainerFull", | |
"body": "IsContainerFull(${1:containerid})$0" | |
}, | |
"IsContainerEmpty": { | |
"prefix": "IsContainerEmpty", | |
"body": "IsContainerEmpty(${1:containerid})$0" | |
}, | |
"WillItemTypeFitInContainer": { | |
"prefix": "WillItemTypeFitInContainer", | |
"body": "WillItemTypeFitInContainer(${1:containerid}, ${2:ItemType:itemtype})$0" | |
}, | |
"GetContainerFreeSlots": { | |
"prefix": "GetContainerFreeSlots", | |
"body": "GetContainerFreeSlots(${1:containerid})$0" | |
}, | |
"GetItemContainer": { | |
"prefix": "GetItemContainer", | |
"body": "GetItemContainer(${1:itemid})$0" | |
}, | |
"GetItemContainerSlot": { | |
"prefix": "GetItemContainerSlot", | |
"body": "GetItemContainerSlot(${1:itemid})$0" | |
}, | |
"GetButtonContainer": { | |
"prefix": "GetButtonContainer", | |
"body": "GetButtonContainer(${1:buttonid})$0" | |
}, | |
"OnContainerCreate": { | |
"prefix": "OnContainerCreate", | |
"body": "OnContainerCreate(${1:containerid})$0" | |
}, | |
"OnContainerDestroy": { | |
"prefix": "OnContainerDestroy", | |
"body": "OnContainerDestroy(${1:containerid})$0" | |
}, | |
"OnItemAddToContainer": { | |
"prefix": "OnItemAddToContainer", | |
"body": "OnItemAddToContainer(${1:containerid}, ${2:itemid}, ${3:playerid})$0" | |
}, | |
"OnItemAddedToContainer": { | |
"prefix": "OnItemAddedToContainer", | |
"body": "OnItemAddedToContainer(${1:containerid}, ${2:itemid}, ${3:playerid})$0" | |
}, | |
"OnItemRemoveFromContainer": { | |
"prefix": "OnItemRemoveFromContainer", | |
"body": "OnItemRemoveFromContainer(${1:containerid}, ${2:slotid}, ${3:playerid})$0" | |
}, | |
"OnItemRemovedFromContainer": { | |
"prefix": "OnItemRemovedFromContainer", | |
"body": "OnItemRemovedFromContainer(${1:containerid}, ${2:slotid}, ${3:playerid})$0" | |
}, | |
"DisplayContainerInventory": { | |
"prefix": "DisplayContainerInventory", | |
"body": "DisplayContainerInventory(${1:playerid}, ${2:containerid})$0" | |
}, | |
"ClosePlayerContainer": { | |
"prefix": "ClosePlayerContainer", | |
"body": "ClosePlayerContainer(${1:playerid}, ${2:call = false})$0" | |
}, | |
"GetPlayerCurrentContainer": { | |
"prefix": "GetPlayerCurrentContainer", | |
"body": "GetPlayerCurrentContainer(${1:playerid})$0" | |
}, | |
"GetPlayerContainerSlot": { | |
"prefix": "GetPlayerContainerSlot", | |
"body": "GetPlayerContainerSlot(${1:playerid})$0" | |
}, | |
"AddContainerOption": { | |
"prefix": "AddContainerOption", | |
"body": "AddContainerOption(${1:playerid}, ${2:option[]})$0" | |
}, | |
"OnPlayerOpenContainer": { | |
"prefix": "OnPlayerOpenContainer", | |
"body": "OnPlayerOpenContainer(${1:playerid}, ${2:containerid})$0" | |
}, | |
"OnPlayerCloseContainer": { | |
"prefix": "OnPlayerCloseContainer", | |
"body": "OnPlayerCloseContainer(${1:playerid}, ${2:containerid})$0" | |
}, | |
"OnPlayerViewContainerOpt": { | |
"prefix": "OnPlayerViewContainerOpt", | |
"body": "OnPlayerViewContainerOpt(${1:playerid}, ${2:containerid})$0" | |
}, | |
"OnPlayerSelectContainerOpt": { | |
"prefix": "OnPlayerSelectContainerOpt", | |
"body": "OnPlayerSelectContainerOpt(${1:playerid}, ${2:containerid}, ${3:option})$0" | |
}, | |
"OnMoveItemToContainer": { | |
"prefix": "OnMoveItemToContainer", | |
"body": "OnMoveItemToContainer(${1:playerid}, ${2:itemid}, ${3:containerid})$0" | |
}, | |
"OnMoveItemToInventory": { | |
"prefix": "OnMoveItemToInventory", | |
"body": "OnMoveItemToInventory(${1:playerid}, ${2:itemid}, ${3:containerid})$0" | |
}, | |
"IsPlayerInPlayerArea": { | |
"prefix": "IsPlayerInPlayerArea", | |
"body": "IsPlayerInPlayerArea(${1:playerid}, ${2:targetid})$0" | |
}, | |
"ShowActionText": { | |
"prefix": "ShowActionText", | |
"body": "ShowActionText(${1:playerid}, ${2:message[]}, ${3:time=0}, ${4:width=200})$0" | |
}, | |
"HideActionText": { | |
"prefix": "HideActionText", | |
"body": "HideActionText(${1:playerid})$0" | |
}, | |
"IsPlayerViewingActionText": { | |
"prefix": "IsPlayerViewingActionText", | |
"body": "IsPlayerViewingActionText(${1:playerid})$0" | |
}, | |
"sif_absoluteangle": { | |
"prefix": "sif_absoluteangle", | |
"body": "sif_absoluteangle(${1:Float:angle})$0" | |
}, | |
"sif_GetAngleToPoint": { | |
"prefix": "sif_GetAngleToPoint", | |
"body": "sif_GetAngleToPoint(${1:Float:fPointX}, ${2:Float:fPointY}, ${3:Float:fDestX}, ${4:Float:fDestY})$0" | |
}, | |
"sif_Distance": { | |
"prefix": "sif_Distance", | |
"body": "sif_Distance(${1:Float:x1}, ${2:Float:y1}, ${3:Float:z1}, ${4:Float:x2}, ${5:Float:y2}, ${6:Float:z2})$0" | |
}, | |
"sif_IsIdleAnim": { | |
"prefix": "sif_IsIdleAnim", | |
"body": "sif_IsIdleAnim(${1:animidx})$0" | |
}, | |
"sif_abs": { | |
"prefix": "sif_abs", | |
"body": "sif_abs(${1:int})$0" | |
}, | |
"sif_intdiffabs": { | |
"prefix": "sif_intdiffabs", | |
"body": "sif_intdiffabs(${1:tick1}, ${2:tick2})$0" | |
}, | |
"sif_GetTickCountDiff": { | |
"prefix": "sif_GetTickCountDiff", | |
"body": "sif_GetTickCountDiff(${1:a}, ${2:b})$0" | |
}, | |
"OnPlayerEnterPlayerArea": { | |
"prefix": "OnPlayerEnterPlayerArea", | |
"body": "OnPlayerEnterPlayerArea(${1:playerid}, ${2:targetid})$0" | |
}, | |
"OnPlayerLeavePlayerArea": { | |
"prefix": "OnPlayerLeavePlayerArea", | |
"body": "OnPlayerLeavePlayerArea(${1:playerid}, ${2:targetid})$0" | |
}, | |
"DefineItemCraftSet": { | |
"prefix": "DefineItemCraftSet", | |
"body": "DefineItemCraftSet(${1:ItemType:result}, ${2:...})$0" | |
}, | |
"GetCraftSetUniqueID": { | |
"prefix": "GetCraftSetUniqueID", | |
"body": "GetCraftSetUniqueID(${1:craftset}, ${2:id[]}, ${3:maxlength = sizeof(id})$0" | |
}, | |
"IsValidCraftSet": { | |
"prefix": "IsValidCraftSet", | |
"body": "IsValidCraftSet(${1:craftset})$0" | |
}, | |
"GetCraftSetIngredients": { | |
"prefix": "GetCraftSetIngredients", | |
"body": "GetCraftSetIngredients(${1:craftset}, ${2:output[CFT_MAX_CRAFT_SET_ITEMS][e_craft_item_data]})$0" | |
}, | |
"GetCraftSetItemType": { | |
"prefix": "GetCraftSetItemType", | |
"body": "GetCraftSetItemType(${1:craftset}, ${2:index})$0" | |
}, | |
"GetCraftSetItemKeep": { | |
"prefix": "GetCraftSetItemKeep", | |
"body": "GetCraftSetItemKeep(${1:craftset}, ${2:index})$0" | |
}, | |
"GetCraftSetItemCount": { | |
"prefix": "GetCraftSetItemCount", | |
"body": "GetCraftSetItemCount(${1:craftset})$0" | |
}, | |
"GetCraftSetResult": { | |
"prefix": "GetCraftSetResult", | |
"body": "GetCraftSetResult(${1:craftset})$0" | |
}, | |
"GetCraftSetTotal": { | |
"prefix": "GetCraftSetTotal", | |
"body": "GetCraftSetTotal()$0" | |
}, | |
"GetPlayerSelectedCraftItems": { | |
"prefix": "GetPlayerSelectedCraftItems", | |
"body": "GetPlayerSelectedCraftItems(${1:playerid}, ${2:output[CFT_MAX_CRAFT_SET_ITEMS][e_selected_item_data]})$0" | |
}, | |
"GetPlayerSelectedCraftItemType": { | |
"prefix": "GetPlayerSelectedCraftItemType", | |
"body": "GetPlayerSelectedCraftItemType(${1:playerid}, ${2:index})$0" | |
}, | |
"GetPlayerSelectedCraftItemID": { | |
"prefix": "GetPlayerSelectedCraftItemID", | |
"body": "GetPlayerSelectedCraftItemID(${1:playerid}, ${2:index})$0" | |
}, | |
"GetPlayerSelectedCraftItemCount": { | |
"prefix": "GetPlayerSelectedCraftItemCount", | |
"body": "GetPlayerSelectedCraftItemCount(${1:playerid})$0" | |
}, | |
"GetPlayerCraftEnvironment": { | |
"prefix": "GetPlayerCraftEnvironment", | |
"body": "GetPlayerCraftEnvironment(${1:playerid})$0" | |
}, | |
"ItemTypeResultForCraftingSet": { | |
"prefix": "ItemTypeResultForCraftingSet", | |
"body": "ItemTypeResultForCraftingSet(${1:ItemType:itemtype})$0" | |
}, | |
"OnPlayerCraft": { | |
"prefix": "OnPlayerCraft", | |
"body": "OnPlayerCraft(${1:playerid}, ${2:craftset})$0" | |
}, | |
"OnPlayerCrafted": { | |
"prefix": "OnPlayerCrafted", | |
"body": "OnPlayerCrafted(${1:playerid}, ${2:craftset}, ${3:result})$0" | |
}, | |
"sif_debug_register_handler": { | |
"prefix": "sif_debug_register_handler", | |
"body": "sif_debug_register_handler(${1:name[]}, ${2:initstate = 0})$0" | |
}, | |
"sif_debug_level": { | |
"prefix": "sif_debug_level", | |
"body": "sif_debug_level(${1:handler}, ${2:level})$0" | |
}, | |
"sif_debug_plevel": { | |
"prefix": "sif_debug_plevel", | |
"body": "sif_debug_plevel(${1:playerid}, ${2:handler}, ${3:level})$0" | |
}, | |
"sif_debug_print": { | |
"prefix": "sif_debug_print", | |
"body": "sif_debug_print(${1:handler}, ${2:level}, ${3:playerid}, ${4:msg[]})$0" | |
}, | |
"sif_debug_printf": { | |
"prefix": "sif_debug_printf", | |
"body": "sif_debug_printf(${1:handler}, ${2:level}, ${3:playerid}, ${4:string[]}, ${5:va_args<>})$0" | |
}, | |
"sif_debug_handler_search": { | |
"prefix": "sif_debug_handler_search", | |
"body": "sif_debug_handler_search(${1:name[]})$0" | |
}, | |
"sif_debug_get_handler_name": { | |
"prefix": "sif_debug_get_handler_name", | |
"body": "sif_debug_get_handler_name(${1:handler}, ${2:output[]})$0" | |
}, | |
"SIF_IS_VALID_HANDLER(%0)": { | |
"prefix": "SIF_IS_VALID_HANDLER(%0)", | |
"body": "SIF_IS_VALID_HANDLER(${1:0})$0" | |
}, | |
"sif_dp:%0:%1(%2)<%3>": { | |
"prefix": "sif_dp:%0:%1(%2)<%3>", | |
"body": "sif_dp:${1:0}:${2:1}(${3:2})<${4:3}>$0" | |
}, | |
"sif_d:%0:%1(%2)": { | |
"prefix": "sif_d:%0:%1(%2)", | |
"body": "sif_d:${1:0}:${2:1}(${3:2})$0" | |
}, | |
"DefineDebugLabelType": { | |
"prefix": "DefineDebugLabelType", | |
"body": "DefineDebugLabelType(${1:name[]}, ${2:colour = 0xFFFFFFFF})$0" | |
}, | |
"CreateDebugLabel": { | |
"prefix": "CreateDebugLabel", | |
"body": "CreateDebugLabel(${1:type}, ${2:entityid}, ${3:Float:x}, ${4:Float:y}, ${5:Float:z}, ${6:string[] = \"\"}, ${7:worldid = -1}, ${8:interiorid = -1})$0" | |
}, | |
"DestroyDebugLabel": { | |
"prefix": "DestroyDebugLabel", | |
"body": "DestroyDebugLabel(${1:labelid})$0" | |
}, | |
"ShowDebugLabelsForPlayer": { | |
"prefix": "ShowDebugLabelsForPlayer", | |
"body": "ShowDebugLabelsForPlayer(${1:playerid}, ${2:type})$0" | |
}, | |
"ShowAllDebugLabelsForPlayer": { | |
"prefix": "ShowAllDebugLabelsForPlayer", | |
"body": "ShowAllDebugLabelsForPlayer(${1:playerid})$0" | |
}, | |
"HideDebugLabelsForPlayer": { | |
"prefix": "HideDebugLabelsForPlayer", | |
"body": "HideDebugLabelsForPlayer(${1:playerid}, ${2:type})$0" | |
}, | |
"HideAllDebugLabelsForPlayer": { | |
"prefix": "HideAllDebugLabelsForPlayer", | |
"body": "HideAllDebugLabelsForPlayer(${1:playerid})$0" | |
}, | |
"UpdateDebugLabelString": { | |
"prefix": "UpdateDebugLabelString", | |
"body": "UpdateDebugLabelString(${1:labelid}, ${2:string[]})$0" | |
}, | |
"IsValidDebugLabel": { | |
"prefix": "IsValidDebugLabel", | |
"body": "IsValidDebugLabel(${1:labelid})$0" | |
}, | |
"SetDebugLabelPos": { | |
"prefix": "SetDebugLabelPos", | |
"body": "SetDebugLabelPos(${1:labelid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"IsPlayerToggledDebugLabels": { | |
"prefix": "IsPlayerToggledDebugLabels", | |
"body": "IsPlayerToggledDebugLabels(${1:playerid}, ${2:type})$0" | |
}, | |
"IsPlayerToggledAllDebugLabels": { | |
"prefix": "IsPlayerToggledAllDebugLabels", | |
"body": "IsPlayerToggledAllDebugLabels(${1:playerid})$0" | |
}, | |
"CreateDoor": { | |
"prefix": "CreateDoor", | |
"body": "CreateDoor(${1:model}, ${2:buttonids[]}, ${3:Float:px}, ${4:Float:py}, ${5:Float:pz}, ${6:Float:rx}, ${7:Float:ry}, ${8:Float:rz}, ${9:Float:mpx}, ${10:Float:mpy}, ${11:Float:mpz}, ${12:Float:mrx}, ${13:Float:mry}, ${14:Float:mrz}, ${15:Float:movespeed = 1.0}, ${16:closedelay = 3000}, ${17:maxbuttons = sizeof(buttonids})$0" | |
}, | |
"DestroyDoor": { | |
"prefix": "DestroyDoor", | |
"body": "DestroyDoor(${1:doorid})$0" | |
}, | |
"OpenDoor": { | |
"prefix": "OpenDoor", | |
"body": "OpenDoor(${1:doorid})$0" | |
}, | |
"CloseDoor": { | |
"prefix": "CloseDoor", | |
"body": "CloseDoor(${1:doorid})$0" | |
}, | |
"IsValidDOor": { | |
"prefix": "IsValidDOor", | |
"body": "IsValidDOor(${1:doorid})$0" | |
}, | |
"GetDoorObjectID": { | |
"prefix": "GetDoorObjectID", | |
"body": "GetDoorObjectID(${1:doorid})$0" | |
}, | |
"GetDoorModel": { | |
"prefix": "GetDoorModel", | |
"body": "GetDoorModel(${1:doorid})$0" | |
}, | |
"SetDoorModel": { | |
"prefix": "SetDoorModel", | |
"body": "SetDoorModel(${1:doorid}, ${2:model})$0" | |
}, | |
"GetDoorButton": { | |
"prefix": "GetDoorButton", | |
"body": "GetDoorButton(${1:doorid}, ${2:slot})$0" | |
}, | |
"GetDoorButtonCount": { | |
"prefix": "GetDoorButtonCount", | |
"body": "GetDoorButtonCount(${1:doorid})$0" | |
}, | |
"GetDoorCloseDelay": { | |
"prefix": "GetDoorCloseDelay", | |
"body": "GetDoorCloseDelay(${1:doorid})$0" | |
}, | |
"SetDoorCloseDelay": { | |
"prefix": "SetDoorCloseDelay", | |
"body": "SetDoorCloseDelay(${1:doorid}, ${2:closedelay})$0" | |
}, | |
"GetDoorMoveSpeed": { | |
"prefix": "GetDoorMoveSpeed", | |
"body": "GetDoorMoveSpeed(${1:doorid})$0" | |
}, | |
"SetDoorMoveSpeed": { | |
"prefix": "SetDoorMoveSpeed", | |
"body": "SetDoorMoveSpeed(${1:doorid}, ${2:Float:movespeed})$0" | |
}, | |
"GetDoorMoveSound": { | |
"prefix": "GetDoorMoveSound", | |
"body": "GetDoorMoveSound(${1:doorid})$0" | |
}, | |
"SetDoorMoveSound": { | |
"prefix": "SetDoorMoveSound", | |
"body": "SetDoorMoveSound(${1:doorid}, ${2:movesound})$0" | |
}, | |
"GetDoorStopSound": { | |
"prefix": "GetDoorStopSound", | |
"body": "GetDoorStopSound(${1:doorid})$0" | |
}, | |
"SetDoorStopSound": { | |
"prefix": "SetDoorStopSound", | |
"body": "SetDoorStopSound(${1:doorid}, ${2:stopsound})$0" | |
}, | |
"GetDoorPos": { | |
"prefix": "GetDoorPos", | |
"body": "GetDoorPos(${1:doorid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"SetDoorPos": { | |
"prefix": "SetDoorPos", | |
"body": "SetDoorPos(${1:doorid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"GetDoorRot": { | |
"prefix": "GetDoorRot", | |
"body": "GetDoorRot(${1:doorid}, ${2:Float:rx}, ${3:Float:ry}, ${4:Float:rz})$0" | |
}, | |
"SetDoorRot": { | |
"prefix": "SetDoorRot", | |
"body": "SetDoorRot(${1:doorid}, ${2:Float:rx}, ${3:Float:ry}, ${4:Float:rz})$0" | |
}, | |
"GetDoorMovePos": { | |
"prefix": "GetDoorMovePos", | |
"body": "GetDoorMovePos(${1:doorid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"SetDoorMovePos": { | |
"prefix": "SetDoorMovePos", | |
"body": "SetDoorMovePos(${1:doorid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"GetDoorMoveRot": { | |
"prefix": "GetDoorMoveRot", | |
"body": "GetDoorMoveRot(${1:doorid}, ${2:Float:rx}, ${3:Float:ry}, ${4:Float:rz})$0" | |
}, | |
"SetDoorMoveRot": { | |
"prefix": "SetDoorMoveRot", | |
"body": "SetDoorMoveRot(${1:doorid}, ${2:Float:rx}, ${3:Float:ry}, ${4:Float:rz})$0" | |
}, | |
"GetDoorState": { | |
"prefix": "GetDoorState", | |
"body": "GetDoorState(${1:doorid})$0" | |
}, | |
"OnPlayerActivateDoor": { | |
"prefix": "OnPlayerActivateDoor", | |
"body": "OnPlayerActivateDoor(${1:playerid}, ${2:doorid}, ${3:newstate})$0" | |
}, | |
"OnDoorStateChange": { | |
"prefix": "OnDoorStateChange", | |
"body": "OnDoorStateChange(${1:doorid}, ${2:doorstate})$0" | |
}, | |
"mkgeid": { | |
"prefix": "mkgeid", | |
"body": "mkgeid(${1:id}, ${2:result[]})$0" | |
}, | |
"b64_encode": { | |
"prefix": "b64_encode", | |
"body": "b64_encode(${1:data[]}, ${2:data_len}, ${3:result[]}, ${4:result_len})$0" | |
}, | |
"AddItemToInventory": { | |
"prefix": "AddItemToInventory", | |
"body": "AddItemToInventory(${1:playerid}, ${2:itemid}, ${3:call = 1})$0" | |
}, | |
"RemoveItemFromInventory": { | |
"prefix": "RemoveItemFromInventory", | |
"body": "RemoveItemFromInventory(${1:playerid}, ${2:slotid}, ${3:call = 1})$0" | |
}, | |
"GetInventorySlotItem": { | |
"prefix": "GetInventorySlotItem", | |
"body": "GetInventorySlotItem(${1:playerid}, ${2:slotid})$0" | |
}, | |
"IsInventorySlotUsed": { | |
"prefix": "IsInventorySlotUsed", | |
"body": "IsInventorySlotUsed(${1:playerid}, ${2:slotid})$0" | |
}, | |
"IsPlayerInventoryFull": { | |
"prefix": "IsPlayerInventoryFull", | |
"body": "IsPlayerInventoryFull(${1:playerid})$0" | |
}, | |
"WillItemTypeFitInInventory": { | |
"prefix": "WillItemTypeFitInInventory", | |
"body": "WillItemTypeFitInInventory(${1:playerid}, ${2:ItemType:itemtype})$0" | |
}, | |
"GetInventoryFreeSlots": { | |
"prefix": "GetInventoryFreeSlots", | |
"body": "GetInventoryFreeSlots(${1:playerid})$0" | |
}, | |
"GetItemPlayerInventory": { | |
"prefix": "GetItemPlayerInventory", | |
"body": "GetItemPlayerInventory(${1:itemid})$0" | |
}, | |
"GetItemPlayerInventorySlot": { | |
"prefix": "GetItemPlayerInventorySlot", | |
"body": "GetItemPlayerInventorySlot(${1:itemid})$0" | |
}, | |
"SetPlayerInventorySize": { | |
"prefix": "SetPlayerInventorySize", | |
"body": "SetPlayerInventorySize(${1:playerid}, ${2:slots})$0" | |
}, | |
"GetPlayerInventorySize": { | |
"prefix": "GetPlayerInventorySize", | |
"body": "GetPlayerInventorySize(${1:playerid})$0" | |
}, | |
"OnItemAddToInventory": { | |
"prefix": "OnItemAddToInventory", | |
"body": "OnItemAddToInventory(${1:playerid}, ${2:itemid}, ${3:slot})$0" | |
}, | |
"OnItemAddedToInventory": { | |
"prefix": "OnItemAddedToInventory", | |
"body": "OnItemAddedToInventory(${1:playerid}, ${2:itemid}, ${3:slot})$0" | |
}, | |
"OnItemRemoveFromInventory": { | |
"prefix": "OnItemRemoveFromInventory", | |
"body": "OnItemRemoveFromInventory(${1:playerid}, ${2:itemid}, ${3:slot})$0" | |
}, | |
"OnItemRemovedFromInventory": { | |
"prefix": "OnItemRemovedFromInventory", | |
"body": "OnItemRemovedFromInventory(${1:playerid}, ${2:itemid}, ${3:slot})$0" | |
}, | |
"DisplayPlayerInventory": { | |
"prefix": "DisplayPlayerInventory", | |
"body": "DisplayPlayerInventory(${1:playerid})$0" | |
}, | |
"ClosePlayerInventory": { | |
"prefix": "ClosePlayerInventory", | |
"body": "ClosePlayerInventory(${1:playerid}, ${2:call = false})$0" | |
}, | |
"GetPlayerSelectedInventorySlot": { | |
"prefix": "GetPlayerSelectedInventorySlot", | |
"body": "GetPlayerSelectedInventorySlot(${1:playerid})$0" | |
}, | |
"AddInventoryListItem": { | |
"prefix": "AddInventoryListItem", | |
"body": "AddInventoryListItem(${1:playerid}, ${2:itemname[]})$0" | |
}, | |
"AddInventoryOption": { | |
"prefix": "AddInventoryOption", | |
"body": "AddInventoryOption(${1:playerid}, ${2:option[]})$0" | |
}, | |
"GetInventoryListItems": { | |
"prefix": "GetInventoryListItems", | |
"body": "GetInventoryListItems(${1:playerid})$0" | |
}, | |
"GetInventoryOptions": { | |
"prefix": "GetInventoryOptions", | |
"body": "GetInventoryOptions(${1:playerid})$0" | |
}, | |
"GetInventoryListItemCount": { | |
"prefix": "GetInventoryListItemCount", | |
"body": "GetInventoryListItemCount(${1:playerid})$0" | |
}, | |
"GetInventoryOptionCount": { | |
"prefix": "GetInventoryOptionCount", | |
"body": "GetInventoryOptionCount(${1:playerid})$0" | |
}, | |
"IsPlayerViewingInventory": { | |
"prefix": "IsPlayerViewingInventory", | |
"body": "IsPlayerViewingInventory(${1:playerid})$0" | |
}, | |
"OnPlayerOpenInventory": { | |
"prefix": "OnPlayerOpenInventory", | |
"body": "OnPlayerOpenInventory(${1:playerid})$0" | |
}, | |
"OnPlayerCloseInventory": { | |
"prefix": "OnPlayerCloseInventory", | |
"body": "OnPlayerCloseInventory(${1:playerid})$0" | |
}, | |
"OnPlayerSelectExtraItem": { | |
"prefix": "OnPlayerSelectExtraItem", | |
"body": "OnPlayerSelectExtraItem(${1:playerid}, ${2:item})$0" | |
}, | |
"OnPlayerRemoveFromInventory": { | |
"prefix": "OnPlayerRemoveFromInventory", | |
"body": "OnPlayerRemoveFromInventory(${1:playerid}, ${2:slotid})$0" | |
}, | |
"OnPlayerRemovedFromInventory": { | |
"prefix": "OnPlayerRemovedFromInventory", | |
"body": "OnPlayerRemovedFromInventory(${1:playerid}, ${2:slotid})$0" | |
}, | |
"OnPlayerViewInventoryOpt": { | |
"prefix": "OnPlayerViewInventoryOpt", | |
"body": "OnPlayerViewInventoryOpt(${1:playerid})$0" | |
}, | |
"OnPlayerSelectInventoryOpt": { | |
"prefix": "OnPlayerSelectInventoryOpt", | |
"body": "OnPlayerSelectInventoryOpt(${1:playerid}, ${2:option})$0" | |
}, | |
"OnPlayerAddToInventory": { | |
"prefix": "OnPlayerAddToInventory", | |
"body": "OnPlayerAddToInventory(${1:playerid}, ${2:itemid})$0" | |
}, | |
"OnPlayerAddedToInventory": { | |
"prefix": "OnPlayerAddedToInventory", | |
"body": "OnPlayerAddedToInventory(${1:playerid}, ${2:itemid})$0" | |
}, | |
"CreateItem": { | |
"prefix": "CreateItem", | |
"body": "CreateItem(${1:ItemType:type}, ${2:Float:x = 0.0}, ${3:Float:y = 0.0}, ${4:Float:z = 0.0}, ${5:Float:rx = 0.0}, ${6:Float:ry = 0.0}, ${7:Float:rz = 0.0}, ${8:world = 0}, ${9:interior = 0}, ${10:label = 1}, ${11:applyrotoffsets = 1}, ${12:virtual = 0}, ${13:geid[] = \"\"}, ${14:hitpoints = -1})$0" | |
}, | |
"DestroyItem": { | |
"prefix": "DestroyItem", | |
"body": "DestroyItem(${1:itemid}, ${2:indexid = -1}, ${3:worldindexid = -1})$0" | |
}, | |
"DefineItemType": { | |
"prefix": "DefineItemType", | |
"body": "DefineItemType(${1:name[]}, ${2:uname[]}, ${3:model}, ${4:size}, ${5:Float:rotx = 0.0}, ${6:Float:roty = 0.0}, ${7:Float:rotz = 0.0}, ${8:Float:modelz = 0.0}, ${9:Float:attx = 0.0}, ${10:Float:atty = 0.0}, ${11:Float:attz = 0.0}, ${12:Float:attrx = 0.0}, ${13:Float:attry = 0.0}, ${14:Float:attrz = 0.0}, ${15:bool:usecarryanim = false}, ${16:colour = -1}, ${17:boneid = 6}, ${18:longpickup = false}, ${19:Float:buttonz = FLOOR_OFFSET}, ${20:maxhitpoints = 5})$0" | |
}, | |
"PlayerPickUpItem": { | |
"prefix": "PlayerPickUpItem", | |
"body": "PlayerPickUpItem(${1:playerid}, ${2:itemid})$0" | |
}, | |
"PlayerDropItem": { | |
"prefix": "PlayerDropItem", | |
"body": "PlayerDropItem(${1:playerid})$0" | |
}, | |
"PlayerGiveItem": { | |
"prefix": "PlayerGiveItem", | |
"body": "PlayerGiveItem(${1:playerid}, ${2:targetid}, ${3:call = true})$0" | |
}, | |
"PlayerUseItem": { | |
"prefix": "PlayerUseItem", | |
"body": "PlayerUseItem(${1:playerid})$0" | |
}, | |
"GiveWorldItemToPlayer": { | |
"prefix": "GiveWorldItemToPlayer", | |
"body": "GiveWorldItemToPlayer(${1:playerid}, ${2:itemid}, ${3:call = 1})$0" | |
}, | |
"RemoveCurrentItem": { | |
"prefix": "RemoveCurrentItem", | |
"body": "RemoveCurrentItem(${1:playerid})$0" | |
}, | |
"RemoveItemFromWorld": { | |
"prefix": "RemoveItemFromWorld", | |
"body": "RemoveItemFromWorld(${1:itemid})$0" | |
}, | |
"AllocNextItemID": { | |
"prefix": "AllocNextItemID", | |
"body": "AllocNextItemID(${1:ItemType:type}, ${2:geid[] = \"\"})$0" | |
}, | |
"CreateItem_ExplicitID": { | |
"prefix": "CreateItem_ExplicitID", | |
"body": "CreateItem_ExplicitID(${1:itemid}, ${2:Float:x = 0.0}, ${3:Float:y = 0.0}, ${4:Float:z = 0.0}, ${5:Float:rx = 0.0}, ${6:Float:ry = 0.0}, ${7:Float:rz = 0.0}, ${8:world = 0}, ${9:interior = 0}, ${10:label = 1}, ${11:applyrotoffsets = 1}, ${12:virtual = 0}, ${13:hitpoints = -1})$0" | |
}, | |
"IsValidItem": { | |
"prefix": "IsValidItem", | |
"body": "IsValidItem(${1:itemid})$0" | |
}, | |
"GetItemObjectID": { | |
"prefix": "GetItemObjectID", | |
"body": "GetItemObjectID(${1:itemid})$0" | |
}, | |
"GetItemButtonID": { | |
"prefix": "GetItemButtonID", | |
"body": "GetItemButtonID(${1:itemid})$0" | |
}, | |
"SetItemLabel": { | |
"prefix": "SetItemLabel", | |
"body": "SetItemLabel(${1:itemid}, ${2:text[]}, ${3:colour = 0xFFFF00FF}, ${4:Float:range = 10.0})$0" | |
}, | |
"GetItemTypeCount": { | |
"prefix": "GetItemTypeCount", | |
"body": "GetItemTypeCount(${1:ItemType:itemtype})$0" | |
}, | |
"GetItemType": { | |
"prefix": "GetItemType", | |
"body": "GetItemType(${1:itemid})$0" | |
}, | |
"GetItemPos": { | |
"prefix": "GetItemPos", | |
"body": "GetItemPos(${1:itemid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"SetItemPos": { | |
"prefix": "SetItemPos", | |
"body": "SetItemPos(${1:itemid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"GetItemRot": { | |
"prefix": "GetItemRot", | |
"body": "GetItemRot(${1:itemid}, ${2:Float:rx}, ${3:Float:ry}, ${4:Float:rz})$0" | |
}, | |
"SetItemRot": { | |
"prefix": "SetItemRot", | |
"body": "SetItemRot(${1:itemid}, ${2:Float:rx}, ${3:Float:ry}, ${4:Float:rz}, ${5:bool:offsetfromdefaults = false})$0" | |
}, | |
"SetItemWorld": { | |
"prefix": "SetItemWorld", | |
"body": "SetItemWorld(${1:itemid}, ${2:world})$0" | |
}, | |
"GetItemWorld": { | |
"prefix": "GetItemWorld", | |
"body": "GetItemWorld(${1:itemid})$0" | |
}, | |
"SetItemInterior": { | |
"prefix": "SetItemInterior", | |
"body": "SetItemInterior(${1:itemid}, ${2:interior})$0" | |
}, | |
"GetItemInterior": { | |
"prefix": "GetItemInterior", | |
"body": "GetItemInterior(${1:itemid})$0" | |
}, | |
"SetItemHitPoints": { | |
"prefix": "SetItemHitPoints", | |
"body": "SetItemHitPoints(${1:itemid}, ${2:hitpoints})$0" | |
}, | |
"GetItemHitPoints": { | |
"prefix": "GetItemHitPoints", | |
"body": "GetItemHitPoints(${1:itemid})$0" | |
}, | |
"SetItemExtraData": { | |
"prefix": "SetItemExtraData", | |
"body": "SetItemExtraData(${1:itemid}, ${2:data})$0" | |
}, | |
"GetItemExtraData": { | |
"prefix": "GetItemExtraData", | |
"body": "GetItemExtraData(${1:itemid})$0" | |
}, | |
"SetItemNameExtra": { | |
"prefix": "SetItemNameExtra", | |
"body": "SetItemNameExtra(${1:itemid}, ${2:string[]})$0" | |
}, | |
"GetItemNameExtra": { | |
"prefix": "GetItemNameExtra", | |
"body": "GetItemNameExtra(${1:itemid}, ${2:string[]})$0" | |
}, | |
"IsValidItemType": { | |
"prefix": "IsValidItemType", | |
"body": "IsValidItemType(${1:ItemType:itemtype})$0" | |
}, | |
"GetItemTypeName": { | |
"prefix": "GetItemTypeName", | |
"body": "GetItemTypeName(${1:ItemType:itemtype}, ${2:string[]})$0" | |
}, | |
"GetItemTypeUniqueName": { | |
"prefix": "GetItemTypeUniqueName", | |
"body": "GetItemTypeUniqueName(${1:ItemType:itemtype}, ${2:string[]})$0" | |
}, | |
"GetItemTypeFromUniqueName": { | |
"prefix": "GetItemTypeFromUniqueName", | |
"body": "GetItemTypeFromUniqueName(${1:string[]}, ${2:bool:ignorecase = false})$0" | |
}, | |
"GetItemTypeModel": { | |
"prefix": "GetItemTypeModel", | |
"body": "GetItemTypeModel(${1:ItemType:itemtype})$0" | |
}, | |
"GetItemTypeSize": { | |
"prefix": "GetItemTypeSize", | |
"body": "GetItemTypeSize(${1:ItemType:itemtype})$0" | |
}, | |
"IsItemTypeCarry": { | |
"prefix": "IsItemTypeCarry", | |
"body": "IsItemTypeCarry(${1:ItemType:itemtype})$0" | |
}, | |
"GetItemTypeColour": { | |
"prefix": "GetItemTypeColour", | |
"body": "GetItemTypeColour(${1:ItemType:itemtype})$0" | |
}, | |
"GetItemTypeBone": { | |
"prefix": "GetItemTypeBone", | |
"body": "GetItemTypeBone(${1:ItemType:itemtype})$0" | |
}, | |
"IsItemDestroying": { | |
"prefix": "IsItemDestroying", | |
"body": "IsItemDestroying(${1:itemid})$0" | |
}, | |
"GetItemHolder": { | |
"prefix": "GetItemHolder", | |
"body": "GetItemHolder(${1:itemid})$0" | |
}, | |
"GetPlayerItem": { | |
"prefix": "GetPlayerItem", | |
"body": "GetPlayerItem(${1:playerid})$0" | |
}, | |
"IsItemInWorld": { | |
"prefix": "IsItemInWorld", | |
"body": "IsItemInWorld(${1:itemid})$0" | |
}, | |
"GetItemFromButtonID": { | |
"prefix": "GetItemFromButtonID", | |
"body": "GetItemFromButtonID(${1:buttonid})$0" | |
}, | |
"GetItemName": { | |
"prefix": "GetItemName", | |
"body": "GetItemName(${1:itemid}, ${2:string[]})$0" | |
}, | |
"GetPlayerInteractingItem": { | |
"prefix": "GetPlayerInteractingItem", | |
"body": "GetPlayerInteractingItem(${1:playerid})$0" | |
}, | |
"GetPlayerNearbyItems": { | |
"prefix": "GetPlayerNearbyItems", | |
"body": "GetPlayerNearbyItems(${1:playerid}, ${2:list[]})$0" | |
}, | |
"GetNextItemID": { | |
"prefix": "GetNextItemID", | |
"body": "GetNextItemID()$0" | |
}, | |
"GetItemsInRange": { | |
"prefix": "GetItemsInRange", | |
"body": "GetItemsInRange(${1:Float:x}, ${2:Float:y}, ${3:Float:z}, ${4:Float:range = 300.0}, ${5:items[]}, ${6:maxitems = sizeof(items})$0" | |
}, | |
"OnItemTypeDefined": { | |
"prefix": "OnItemTypeDefined", | |
"body": "OnItemTypeDefined(${1:uname[]})$0" | |
}, | |
"OnItemCreate": { | |
"prefix": "OnItemCreate", | |
"body": "OnItemCreate(${1:itemid})$0" | |
}, | |
"OnItemCreated": { | |
"prefix": "OnItemCreated", | |
"body": "OnItemCreated(${1:itemid})$0" | |
}, | |
"OnItemDestroy": { | |
"prefix": "OnItemDestroy", | |
"body": "OnItemDestroy(${1:itemid})$0" | |
}, | |
"OnItemDestroyed": { | |
"prefix": "OnItemDestroyed", | |
"body": "OnItemDestroyed(${1:itemid})$0" | |
}, | |
"OnItemCreateInWorld": { | |
"prefix": "OnItemCreateInWorld", | |
"body": "OnItemCreateInWorld(${1:itemid})$0" | |
}, | |
"OnItemRemoveFromWorld": { | |
"prefix": "OnItemRemoveFromWorld", | |
"body": "OnItemRemoveFromWorld(${1:itemid})$0" | |
}, | |
"OnPlayerUseItem": { | |
"prefix": "OnPlayerUseItem", | |
"body": "OnPlayerUseItem(${1:playerid}, ${2:itemid})$0" | |
}, | |
"OnPlayerUseItemWithItem": { | |
"prefix": "OnPlayerUseItemWithItem", | |
"body": "OnPlayerUseItemWithItem(${1:playerid}, ${2:itemid}, ${3:withitemid})$0" | |
}, | |
"OnPlayerUseItemWithButton": { | |
"prefix": "OnPlayerUseItemWithButton", | |
"body": "OnPlayerUseItemWithButton(${1:playerid}, ${2:buttonid}, ${3:itemid})$0" | |
}, | |
"OnPlayerRelButtonWithItem": { | |
"prefix": "OnPlayerRelButtonWithItem", | |
"body": "OnPlayerRelButtonWithItem(${1:playerid}, ${2:buttonid}, ${3:itemid})$0" | |
}, | |
"OnPlayerPickUpItem": { | |
"prefix": "OnPlayerPickUpItem", | |
"body": "OnPlayerPickUpItem(${1:playerid}, ${2:itemid})$0" | |
}, | |
"OnPlayerPickedUpItem": { | |
"prefix": "OnPlayerPickedUpItem", | |
"body": "OnPlayerPickedUpItem(${1:playerid}, ${2:itemid})$0" | |
}, | |
"OnPlayerGetItem": { | |
"prefix": "OnPlayerGetItem", | |
"body": "OnPlayerGetItem(${1:playerid}, ${2:itemid})$0" | |
}, | |
"OnPlayerDropItem": { | |
"prefix": "OnPlayerDropItem", | |
"body": "OnPlayerDropItem(${1:playerid}, ${2:itemid})$0" | |
}, | |
"OnPlayerDroppedItem": { | |
"prefix": "OnPlayerDroppedItem", | |
"body": "OnPlayerDroppedItem(${1:playerid}, ${2:itemid})$0" | |
}, | |
"OnPlayerGiveItem": { | |
"prefix": "OnPlayerGiveItem", | |
"body": "OnPlayerGiveItem(${1:playerid}, ${2:targetid}, ${3:itemid})$0" | |
}, | |
"OnPlayerGivenItem": { | |
"prefix": "OnPlayerGivenItem", | |
"body": "OnPlayerGivenItem(${1:playerid}, ${2:targetid}, ${3:itemid})$0" | |
}, | |
"OnItemRemovedFromPlayer": { | |
"prefix": "OnItemRemovedFromPlayer", | |
"body": "OnItemRemovedFromPlayer(${1:playerid}, ${2:itemid})$0" | |
}, | |
"OnItemNameRender": { | |
"prefix": "OnItemNameRender", | |
"body": "OnItemNameRender(${1:itemid}, ${2:ItemType:itemtype})$0" | |
}, | |
"SetItemExtraData(%0,%1)": { | |
"prefix": "SetItemExtraData(%0,%1)", | |
"body": "SetItemExtraData(${1:0},${2:1})$0" | |
}, | |
"GetItemExtraData(%0)": { | |
"prefix": "GetItemExtraData(%0)", | |
"body": "GetItemExtraData(${1:0})$0" | |
}, | |
"SetItemTypeMaxArrayData": { | |
"prefix": "SetItemTypeMaxArrayData", | |
"body": "SetItemTypeMaxArrayData(${1:ItemType:itemtype}, ${2:size}, ${3:bool:protect = false})$0" | |
}, | |
"GetItemTypeArrayDataSize": { | |
"prefix": "GetItemTypeArrayDataSize", | |
"body": "GetItemTypeArrayDataSize(${1:ItemType:itemtype})$0" | |
}, | |
"SetItemArrayData": { | |
"prefix": "SetItemArrayData", | |
"body": "SetItemArrayData(${1:itemid}, ${2:data[]}, ${3:length}, ${4:call = 1}, ${5:bool:force = false})$0" | |
}, | |
"GetItemArrayData": { | |
"prefix": "GetItemArrayData", | |
"body": "GetItemArrayData(${1:itemid}, ${2:data[]})$0" | |
}, | |
"SetItemArrayDataAtCell": { | |
"prefix": "SetItemArrayDataAtCell", | |
"body": "SetItemArrayDataAtCell(${1:itemid}, ${2:data}, ${3:cell}, ${4:autoadjustsize = 0}, ${5:call = 1}, ${6:bool:force = false})$0" | |
}, | |
"GetItemArrayDataAtCell": { | |
"prefix": "GetItemArrayDataAtCell", | |
"body": "GetItemArrayDataAtCell(${1:itemid}, ${2:cell})$0" | |
}, | |
"SetItemArrayDataSize": { | |
"prefix": "SetItemArrayDataSize", | |
"body": "SetItemArrayDataSize(${1:itemid}, ${2:size}, ${3:bool:force = false})$0" | |
}, | |
"GetItemArrayDataSize": { | |
"prefix": "GetItemArrayDataSize", | |
"body": "GetItemArrayDataSize(${1:itemid})$0" | |
}, | |
"GetItemTypeArrayDataMax": { | |
"prefix": "GetItemTypeArrayDataMax", | |
"body": "GetItemTypeArrayDataMax(${1:ItemType:itemtype})$0" | |
}, | |
"AppendItemArray": { | |
"prefix": "AppendItemArray", | |
"body": "AppendItemArray(${1:itemid}, ${2:data[]}, ${3:length})$0" | |
}, | |
"AppendItemArrayCell": { | |
"prefix": "AppendItemArrayCell", | |
"body": "AppendItemArrayCell(${1:itemid}, ${2:data})$0" | |
}, | |
"SetItemArrayDataLength": { | |
"prefix": "SetItemArrayDataLength", | |
"body": "SetItemArrayDataLength(${1:itemid}, ${2:length}, ${3:bool:force = false})$0" | |
}, | |
"RemoveItemArrayData": { | |
"prefix": "RemoveItemArrayData", | |
"body": "RemoveItemArrayData(${1:itemid})$0" | |
}, | |
"SetItemNoResetArrayData": { | |
"prefix": "SetItemNoResetArrayData", | |
"body": "SetItemNoResetArrayData(${1:itemid}, ${2:bool:toggle})$0" | |
}, | |
"OnItemArrayDataChanged": { | |
"prefix": "OnItemArrayDataChanged", | |
"body": "OnItemArrayDataChanged(${1:itemid})$0" | |
}, | |
"ITM_LST_OF_ITEMS(%0)": { | |
"prefix": "ITM_LST_OF_ITEMS(%0)", | |
"body": "ITM_LST_OF_ITEMS(${1:0})$0" | |
}, | |
"CreateItemList": { | |
"prefix": "CreateItemList", | |
"body": "CreateItemList(${1:items[]}, ${2:maxitems = sizeof(items})$0" | |
}, | |
"ExtractItemList": { | |
"prefix": "ExtractItemList", | |
"body": "ExtractItemList(${1:list[]}, ${2:length = sizeof(list})$0" | |
}, | |
"DestroyItemList": { | |
"prefix": "DestroyItemList", | |
"body": "DestroyItemList(${1:itemlist})$0" | |
}, | |
"GetItemList": { | |
"prefix": "GetItemList", | |
"body": "GetItemList(${1:itemlist}, ${2:output[]})$0" | |
}, | |
"GetItemListSize": { | |
"prefix": "GetItemListSize", | |
"body": "GetItemListSize(${1:itemlist})$0" | |
}, | |
"GetItemListElement": { | |
"prefix": "GetItemListElement", | |
"body": "GetItemListElement(${1:itemlist}, ${2:index})$0" | |
}, | |
"GetItemListItemCount": { | |
"prefix": "GetItemListItemCount", | |
"body": "GetItemListItemCount(${1:itemlist})$0" | |
}, | |
"GetItemListItem": { | |
"prefix": "GetItemListItem", | |
"body": "GetItemListItem(${1:itemlist}, ${2:index})$0" | |
}, | |
"GetItemListItemPos": { | |
"prefix": "GetItemListItemPos", | |
"body": "GetItemListItemPos(${1:itemlist}, ${2:index}, ${3:Float:x}, ${4:Float:y}, ${5:Float:z})$0" | |
}, | |
"GetItemListItemRot": { | |
"prefix": "GetItemListItemRot", | |
"body": "GetItemListItemRot(${1:itemlist}, ${2:index}, ${3:Float:x}, ${4:Float:y}, ${5:Float:z})$0" | |
}, | |
"GetItemListItemWorld": { | |
"prefix": "GetItemListItemWorld", | |
"body": "GetItemListItemWorld(${1:itemlist}, ${2:index})$0" | |
}, | |
"GetItemListItemInterior": { | |
"prefix": "GetItemListItemInterior", | |
"body": "GetItemListItemInterior(${1:itemlist}, ${2:index})$0" | |
}, | |
"GetItemListItemArrayData": { | |
"prefix": "GetItemListItemArrayData", | |
"body": "GetItemListItemArrayData(${1:itemlist}, ${2:index}, ${3:output[]})$0" | |
}, | |
"GetItemListItemArrayDataSize": { | |
"prefix": "GetItemListItemArrayDataSize", | |
"body": "GetItemListItemArrayDataSize(${1:itemlist}, ${2:index})$0" | |
}, | |
"CreateItemFromListItem": { | |
"prefix": "CreateItemFromListItem", | |
"body": "CreateItemFromListItem(${1:itemlist}, ${2:index})$0" | |
}, | |
"SetItemArrayDataFromListItem": { | |
"prefix": "SetItemArrayDataFromListItem", | |
"body": "SetItemArrayDataFromListItem(${1:itemid}, ${2:itemlist}, ${3:index})$0" | |
}, | |
"SerialiseItems": { | |
"prefix": "SerialiseItems", | |
"body": "SerialiseItems(${1:items[]}, ${2:maxitems = sizeof(items})$0" | |
}, | |
"DeserialiseItems": { | |
"prefix": "DeserialiseItems", | |
"body": "DeserialiseItems(${1:list[]}, ${2:length = sizeof(list})$0" | |
}, | |
"ClearSerializer": { | |
"prefix": "ClearSerializer", | |
"body": "ClearSerializer()$0" | |
}, | |
"GetSerialisedSize": { | |
"prefix": "GetSerialisedSize", | |
"body": "GetSerialisedSize()$0" | |
}, | |
"GetStoredItemCount": { | |
"prefix": "GetStoredItemCount", | |
"body": "GetStoredItemCount()$0" | |
}, | |
"GetStoredItemType": { | |
"prefix": "GetStoredItemType", | |
"body": "GetStoredItemType(${1:index})$0" | |
}, | |
"GetStoredItemPos": { | |
"prefix": "GetStoredItemPos", | |
"body": "GetStoredItemPos(${1:index}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"GetStoredItemRot": { | |
"prefix": "GetStoredItemRot", | |
"body": "GetStoredItemRot(${1:index}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"GetStoredItemWorld": { | |
"prefix": "GetStoredItemWorld", | |
"body": "GetStoredItemWorld(${1:index})$0" | |
}, | |
"GetStoredItemInterior": { | |
"prefix": "GetStoredItemInterior", | |
"body": "GetStoredItemInterior(${1:index})$0" | |
}, | |
"GetStoredItemArrayData": { | |
"prefix": "GetStoredItemArrayData", | |
"body": "GetStoredItemArrayData(${1:index}, ${2:output[]})$0" | |
}, | |
"GetStoredItemArrayDataSize": { | |
"prefix": "GetStoredItemArrayDataSize", | |
"body": "GetStoredItemArrayDataSize(${1:index})$0" | |
}, | |
"CreateItemFromStored": { | |
"prefix": "CreateItemFromStored", | |
"body": "CreateItemFromStored(${1:index})$0" | |
}, | |
"SetItemArrayDataFromStored": { | |
"prefix": "SetItemArrayDataFromStored", | |
"body": "SetItemArrayDataFromStored(${1:itemid}, ${2:index})$0" | |
}, | |
"CreateMultiButtonTrigger": { | |
"prefix": "CreateMultiButtonTrigger", | |
"body": "CreateMultiButtonTrigger(${1:type}, ${2:timewindow}, ${3:list[]}, ${4:count = sizeof(list})$0" | |
}, | |
"DestroyMultiButtonTrigger": { | |
"prefix": "DestroyMultiButtonTrigger", | |
"body": "DestroyMultiButtonTrigger(${1:triggerid})$0" | |
}, | |
"OnMultiButtonTrigger": { | |
"prefix": "OnMultiButtonTrigger", | |
"body": "OnMultiButtonTrigger(${1:triggerid}, ${2:success})$0" | |
}, | |
"CreateZipline": { | |
"prefix": "CreateZipline", | |
"body": "CreateZipline(${1:Float:x1}, ${2:Float:y1}, ${3:Float:z1}, ${4:Float:x2}, ${5:Float:y2}, ${6:Float:z2}, ${7:worldid = 0}, ${8:interiorid = 0})$0" | |
}, | |
"DestroyZipline": { | |
"prefix": "DestroyZipline", | |
"body": "DestroyZipline(${1:ziplineid})$0" | |
}, | |
"zip_OnPlayerEnterDynamicArea": { | |
"prefix": "zip_OnPlayerEnterDynamicArea", | |
"body": "zip_OnPlayerEnterDynamicArea(${1:playerid}, ${2:areaid})$0" | |
}, | |
"zip_GetDistancePointLine": { | |
"prefix": "zip_GetDistancePointLine", | |
"body": "zip_GetDistancePointLine(${1:Float:line_x}, ${2:Float:line_y}, ${3:Float:line_z}, ${4:Float:vector_x}, ${5:Float:vector_y}, ${6:Float:vector_z}, ${7:Float:point_x}, ${8:Float:point_y}, ${9:Float:point_z})$0" | |
}, | |
"zip_GetAngleToPoint": { | |
"prefix": "zip_GetAngleToPoint", | |
"body": "zip_GetAngleToPoint(${1:Float:fPointX}, ${2:Float:fPointY}, ${3:Float:fDestX}, ${4:Float:fDestY})$0" | |
}, | |
"zip_absoluteangle": { | |
"prefix": "zip_absoluteangle", | |
"body": "zip_absoluteangle(${1:Float:angle})$0" | |
}, | |
"IsValidZipline": { | |
"prefix": "IsValidZipline", | |
"body": "IsValidZipline(${1:ziplineid})$0" | |
}, | |
"GetZiplineStartAreaID": { | |
"prefix": "GetZiplineStartAreaID", | |
"body": "GetZiplineStartAreaID(${1:ziplineid})$0" | |
}, | |
"GetZiplineEndAreaID": { | |
"prefix": "GetZiplineEndAreaID", | |
"body": "GetZiplineEndAreaID(${1:ziplineid})$0" | |
}, | |
"GetZiplineLineID": { | |
"prefix": "GetZiplineLineID", | |
"body": "GetZiplineLineID(${1:ziplineid})$0" | |
}, | |
"GetZiplineStartPos": { | |
"prefix": "GetZiplineStartPos", | |
"body": "GetZiplineStartPos(${1:ziplineid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"SetZiplineStartPos": { | |
"prefix": "SetZiplineStartPos", | |
"body": "SetZiplineStartPos(${1:ziplineid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"GetZiplineEndPos": { | |
"prefix": "GetZiplineEndPos", | |
"body": "GetZiplineEndPos(${1:ziplineid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"SetZiplineEndPos": { | |
"prefix": "SetZiplineEndPos", | |
"body": "SetZiplineEndPos(${1:ziplineid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"GetZiplineVector": { | |
"prefix": "GetZiplineVector", | |
"body": "GetZiplineVector(${1:ziplineid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"GetZiplineWorld": { | |
"prefix": "GetZiplineWorld", | |
"body": "GetZiplineWorld(${1:ziplineid})$0" | |
}, | |
"SetZiplineWorld": { | |
"prefix": "SetZiplineWorld", | |
"body": "SetZiplineWorld(${1:ziplineid}, ${2:worldid})$0" | |
}, | |
"GetZiplineInterior": { | |
"prefix": "GetZiplineInterior", | |
"body": "GetZiplineInterior(${1:ziplineid})$0" | |
}, | |
"SetZiplineInterior": { | |
"prefix": "SetZiplineInterior", | |
"body": "SetZiplineInterior(${1:ziplineid}, ${2:interiorid})$0" | |
}, | |
"IsPlayerOnZipline": { | |
"prefix": "IsPlayerOnZipline", | |
"body": "IsPlayerOnZipline(${1:playerid})$0" | |
}, | |
"PlayYoutubeVideoFor": { | |
"prefix": "PlayYoutubeVideoFor", | |
"body": "PlayYoutubeVideoFor(${1:url[]}, ${2:playfor = INVALID_PLAYER_ID}, ${3:bool:usepos = false}, ${4:Float:distance = 50.0})$0" | |
}, | |
"StopYoutubeVideo": { | |
"prefix": "StopYoutubeVideo", | |
"body": "StopYoutubeVideo(${1:youtubeid})$0" | |
}, | |
"IsYouTubeVideoPlaying": { | |
"prefix": "IsYouTubeVideoPlaying", | |
"body": "IsYouTubeVideoPlaying(${1:youtubeid})$0" | |
}, | |
"GetVideoDuration": { | |
"prefix": "GetVideoDuration", | |
"body": "GetVideoDuration(${1:youtubeid})$0" | |
}, | |
"GetVideoTitle": { | |
"prefix": "GetVideoTitle", | |
"body": "GetVideoTitle(${1:youtubeid})$0" | |
}, | |
"GetVideoLink": { | |
"prefix": "GetVideoLink", | |
"body": "GetVideoLink(${1:youtubeid})$0" | |
}, | |
"GetVideoStreamLink": { | |
"prefix": "GetVideoStreamLink", | |
"body": "GetVideoStreamLink(${1:youtubeid})$0" | |
}, | |
"GetVideoTarget": { | |
"prefix": "GetVideoTarget", | |
"body": "GetVideoTarget(${1:youtubeid})$0" | |
}, | |
"OnYoutubeDownloadError": { | |
"prefix": "OnYoutubeDownloadError", | |
"body": "OnYoutubeDownloadError(${1:youtubeid}, ${2:message[]})$0" | |
}, | |
"OnYoutubeVideoFinished": { | |
"prefix": "OnYoutubeVideoFinished", | |
"body": "OnYoutubeVideoFinished(${1:youtubeid})$0" | |
}, | |
"IsValidYoutubeURL": { | |
"prefix": "IsValidYoutubeURL", | |
"body": "IsValidYoutubeURL(${1:string[]})$0" | |
}, | |
"CreateActor": { | |
"prefix": "CreateActor", | |
"body": "CreateActor(${1:modelid}, ${2:Float:X}, ${3:Float:Y}, ${4:Float:Z}, ${5:Float:Rotation})$0" | |
}, | |
"DestroyActor": { | |
"prefix": "DestroyActor", | |
"body": "DestroyActor(${1:actorid})$0" | |
}, | |
"IsActorStreamedIn": { | |
"prefix": "IsActorStreamedIn", | |
"body": "IsActorStreamedIn(${1:actorid}, ${2:forplayerid})$0" | |
}, | |
"SetActorVirtualWorld": { | |
"prefix": "SetActorVirtualWorld", | |
"body": "SetActorVirtualWorld(${1:actorid}, ${2:vworld})$0" | |
}, | |
"GetActorVirtualWorld": { | |
"prefix": "GetActorVirtualWorld", | |
"body": "GetActorVirtualWorld(${1:actorid})$0" | |
}, | |
"ApplyActorAnimation": { | |
"prefix": "ApplyActorAnimation", | |
"body": "ApplyActorAnimation(${1:actorid}, ${2:animlib[]}, ${3:animname[]}, ${4:Float:fDelta}, ${5:loop}, ${6:lockx}, ${7:locky}, ${8:freeze}, ${9:time})$0" | |
}, | |
"ClearActorAnimations": { | |
"prefix": "ClearActorAnimations", | |
"body": "ClearActorAnimations(${1:actorid})$0" | |
}, | |
"SetActorPos": { | |
"prefix": "SetActorPos", | |
"body": "SetActorPos(${1:actorid}, ${2:Float:X}, ${3:Float:Y}, ${4:Float:Z})$0" | |
}, | |
"GetActorPos": { | |
"prefix": "GetActorPos", | |
"body": "GetActorPos(${1:actorid}, ${2:Float:X}, ${3:Float:Y}, ${4:Float:Z})$0" | |
}, | |
"SetActorFacingAngle": { | |
"prefix": "SetActorFacingAngle", | |
"body": "SetActorFacingAngle(${1:actorid}, ${2:Float:ang})$0" | |
}, | |
"GetActorFacingAngle": { | |
"prefix": "GetActorFacingAngle", | |
"body": "GetActorFacingAngle(${1:actorid}, ${2:Float:ang})$0" | |
}, | |
"SetActorHealth": { | |
"prefix": "SetActorHealth", | |
"body": "SetActorHealth(${1:actorid}, ${2:Float:health})$0" | |
}, | |
"GetActorHealth": { | |
"prefix": "GetActorHealth", | |
"body": "GetActorHealth(${1:actorid}, ${2:Float:health})$0" | |
}, | |
"SetActorInvulnerable": { | |
"prefix": "SetActorInvulnerable", | |
"body": "SetActorInvulnerable(${1:actorid}, ${2:invulnerable = true})$0" | |
}, | |
"IsActorInvulnerable": { | |
"prefix": "IsActorInvulnerable", | |
"body": "IsActorInvulnerable(${1:actorid})$0" | |
}, | |
"IsValidActor": { | |
"prefix": "IsValidActor", | |
"body": "IsValidActor(${1:actorid})$0" | |
}, | |
"HTTP": { | |
"prefix": "HTTP", | |
"body": "HTTP(${1:index}, ${2:type}, ${3:url[]}, ${4:data[]}, ${5:callback[]})$0" | |
}, | |
"json_parse_file": { | |
"prefix": "json_parse_file", | |
"body": "json_parse_file(${1:const file_path[]})$0" | |
}, | |
"json_parse_string": { | |
"prefix": "json_parse_string", | |
"body": "json_parse_string(${1:const string[]})$0" | |
}, | |
"json_close": { | |
"prefix": "json_close", | |
"body": "json_close(${1:JSONNode:node})$0" | |
}, | |
"json_get_type": { | |
"prefix": "json_get_type", | |
"body": "json_get_type(${1:JSONNode:node}, ${2:const path[] = '\\0'}, ${3:const path_delim = JSON_DEFAULT_DELIMITER})$0" | |
}, | |
"json_get_node": { | |
"prefix": "json_get_node", | |
"body": "json_get_node(${1:JSONNode:node}, ${2:const path[]}, ${3:const path_delim = JSON_DEFAULT_DELIMITER})$0" | |
}, | |
"json_get_bool": { | |
"prefix": "json_get_bool", | |
"body": "json_get_bool(${1:JSONNode:node}, ${2:const path[] = '\\0'}, ${3:const path_delim = JSON_DEFAULT_DELIMITER})$0" | |
}, | |
"json_get_int": { | |
"prefix": "json_get_int", | |
"body": "json_get_int(${1:JSONNode:node}, ${2:const path[] = '\\0'}, ${3:const path_delim = JSON_DEFAULT_DELIMITER})$0" | |
}, | |
"json_get_float": { | |
"prefix": "json_get_float", | |
"body": "json_get_float(${1:JSONNode:node}, ${2:const path[] = '\\0'}, ${3:const path_delim = JSON_DEFAULT_DELIMITER})$0" | |
}, | |
"json_get_string": { | |
"prefix": "json_get_string", | |
"body": "json_get_string(${1:JSONNode:node}, ${2:dst[]}, ${3:const len = sizeof(dst})$0" | |
}, | |
"json_get_name": { | |
"prefix": "json_get_name", | |
"body": "json_get_name(${1:JSONNode:node}, ${2:dst[]}, ${3:const len = sizeof(dst})$0" | |
}, | |
"json_get_array": { | |
"prefix": "json_get_array", | |
"body": "json_get_array(${1:JSONNode:node}, ${2:const path[] = '\\0'}, ${3:const path_delim = JSON_DEFAULT_DELIMITER})$0" | |
}, | |
"json_array_count": { | |
"prefix": "json_array_count", | |
"body": "json_array_count(${1:JSONArray:array})$0" | |
}, | |
"json_array_at": { | |
"prefix": "json_array_at", | |
"body": "json_array_at(${1:JSONArray:array}, ${2:const index})$0" | |
}, | |
"orm_create": { | |
"prefix": "orm_create", | |
"body": "orm_create(${1:const table[]}, ${2:MySQL:handle = MYSQL_DEFAULT_HANDLE})$0" | |
}, | |
"orm_destroy": { | |
"prefix": "orm_destroy", | |
"body": "orm_destroy(${1:ORM:id})$0" | |
}, | |
"orm_errno": { | |
"prefix": "orm_errno", | |
"body": "orm_errno(${1:ORM:id})$0" | |
}, | |
"orm_apply_cache": { | |
"prefix": "orm_apply_cache", | |
"body": "orm_apply_cache(${1:ORM:id}, ${2:row_idx}, ${3:result_idx = 0})$0" | |
}, | |
"orm_select": { | |
"prefix": "orm_select", | |
"body": "orm_select(${1:ORM:id}, ${2:const callback[] = \"\"}, ${3:const format[] = \"\"}, ${4:{Float, _}:...})$0" | |
}, | |
"orm_update": { | |
"prefix": "orm_update", | |
"body": "orm_update(${1:ORM:id}, ${2:const callback[] = \"\"}, ${3:const format[] = \"\"}, ${4:{Float, _}:...})$0" | |
}, | |
"orm_insert": { | |
"prefix": "orm_insert", | |
"body": "orm_insert(${1:ORM:id}, ${2:const callback[] = \"\"}, ${3:const format[] = \"\"}, ${4:{Float, _}:...})$0" | |
}, | |
"orm_delete": { | |
"prefix": "orm_delete", | |
"body": "orm_delete(${1:ORM:id}, ${2:const callback[] = \"\"}, ${3:const format[] = \"\"}, ${4:{Float, _}:...})$0" | |
}, | |
"orm_load": { | |
"prefix": "orm_load", | |
"body": "orm_load(${1:ORM:id}, ${2:const callback[] = \"\"}, ${3:const format[] = \"\"}, ${4:{Float, _}:...})$0" | |
}, | |
"orm_save": { | |
"prefix": "orm_save", | |
"body": "orm_save(${1:ORM:id}, ${2:const callback[] = \"\"}, ${3:const format[] = \"\"}, ${4:{Float, _}:...})$0" | |
}, | |
"orm_addvar_int": { | |
"prefix": "orm_addvar_int", | |
"body": "orm_addvar_int(${1:ORM:id}, ${2:var}, ${3:const columnname[]})$0" | |
}, | |
"orm_addvar_float": { | |
"prefix": "orm_addvar_float", | |
"body": "orm_addvar_float(${1:ORM:id}, ${2:Float:var}, ${3:const columnname[]})$0" | |
}, | |
"orm_addvar_string": { | |
"prefix": "orm_addvar_string", | |
"body": "orm_addvar_string(${1:ORM:id}, ${2:var[]}, ${3:var_maxlen}, ${4:const columnname[]})$0" | |
}, | |
"orm_clear_vars": { | |
"prefix": "orm_clear_vars", | |
"body": "orm_clear_vars(${1:ORM:id})$0" | |
}, | |
"orm_delvar": { | |
"prefix": "orm_delvar", | |
"body": "orm_delvar(${1:ORM:id}, ${2:const columnname[]})$0" | |
}, | |
"orm_setkey": { | |
"prefix": "orm_setkey", | |
"body": "orm_setkey(${1:ORM:id}, ${2:const columnname[]})$0" | |
}, | |
"mysql_log": { | |
"prefix": "mysql_log", | |
"body": "mysql_log(${1:E_LOGLEVEL:loglevel = ERROR | WARNING})$0" | |
}, | |
"mysql_connect": { | |
"prefix": "mysql_connect", | |
"body": "mysql_connect(${1:const host[]}, ${2:const user[]}, ${3:const password[]}, ${4:const database[]}, ${5:MySQLOpt:option_id = MySQLOpt:0})$0" | |
}, | |
"mysql_connect_file": { | |
"prefix": "mysql_connect_file", | |
"body": "mysql_connect_file(${1:const file_name[] = \"mysql.ini\"})$0" | |
}, | |
"mysql_close": { | |
"prefix": "mysql_close", | |
"body": "mysql_close(${1:MySQL:handle = MYSQL_DEFAULT_HANDLE})$0" | |
}, | |
"mysql_unprocessed_queries": { | |
"prefix": "mysql_unprocessed_queries", | |
"body": "mysql_unprocessed_queries(${1:MySQL:handle = MYSQL_DEFAULT_HANDLE})$0" | |
}, | |
"mysql_global_options": { | |
"prefix": "mysql_global_options", | |
"body": "mysql_global_options(${1:E_MYSQL_GLOBAL_OPTION:type}, ${2:value})$0" | |
}, | |
"mysql_init_options": { | |
"prefix": "mysql_init_options", | |
"body": "mysql_init_options()$0" | |
}, | |
"mysql_set_option": { | |
"prefix": "mysql_set_option", | |
"body": "mysql_set_option(${1:MySQLOpt:option_id}, ${2:E_MYSQL_OPTION:type}, ${3:{Float, _}:...})$0" | |
}, | |
"mysql_pquery": { | |
"prefix": "mysql_pquery", | |
"body": "mysql_pquery(${1:MySQL:handle}, ${2:const query[]}, ${3:const callback[] = \"\"}, ${4:const format[] = \"\"}, ${5:{Float, _}:...})$0" | |
}, | |
"mysql_tquery": { | |
"prefix": "mysql_tquery", | |
"body": "mysql_tquery(${1:MySQL:handle}, ${2:const query[]}, ${3:const callback[] = \"\"}, ${4:const format[] = \"\"}, ${5:{Float, _}:...})$0" | |
}, | |
"mysql_query": { | |
"prefix": "mysql_query", | |
"body": "mysql_query(${1:MySQL:handle}, ${2:const query[]}, ${3:bool:use_cache = true})$0" | |
}, | |
"mysql_tquery_file": { | |
"prefix": "mysql_tquery_file", | |
"body": "mysql_tquery_file(${1:MySQL:handle}, ${2:const file_path[]}, ${3:const callback[] = \"\"}, ${4:const format[] = \"\"}, ${5:{Float, _}:...})$0" | |
}, | |
"mysql_query_file": { | |
"prefix": "mysql_query_file", | |
"body": "mysql_query_file(${1:MySQL:handle}, ${2:const file_path[]}, ${3:bool:use_cache = false})$0" | |
}, | |
"mysql_errno": { | |
"prefix": "mysql_errno", | |
"body": "mysql_errno(${1:MySQL:handle = MYSQL_DEFAULT_HANDLE})$0" | |
}, | |
"mysql_error": { | |
"prefix": "mysql_error", | |
"body": "mysql_error(${1:destination[]}, ${2:max_len = sizeof(destination})$0" | |
}, | |
"mysql_escape_string": { | |
"prefix": "mysql_escape_string", | |
"body": "mysql_escape_string(${1:const source[]}, ${2:destination[]}, ${3:max_len = sizeof(destination})$0" | |
}, | |
"mysql_format": { | |
"prefix": "mysql_format", | |
"body": "mysql_format(${1:MySQL:handle}, ${2:output[]}, ${3:max_len}, ${4:const format[]}, ${5:{Float, _}:...})$0" | |
}, | |
"mysql_set_charset": { | |
"prefix": "mysql_set_charset", | |
"body": "mysql_set_charset(${1:const charset[]}, ${2:MySQL:handle = MYSQL_DEFAULT_HANDLE})$0" | |
}, | |
"mysql_get_charset": { | |
"prefix": "mysql_get_charset", | |
"body": "mysql_get_charset(${1:destination[]}, ${2:max_len = sizeof(destination})$0" | |
}, | |
"mysql_stat": { | |
"prefix": "mysql_stat", | |
"body": "mysql_stat(${1:destination[]}, ${2:max_len = sizeof(destination})$0" | |
}, | |
"cache_num_rows": { | |
"prefix": "cache_num_rows", | |
"body": "cache_num_rows()$0" | |
}, | |
"cache_num_fields": { | |
"prefix": "cache_num_fields", | |
"body": "cache_num_fields()$0" | |
}, | |
"cache_num_results": { | |
"prefix": "cache_num_results", | |
"body": "cache_num_results()$0" | |
}, | |
"cache_get_row_count": { | |
"prefix": "cache_get_row_count", | |
"body": "cache_get_row_count(${1:destination})$0" | |
}, | |
"cache_get_field_count": { | |
"prefix": "cache_get_field_count", | |
"body": "cache_get_field_count(${1:destination})$0" | |
}, | |
"cache_get_result_count": { | |
"prefix": "cache_get_result_count", | |
"body": "cache_get_result_count(${1:destination})$0" | |
}, | |
"cache_get_field_name": { | |
"prefix": "cache_get_field_name", | |
"body": "cache_get_field_name(${1:field_index}, ${2:destination[]}, ${3:max_len = sizeof(destination})$0" | |
}, | |
"cache_get_field_type": { | |
"prefix": "cache_get_field_type", | |
"body": "cache_get_field_type(${1:field_index})$0" | |
}, | |
"cache_set_result": { | |
"prefix": "cache_set_result", | |
"body": "cache_set_result(${1:result_index})$0" | |
}, | |
"cache_get_value_index": { | |
"prefix": "cache_get_value_index", | |
"body": "cache_get_value_index(${1:row_idx}, ${2:column_idx}, ${3:destination[]}, ${4:max_len = sizeof(destination)})$0" | |
}, | |
"cache_get_value_index_int": { | |
"prefix": "cache_get_value_index_int", | |
"body": "cache_get_value_index_int(${1:row_idx}, ${2:column_idx}, ${3:destination})$0" | |
}, | |
"cache_get_value_index_bool": { | |
"prefix": "cache_get_value_index_bool", | |
"body": "cache_get_value_index_bool(${1:row_idx}, ${2:column_idx}, ${3:&bool:destination})$0" | |
}, | |
"cache_get_value_index_float": { | |
"prefix": "cache_get_value_index_float", | |
"body": "cache_get_value_index_float(${1:row_idx}, ${2:column_idx}, ${3:Float:destination})$0" | |
}, | |
"cache_is_value_index_null": { | |
"prefix": "cache_is_value_index_null", | |
"body": "cache_is_value_index_null(${1:row_idx}, ${2:column_idx}, ${3:bool:destination})$0" | |
}, | |
"cache_get_value_name": { | |
"prefix": "cache_get_value_name", | |
"body": "cache_get_value_name(${1:row_idx}, ${2:const column_name[]}, ${3:destination[]}, ${4:max_len = sizeof(destination})$0" | |
}, | |
"cache_get_value_name_int": { | |
"prefix": "cache_get_value_name_int", | |
"body": "cache_get_value_name_int(${1:row_idx}, ${2:const column_name[]}, ${3:destination})$0" | |
}, | |
"cache_get_value_name_bool": { | |
"prefix": "cache_get_value_name_bool", | |
"body": "cache_get_value_name_bool(${1:row_idx}, ${2:column_name[]}, ${3:&bool:destination})$0" | |
}, | |
"cache_get_value_name_float": { | |
"prefix": "cache_get_value_name_float", | |
"body": "cache_get_value_name_float(${1:row_idx}, ${2:const column_name[]}, ${3:Float:destination})$0" | |
}, | |
"cache_is_value_name_null": { | |
"prefix": "cache_is_value_name_null", | |
"body": "cache_is_value_name_null(${1:row_idx}, ${2:const column_name[]}, ${3:bool:destination})$0" | |
}, | |
"cache_save": { | |
"prefix": "cache_save", | |
"body": "cache_save()$0" | |
}, | |
"cache_delete": { | |
"prefix": "cache_delete", | |
"body": "cache_delete(${1:Cache:cache_id})$0" | |
}, | |
"cache_set_active": { | |
"prefix": "cache_set_active", | |
"body": "cache_set_active(${1:Cache:cache_id})$0" | |
}, | |
"cache_unset_active": { | |
"prefix": "cache_unset_active", | |
"body": "cache_unset_active()$0" | |
}, | |
"cache_is_any_active": { | |
"prefix": "cache_is_any_active", | |
"body": "cache_is_any_active()$0" | |
}, | |
"cache_is_valid": { | |
"prefix": "cache_is_valid", | |
"body": "cache_is_valid(${1:Cache:cache_id})$0" | |
}, | |
"cache_affected_rows": { | |
"prefix": "cache_affected_rows", | |
"body": "cache_affected_rows()$0" | |
}, | |
"cache_insert_id": { | |
"prefix": "cache_insert_id", | |
"body": "cache_insert_id()$0" | |
}, | |
"cache_warning_count": { | |
"prefix": "cache_warning_count", | |
"body": "cache_warning_count()$0" | |
}, | |
"cache_get_query_exec_time": { | |
"prefix": "cache_get_query_exec_time", | |
"body": "cache_get_query_exec_time(${1:E_MYSQL_EXECTIME_UNIT:unit = MICROSECONDS})$0" | |
}, | |
"cache_get_query_string": { | |
"prefix": "cache_get_query_string", | |
"body": "cache_get_query_string(${1:destination[]}, ${2:max_len = sizeof(destination})$0" | |
}, | |
"OnQueryError": { | |
"prefix": "OnQueryError", | |
"body": "OnQueryError(${1:errorid}, ${2:const error[]}, ${3:const callback[]}, ${4:const query[]}, ${5:MySQL:handle})$0" | |
}, | |
"StartRecordingPlayback": { | |
"prefix": "StartRecordingPlayback", | |
"body": "StartRecordingPlayback(${1:playbacktype}, ${2:recordname[]})$0" | |
}, | |
"StopRecordingPlayback": { | |
"prefix": "StopRecordingPlayback", | |
"body": "StopRecordingPlayback()$0" | |
}, | |
"PauseRecordingPlayback": { | |
"prefix": "PauseRecordingPlayback", | |
"body": "PauseRecordingPlayback()$0" | |
}, | |
"ResumeRecordingPlayback": { | |
"prefix": "ResumeRecordingPlayback", | |
"body": "ResumeRecordingPlayback()$0" | |
}, | |
"OnNPCModeInit": { | |
"prefix": "OnNPCModeInit", | |
"body": "OnNPCModeInit()$0" | |
}, | |
"OnNPCModeExit": { | |
"prefix": "OnNPCModeExit", | |
"body": "OnNPCModeExit()$0" | |
}, | |
"OnNPCConnect": { | |
"prefix": "OnNPCConnect", | |
"body": "OnNPCConnect(${1:myplayerid})$0" | |
}, | |
"OnNPCDisconnect": { | |
"prefix": "OnNPCDisconnect", | |
"body": "OnNPCDisconnect(${1:reason[]})$0" | |
}, | |
"OnNPCSpawn": { | |
"prefix": "OnNPCSpawn", | |
"body": "OnNPCSpawn()$0" | |
}, | |
"OnNPCEnterVehicle": { | |
"prefix": "OnNPCEnterVehicle", | |
"body": "OnNPCEnterVehicle(${1:vehicleid}, ${2:seatid})$0" | |
}, | |
"OnNPCExitVehicle": { | |
"prefix": "OnNPCExitVehicle", | |
"body": "OnNPCExitVehicle()$0" | |
}, | |
"OnClientMessage": { | |
"prefix": "OnClientMessage", | |
"body": "OnClientMessage(${1:color}, ${2:text[]})$0" | |
}, | |
"OnPlayerText": { | |
"prefix": "OnPlayerText", | |
"body": "OnPlayerText(${1:playerid}, ${2:text[]})$0" | |
}, | |
"OnPlayerStreamIn": { | |
"prefix": "OnPlayerStreamIn", | |
"body": "OnPlayerStreamIn(${1:playerid})$0" | |
}, | |
"OnPlayerStreamOut": { | |
"prefix": "OnPlayerStreamOut", | |
"body": "OnPlayerStreamOut(${1:playerid})$0" | |
}, | |
"OnVehicleStreamIn": { | |
"prefix": "OnVehicleStreamIn", | |
"body": "OnVehicleStreamIn(${1:vehicleid})$0" | |
}, | |
"OnVehicleStreamOut": { | |
"prefix": "OnVehicleStreamOut", | |
"body": "OnVehicleStreamOut(${1:vehicleid})$0" | |
}, | |
"OnRecordingPlaybackEnd": { | |
"prefix": "OnRecordingPlaybackEnd", | |
"body": "OnRecordingPlaybackEnd()$0" | |
}, | |
"CreateObject": { | |
"prefix": "CreateObject", | |
"body": "CreateObject(${1:modelid}, ${2:Float:X}, ${3:Float:Y}, ${4:Float:Z}, ${5:Float:rX}, ${6:Float:rY}, ${7:Float:rZ}, ${8:Float:DrawDistance = 0.0})$0" | |
}, | |
"AttachObjectToVehicle": { | |
"prefix": "AttachObjectToVehicle", | |
"body": "AttachObjectToVehicle(${1:objectid}, ${2:vehicleid}, ${3:Float:OffsetX}, ${4:Float:OffsetY}, ${5:Float:OffsetZ}, ${6:Float:RotX}, ${7:Float:RotY}, ${8:Float:RotZ})$0" | |
}, | |
"AttachObjectToObject": { | |
"prefix": "AttachObjectToObject", | |
"body": "AttachObjectToObject(${1:objectid}, ${2:attachtoid}, ${3:Float:OffsetX}, ${4:Float:OffsetY}, ${5:Float:OffsetZ}, ${6:Float:RotX}, ${7:Float:RotY}, ${8:Float:RotZ}, ${9:SyncRotation = 1})$0" | |
}, | |
"AttachObjectToPlayer": { | |
"prefix": "AttachObjectToPlayer", | |
"body": "AttachObjectToPlayer(${1:objectid}, ${2:playerid}, ${3:Float:OffsetX}, ${4:Float:OffsetY}, ${5:Float:OffsetZ}, ${6:Float:RotX}, ${7:Float:RotY}, ${8:Float:RotZ})$0" | |
}, | |
"SetObjectPos": { | |
"prefix": "SetObjectPos", | |
"body": "SetObjectPos(${1:objectid}, ${2:Float:X}, ${3:Float:Y}, ${4:Float:Z})$0" | |
}, | |
"GetObjectPos": { | |
"prefix": "GetObjectPos", | |
"body": "GetObjectPos(${1:objectid}, ${2:Float:X}, ${3:Float:Y}, ${4:Float:Z})$0" | |
}, | |
"SetObjectRot": { | |
"prefix": "SetObjectRot", | |
"body": "SetObjectRot(${1:objectid}, ${2:Float:RotX}, ${3:Float:RotY}, ${4:Float:RotZ})$0" | |
}, | |
"GetObjectRot": { | |
"prefix": "GetObjectRot", | |
"body": "GetObjectRot(${1:objectid}, ${2:Float:RotX}, ${3:Float:RotY}, ${4:Float:RotZ})$0" | |
}, | |
"GetObjectModel": { | |
"prefix": "GetObjectModel", | |
"body": "GetObjectModel(${1:objectid})$0" | |
}, | |
"SetObjectNoCameraCol": { | |
"prefix": "SetObjectNoCameraCol", | |
"body": "SetObjectNoCameraCol(${1:objectid})$0" | |
}, | |
"IsValidObject": { | |
"prefix": "IsValidObject", | |
"body": "IsValidObject(${1:objectid})$0" | |
}, | |
"DestroyObject": { | |
"prefix": "DestroyObject", | |
"body": "DestroyObject(${1:objectid})$0" | |
}, | |
"MoveObject": { | |
"prefix": "MoveObject", | |
"body": "MoveObject(${1:objectid}, ${2:Float:X}, ${3:Float:Y}, ${4:Float:Z}, ${5:Float:Speed}, ${6:Float:RotX = -1000.0}, ${7:Float:RotY = -1000.0}, ${8:Float:RotZ = -1000.0})$0" | |
}, | |
"StopObject": { | |
"prefix": "StopObject", | |
"body": "StopObject(${1:objectid})$0" | |
}, | |
"IsObjectMoving": { | |
"prefix": "IsObjectMoving", | |
"body": "IsObjectMoving(${1:objectid})$0" | |
}, | |
"EditObject": { | |
"prefix": "EditObject", | |
"body": "EditObject(${1:playerid}, ${2:objectid})$0" | |
}, | |
"EditPlayerObject": { | |
"prefix": "EditPlayerObject", | |
"body": "EditPlayerObject(${1:playerid}, ${2:objectid})$0" | |
}, | |
"SelectObject": { | |
"prefix": "SelectObject", | |
"body": "SelectObject(${1:playerid})$0" | |
}, | |
"CancelEdit": { | |
"prefix": "CancelEdit", | |
"body": "CancelEdit(${1:playerid})$0" | |
}, | |
"CreatePlayerObject": { | |
"prefix": "CreatePlayerObject", | |
"body": "CreatePlayerObject(${1:playerid}, ${2:modelid}, ${3:Float:X}, ${4:Float:Y}, ${5:Float:Z}, ${6:Float:rX}, ${7:Float:rY}, ${8:Float:rZ}, ${9:Float:DrawDistance = 0.0})$0" | |
}, | |
"AttachPlayerObjectToVehicle": { | |
"prefix": "AttachPlayerObjectToVehicle", | |
"body": "AttachPlayerObjectToVehicle(${1:playerid}, ${2:objectid}, ${3:vehicleid}, ${4:Float:fOffsetX}, ${5:Float:fOffsetY}, ${6:Float:fOffsetZ}, ${7:Float:fRotX}, ${8:Float:fRotY}, ${9:Float:RotZ})$0" | |
}, | |
"SetPlayerObjectPos": { | |
"prefix": "SetPlayerObjectPos", | |
"body": "SetPlayerObjectPos(${1:playerid}, ${2:objectid}, ${3:Float:X}, ${4:Float:Y}, ${5:Float:Z})$0" | |
}, | |
"GetPlayerObjectPos": { | |
"prefix": "GetPlayerObjectPos", | |
"body": "GetPlayerObjectPos(${1:playerid}, ${2:objectid}, ${3:Float:X}, ${4:Float:Y}, ${5:Float:Z})$0" | |
}, | |
"SetPlayerObjectRot": { | |
"prefix": "SetPlayerObjectRot", | |
"body": "SetPlayerObjectRot(${1:playerid}, ${2:objectid}, ${3:Float:RotX}, ${4:Float:RotY}, ${5:Float:RotZ})$0" | |
}, | |
"GetPlayerObjectRot": { | |
"prefix": "GetPlayerObjectRot", | |
"body": "GetPlayerObjectRot(${1:playerid}, ${2:objectid}, ${3:Float:RotX}, ${4:Float:RotY}, ${5:Float:RotZ})$0" | |
}, | |
"GetPlayerObjectModel": { | |
"prefix": "GetPlayerObjectModel", | |
"body": "GetPlayerObjectModel(${1:playerid}, ${2:objectid})$0" | |
}, | |
"SetPlayerObjectNoCameraCol": { | |
"prefix": "SetPlayerObjectNoCameraCol", | |
"body": "SetPlayerObjectNoCameraCol(${1:playerid}, ${2:objectid})$0" | |
}, | |
"IsValidPlayerObject": { | |
"prefix": "IsValidPlayerObject", | |
"body": "IsValidPlayerObject(${1:playerid}, ${2:objectid})$0" | |
}, | |
"DestroyPlayerObject": { | |
"prefix": "DestroyPlayerObject", | |
"body": "DestroyPlayerObject(${1:playerid}, ${2:objectid})$0" | |
}, | |
"MovePlayerObject": { | |
"prefix": "MovePlayerObject", | |
"body": "MovePlayerObject(${1:playerid}, ${2:objectid}, ${3:Float:X}, ${4:Float:Y}, ${5:Float:Z}, ${6:Float:Speed}, ${7:Float:RotX = -1000.0}, ${8:Float:RotY = -1000.0}, ${9:Float:RotZ = -1000.0})$0" | |
}, | |
"StopPlayerObject": { | |
"prefix": "StopPlayerObject", | |
"body": "StopPlayerObject(${1:playerid}, ${2:objectid})$0" | |
}, | |
"IsPlayerObjectMoving": { | |
"prefix": "IsPlayerObjectMoving", | |
"body": "IsPlayerObjectMoving(${1:playerid}, ${2:objectid})$0" | |
}, | |
"AttachPlayerObjectToPlayer": { | |
"prefix": "AttachPlayerObjectToPlayer", | |
"body": "AttachPlayerObjectToPlayer(${1:objectplayer}, ${2:objectid}, ${3:attachplayer}, ${4:Float:OffsetX}, ${5:Float:OffsetY}, ${6:Float:OffsetZ}, ${7:Float:rX}, ${8:Float:rY}, ${9:Float:rZ})$0" | |
}, | |
"SetObjectMaterial": { | |
"prefix": "SetObjectMaterial", | |
"body": "SetObjectMaterial(${1:objectid}, ${2:materialindex}, ${3:modelid}, ${4:txdname[]}, ${5:texturename[]}, ${6:materialcolor=0})$0" | |
}, | |
"SetPlayerObjectMaterial": { | |
"prefix": "SetPlayerObjectMaterial", | |
"body": "SetPlayerObjectMaterial(${1:playerid}, ${2:objectid}, ${3:materialindex}, ${4:modelid}, ${5:txdname[]}, ${6:texturename[]}, ${7:materialcolor=0})$0" | |
}, | |
"SetObjectMaterialText": { | |
"prefix": "SetObjectMaterialText", | |
"body": "SetObjectMaterialText(${1:objectid}, ${2:text[]}, ${3:materialindex = 0}, ${4:materialsize = OBJECT_MATERIAL_SIZE_256x128}, ${5:fontface[] = \"Arial\"}, ${6:fontsize = 24}, ${7:bold = 1}, ${8:fontcolor = 0xFFFFFFFF}, ${9:backcolor = 0}, ${10:textalignment = 0})$0" | |
}, | |
"SetPlayerObjectMaterialText": { | |
"prefix": "SetPlayerObjectMaterialText", | |
"body": "SetPlayerObjectMaterialText(${1:playerid}, ${2:objectid}, ${3:text[]}, ${4:materialindex = 0}, ${5:materialsize = OBJECT_MATERIAL_SIZE_256x128}, ${6:fontface[] = \"Arial\"}, ${7:fontsize = 24}, ${8:bold = 1}, ${9:fontcolor = 0xFFFFFFFF}, ${10:backcolor = 0}, ${11:textalignment = 0})$0" | |
}, | |
"SetObjectsDefaultCameraCol": { | |
"prefix": "SetObjectsDefaultCameraCol", | |
"body": "SetObjectsDefaultCameraCol(${1:disable})$0" | |
}, | |
"SetSpawnInfo": { | |
"prefix": "SetSpawnInfo", | |
"body": "SetSpawnInfo(${1:playerid}, ${2:team}, ${3:skin}, ${4:Float:x}, ${5:Float:y}, ${6:Float:z}, ${7:Float:rotation}, ${8:weapon1}, ${9:weapon1_ammo}, ${10:weapon2}, ${11:weapon2_ammo}, ${12:weapon3}, ${13:weapon3_ammo})$0" | |
}, | |
"SpawnPlayer": { | |
"prefix": "SpawnPlayer", | |
"body": "SpawnPlayer(${1:playerid})$0" | |
}, | |
"SetPlayerPos": { | |
"prefix": "SetPlayerPos", | |
"body": "SetPlayerPos(${1:playerid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"SetPlayerPosFindZ": { | |
"prefix": "SetPlayerPosFindZ", | |
"body": "SetPlayerPosFindZ(${1:playerid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"GetPlayerPos": { | |
"prefix": "GetPlayerPos", | |
"body": "GetPlayerPos(${1:playerid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"SetPlayerFacingAngle": { | |
"prefix": "SetPlayerFacingAngle", | |
"body": "SetPlayerFacingAngle(${1:playerid}, ${2:Float:ang})$0" | |
}, | |
"GetPlayerFacingAngle": { | |
"prefix": "GetPlayerFacingAngle", | |
"body": "GetPlayerFacingAngle(${1:playerid}, ${2:Float:ang})$0" | |
}, | |
"IsPlayerInRangeOfPoint": { | |
"prefix": "IsPlayerInRangeOfPoint", | |
"body": "IsPlayerInRangeOfPoint(${1:playerid}, ${2:Float:range}, ${3:Float:x}, ${4:Float:y}, ${5:Float:z})$0" | |
}, | |
"GetPlayerDistanceFromPoint": { | |
"prefix": "GetPlayerDistanceFromPoint", | |
"body": "GetPlayerDistanceFromPoint(${1:playerid}, ${2:Float:X}, ${3:Float:Y}, ${4:Float:Z})$0" | |
}, | |
"IsPlayerStreamedIn": { | |
"prefix": "IsPlayerStreamedIn", | |
"body": "IsPlayerStreamedIn(${1:playerid}, ${2:forplayerid})$0" | |
}, | |
"SetPlayerInterior": { | |
"prefix": "SetPlayerInterior", | |
"body": "SetPlayerInterior(${1:playerid}, ${2:interiorid})$0" | |
}, | |
"GetPlayerInterior": { | |
"prefix": "GetPlayerInterior", | |
"body": "GetPlayerInterior(${1:playerid})$0" | |
}, | |
"SetPlayerHealth": { | |
"prefix": "SetPlayerHealth", | |
"body": "SetPlayerHealth(${1:playerid}, ${2:Float:health})$0" | |
}, | |
"GetPlayerHealth": { | |
"prefix": "GetPlayerHealth", | |
"body": "GetPlayerHealth(${1:playerid}, ${2:Float:health})$0" | |
}, | |
"SetPlayerArmour": { | |
"prefix": "SetPlayerArmour", | |
"body": "SetPlayerArmour(${1:playerid}, ${2:Float:armour})$0" | |
}, | |
"GetPlayerArmour": { | |
"prefix": "GetPlayerArmour", | |
"body": "GetPlayerArmour(${1:playerid}, ${2:Float:armour})$0" | |
}, | |
"SetPlayerAmmo": { | |
"prefix": "SetPlayerAmmo", | |
"body": "SetPlayerAmmo(${1:playerid}, ${2:weaponslot}, ${3:ammo})$0" | |
}, | |
"GetPlayerAmmo": { | |
"prefix": "GetPlayerAmmo", | |
"body": "GetPlayerAmmo(${1:playerid})$0" | |
}, | |
"GetPlayerWeaponState": { | |
"prefix": "GetPlayerWeaponState", | |
"body": "GetPlayerWeaponState(${1:playerid})$0" | |
}, | |
"GetPlayerTargetPlayer": { | |
"prefix": "GetPlayerTargetPlayer", | |
"body": "GetPlayerTargetPlayer(${1:playerid})$0" | |
}, | |
"GetPlayerTargetActor": { | |
"prefix": "GetPlayerTargetActor", | |
"body": "GetPlayerTargetActor(${1:playerid})$0" | |
}, | |
"SetPlayerTeam": { | |
"prefix": "SetPlayerTeam", | |
"body": "SetPlayerTeam(${1:playerid}, ${2:teamid})$0" | |
}, | |
"GetPlayerTeam": { | |
"prefix": "GetPlayerTeam", | |
"body": "GetPlayerTeam(${1:playerid})$0" | |
}, | |
"SetPlayerScore": { | |
"prefix": "SetPlayerScore", | |
"body": "SetPlayerScore(${1:playerid}, ${2:score})$0" | |
}, | |
"GetPlayerScore": { | |
"prefix": "GetPlayerScore", | |
"body": "GetPlayerScore(${1:playerid})$0" | |
}, | |
"GetPlayerDrunkLevel": { | |
"prefix": "GetPlayerDrunkLevel", | |
"body": "GetPlayerDrunkLevel(${1:playerid})$0" | |
}, | |
"SetPlayerDrunkLevel": { | |
"prefix": "SetPlayerDrunkLevel", | |
"body": "SetPlayerDrunkLevel(${1:playerid}, ${2:level})$0" | |
}, | |
"SetPlayerColor": { | |
"prefix": "SetPlayerColor", | |
"body": "SetPlayerColor(${1:playerid}, ${2:color})$0" | |
}, | |
"GetPlayerColor": { | |
"prefix": "GetPlayerColor", | |
"body": "GetPlayerColor(${1:playerid})$0" | |
}, | |
"SetPlayerSkin": { | |
"prefix": "SetPlayerSkin", | |
"body": "SetPlayerSkin(${1:playerid}, ${2:skinid})$0" | |
}, | |
"GetPlayerSkin": { | |
"prefix": "GetPlayerSkin", | |
"body": "GetPlayerSkin(${1:playerid})$0" | |
}, | |
"GivePlayerWeapon": { | |
"prefix": "GivePlayerWeapon", | |
"body": "GivePlayerWeapon(${1:playerid}, ${2:weaponid}, ${3:ammo})$0" | |
}, | |
"ResetPlayerWeapons": { | |
"prefix": "ResetPlayerWeapons", | |
"body": "ResetPlayerWeapons(${1:playerid})$0" | |
}, | |
"SetPlayerArmedWeapon": { | |
"prefix": "SetPlayerArmedWeapon", | |
"body": "SetPlayerArmedWeapon(${1:playerid}, ${2:weaponid})$0" | |
}, | |
"GetPlayerWeaponData": { | |
"prefix": "GetPlayerWeaponData", | |
"body": "GetPlayerWeaponData(${1:playerid}, ${2:slot}, ${3:weapons}, ${4:ammo})$0" | |
}, | |
"GivePlayerMoney": { | |
"prefix": "GivePlayerMoney", | |
"body": "GivePlayerMoney(${1:playerid}, ${2:money})$0" | |
}, | |
"ResetPlayerMoney": { | |
"prefix": "ResetPlayerMoney", | |
"body": "ResetPlayerMoney(${1:playerid})$0" | |
}, | |
"SetPlayerName": { | |
"prefix": "SetPlayerName", | |
"body": "SetPlayerName(${1:playerid}, ${2:const name[]})$0" | |
}, | |
"GetPlayerMoney": { | |
"prefix": "GetPlayerMoney", | |
"body": "GetPlayerMoney(${1:playerid})$0" | |
}, | |
"GetPlayerState": { | |
"prefix": "GetPlayerState", | |
"body": "GetPlayerState(${1:playerid})$0" | |
}, | |
"GetPlayerIp": { | |
"prefix": "GetPlayerIp", | |
"body": "GetPlayerIp(${1:playerid}, ${2:name[]}, ${3:len})$0" | |
}, | |
"GetPlayerPing": { | |
"prefix": "GetPlayerPing", | |
"body": "GetPlayerPing(${1:playerid})$0" | |
}, | |
"GetPlayerWeapon": { | |
"prefix": "GetPlayerWeapon", | |
"body": "GetPlayerWeapon(${1:playerid})$0" | |
}, | |
"GetPlayerKeys": { | |
"prefix": "GetPlayerKeys", | |
"body": "GetPlayerKeys(${1:playerid}, ${2:keys}, ${3:updown}, ${4:leftright})$0" | |
}, | |
"GetPlayerName": { | |
"prefix": "GetPlayerName", | |
"body": "GetPlayerName(${1:playerid}, ${2:const name[]}, ${3:len})$0" | |
}, | |
"SetPlayerTime": { | |
"prefix": "SetPlayerTime", | |
"body": "SetPlayerTime(${1:playerid}, ${2:hour}, ${3:minute})$0" | |
}, | |
"GetPlayerTime": { | |
"prefix": "GetPlayerTime", | |
"body": "GetPlayerTime(${1:playerid}, ${2:hour}, ${3:minute})$0" | |
}, | |
"TogglePlayerClock": { | |
"prefix": "TogglePlayerClock", | |
"body": "TogglePlayerClock(${1:playerid}, ${2:toggle})$0" | |
}, | |
"SetPlayerWeather": { | |
"prefix": "SetPlayerWeather", | |
"body": "SetPlayerWeather(${1:playerid}, ${2:weather})$0" | |
}, | |
"ForceClassSelection": { | |
"prefix": "ForceClassSelection", | |
"body": "ForceClassSelection(${1:playerid})$0" | |
}, | |
"SetPlayerWantedLevel": { | |
"prefix": "SetPlayerWantedLevel", | |
"body": "SetPlayerWantedLevel(${1:playerid}, ${2:level})$0" | |
}, | |
"GetPlayerWantedLevel": { | |
"prefix": "GetPlayerWantedLevel", | |
"body": "GetPlayerWantedLevel(${1:playerid})$0" | |
}, | |
"SetPlayerFightingStyle": { | |
"prefix": "SetPlayerFightingStyle", | |
"body": "SetPlayerFightingStyle(${1:playerid}, ${2:style})$0" | |
}, | |
"GetPlayerFightingStyle": { | |
"prefix": "GetPlayerFightingStyle", | |
"body": "GetPlayerFightingStyle(${1:playerid})$0" | |
}, | |
"SetPlayerVelocity": { | |
"prefix": "SetPlayerVelocity", | |
"body": "SetPlayerVelocity(${1:playerid}, ${2:Float:X}, ${3:Float:Y}, ${4:Float:Z})$0" | |
}, | |
"GetPlayerVelocity": { | |
"prefix": "GetPlayerVelocity", | |
"body": "GetPlayerVelocity(${1:playerid}, ${2:Float:X}, ${3:Float:Y}, ${4:Float:Z })$0" | |
}, | |
"PlayCrimeReportForPlayer": { | |
"prefix": "PlayCrimeReportForPlayer", | |
"body": "PlayCrimeReportForPlayer(${1:playerid}, ${2:suspectid}, ${3:crime})$0" | |
}, | |
"PlayAudioStreamForPlayer": { | |
"prefix": "PlayAudioStreamForPlayer", | |
"body": "PlayAudioStreamForPlayer(${1:playerid}, ${2:url[]}, ${3:Float:posX = 0.0}, ${4:Float:posY = 0.0}, ${5:Float:posZ = 0.0}, ${6:Float:distance = 50.0}, ${7:usepos = 0})$0" | |
}, | |
"StopAudioStreamForPlayer": { | |
"prefix": "StopAudioStreamForPlayer", | |
"body": "StopAudioStreamForPlayer(${1:playerid})$0" | |
}, | |
"SetPlayerShopName": { | |
"prefix": "SetPlayerShopName", | |
"body": "SetPlayerShopName(${1:playerid}, ${2:shopname[]})$0" | |
}, | |
"SetPlayerSkillLevel": { | |
"prefix": "SetPlayerSkillLevel", | |
"body": "SetPlayerSkillLevel(${1:playerid}, ${2:skill}, ${3:level})$0" | |
}, | |
"GetPlayerSurfingVehicleID": { | |
"prefix": "GetPlayerSurfingVehicleID", | |
"body": "GetPlayerSurfingVehicleID(${1:playerid})$0" | |
}, | |
"GetPlayerSurfingObjectID": { | |
"prefix": "GetPlayerSurfingObjectID", | |
"body": "GetPlayerSurfingObjectID(${1:playerid})$0" | |
}, | |
"RemoveBuildingForPlayer": { | |
"prefix": "RemoveBuildingForPlayer", | |
"body": "RemoveBuildingForPlayer(${1:playerid}, ${2:modelid}, ${3:Float:fX}, ${4:Float:fY}, ${5:Float:fZ}, ${6:Float:fRadius})$0" | |
}, | |
"GetPlayerLastShotVectors": { | |
"prefix": "GetPlayerLastShotVectors", | |
"body": "GetPlayerLastShotVectors(${1:playerid}, ${2:Float:fOriginX}, ${3:Float:fOriginY}, ${4:Float:fOriginZ}, ${5:Float:fHitPosX}, ${6:Float:fHitPosY}, ${7:Float:fHitPosZ})$0" | |
}, | |
"SetPlayerAttachedObject": { | |
"prefix": "SetPlayerAttachedObject", | |
"body": "SetPlayerAttachedObject(${1:playerid}, ${2:index}, ${3:modelid}, ${4:bone}, ${5:Float:fOffsetX = 0.0}, ${6:Float:fOffsetY = 0.0}, ${7:Float:fOffsetZ = 0.0}, ${8:Float:fRotX = 0.0}, ${9:Float:fRotY = 0.0}, ${10:Float:fRotZ = 0.0}, ${11:Float:fScaleX = 1.0}, ${12:Float:fScaleY = 1.0}, ${13:Float:fScaleZ = 1.0}, ${14:materialcolor1 = 0}, ${15:materialcolor2 = 0})$0" | |
}, | |
"RemovePlayerAttachedObject": { | |
"prefix": "RemovePlayerAttachedObject", | |
"body": "RemovePlayerAttachedObject(${1:playerid}, ${2:index})$0" | |
}, | |
"IsPlayerAttachedObjectSlotUsed": { | |
"prefix": "IsPlayerAttachedObjectSlotUsed", | |
"body": "IsPlayerAttachedObjectSlotUsed(${1:playerid}, ${2:index})$0" | |
}, | |
"EditAttachedObject": { | |
"prefix": "EditAttachedObject", | |
"body": "EditAttachedObject(${1:playerid}, ${2:index})$0" | |
}, | |
"CreatePlayerTextDraw": { | |
"prefix": "CreatePlayerTextDraw", | |
"body": "CreatePlayerTextDraw(${1:playerid}, ${2:Float:x}, ${3:Float:y}, ${4:text[]})$0" | |
}, | |
"PlayerTextDrawDestroy": { | |
"prefix": "PlayerTextDrawDestroy", | |
"body": "PlayerTextDrawDestroy(${1:playerid}, ${2:PlayerText:text})$0" | |
}, | |
"PlayerTextDrawLetterSize": { | |
"prefix": "PlayerTextDrawLetterSize", | |
"body": "PlayerTextDrawLetterSize(${1:playerid}, ${2:PlayerText:text}, ${3:Float:x}, ${4:Float:y})$0" | |
}, | |
"PlayerTextDrawTextSize": { | |
"prefix": "PlayerTextDrawTextSize", | |
"body": "PlayerTextDrawTextSize(${1:playerid}, ${2:PlayerText:text}, ${3:Float:x}, ${4:Float:y})$0" | |
}, | |
"PlayerTextDrawAlignment": { | |
"prefix": "PlayerTextDrawAlignment", | |
"body": "PlayerTextDrawAlignment(${1:playerid}, ${2:PlayerText:text}, ${3:alignment})$0" | |
}, | |
"PlayerTextDrawColor": { | |
"prefix": "PlayerTextDrawColor", | |
"body": "PlayerTextDrawColor(${1:playerid}, ${2:PlayerText:text}, ${3:color})$0" | |
}, | |
"PlayerTextDrawUseBox": { | |
"prefix": "PlayerTextDrawUseBox", | |
"body": "PlayerTextDrawUseBox(${1:playerid}, ${2:PlayerText:text}, ${3:use})$0" | |
}, | |
"PlayerTextDrawBoxColor": { | |
"prefix": "PlayerTextDrawBoxColor", | |
"body": "PlayerTextDrawBoxColor(${1:playerid}, ${2:PlayerText:text}, ${3:color})$0" | |
}, | |
"PlayerTextDrawSetShadow": { | |
"prefix": "PlayerTextDrawSetShadow", | |
"body": "PlayerTextDrawSetShadow(${1:playerid}, ${2:PlayerText:text}, ${3:size})$0" | |
}, | |
"PlayerTextDrawSetOutline": { | |
"prefix": "PlayerTextDrawSetOutline", | |
"body": "PlayerTextDrawSetOutline(${1:playerid}, ${2:PlayerText:text}, ${3:size})$0" | |
}, | |
"PlayerTextDrawBackgroundColor": { | |
"prefix": "PlayerTextDrawBackgroundColor", | |
"body": "PlayerTextDrawBackgroundColor(${1:playerid}, ${2:PlayerText:text}, ${3:color})$0" | |
}, | |
"PlayerTextDrawFont": { | |
"prefix": "PlayerTextDrawFont", | |
"body": "PlayerTextDrawFont(${1:playerid}, ${2:PlayerText:text}, ${3:font})$0" | |
}, | |
"PlayerTextDrawSetProportional": { | |
"prefix": "PlayerTextDrawSetProportional", | |
"body": "PlayerTextDrawSetProportional(${1:playerid}, ${2:PlayerText:text}, ${3:set})$0" | |
}, | |
"PlayerTextDrawSetSelectable": { | |
"prefix": "PlayerTextDrawSetSelectable", | |
"body": "PlayerTextDrawSetSelectable(${1:playerid}, ${2:PlayerText:text}, ${3:set})$0" | |
}, | |
"PlayerTextDrawShow": { | |
"prefix": "PlayerTextDrawShow", | |
"body": "PlayerTextDrawShow(${1:playerid}, ${2:PlayerText:text})$0" | |
}, | |
"PlayerTextDrawHide": { | |
"prefix": "PlayerTextDrawHide", | |
"body": "PlayerTextDrawHide(${1:playerid}, ${2:PlayerText:text})$0" | |
}, | |
"PlayerTextDrawSetString": { | |
"prefix": "PlayerTextDrawSetString", | |
"body": "PlayerTextDrawSetString(${1:playerid}, ${2:PlayerText:text}, ${3:string[]})$0" | |
}, | |
"PlayerTextDrawSetPreviewModel": { | |
"prefix": "PlayerTextDrawSetPreviewModel", | |
"body": "PlayerTextDrawSetPreviewModel(${1:playerid}, ${2:PlayerText:text}, ${3:modelindex})$0" | |
}, | |
"PlayerTextDrawSetPreviewRot": { | |
"prefix": "PlayerTextDrawSetPreviewRot", | |
"body": "PlayerTextDrawSetPreviewRot(${1:playerid}, ${2:PlayerText:text}, ${3:Float:fRotX}, ${4:Float:fRotY}, ${5:Float:fRotZ}, ${6:Float:fZoom = 1.0})$0" | |
}, | |
"PlayerTextDrawSetPreviewVehCol": { | |
"prefix": "PlayerTextDrawSetPreviewVehCol", | |
"body": "PlayerTextDrawSetPreviewVehCol(${1:playerid}, ${2:PlayerText:text}, ${3:color1}, ${4:color2})$0" | |
}, | |
"SetPVarInt": { | |
"prefix": "SetPVarInt", | |
"body": "SetPVarInt(${1:playerid}, ${2:varname[]}, ${3:int_value})$0" | |
}, | |
"GetPVarInt": { | |
"prefix": "GetPVarInt", | |
"body": "GetPVarInt(${1:playerid}, ${2:varname[]})$0" | |
}, | |
"SetPVarString": { | |
"prefix": "SetPVarString", | |
"body": "SetPVarString(${1:playerid}, ${2:varname[]}, ${3:string_value[]})$0" | |
}, | |
"GetPVarString": { | |
"prefix": "GetPVarString", | |
"body": "GetPVarString(${1:playerid}, ${2:varname[]}, ${3:string_return[]}, ${4:len})$0" | |
}, | |
"SetPVarFloat": { | |
"prefix": "SetPVarFloat", | |
"body": "SetPVarFloat(${1:playerid}, ${2:varname[]}, ${3:Float:float_value})$0" | |
}, | |
"GetPVarFloat": { | |
"prefix": "GetPVarFloat", | |
"body": "GetPVarFloat(${1:playerid}, ${2:varname[]})$0" | |
}, | |
"DeletePVar": { | |
"prefix": "DeletePVar", | |
"body": "DeletePVar(${1:playerid}, ${2:varname[]})$0" | |
}, | |
"GetPVarsUpperIndex": { | |
"prefix": "GetPVarsUpperIndex", | |
"body": "GetPVarsUpperIndex(${1:playerid})$0" | |
}, | |
"GetPVarNameAtIndex": { | |
"prefix": "GetPVarNameAtIndex", | |
"body": "GetPVarNameAtIndex(${1:playerid}, ${2:index}, ${3:ret_varname[]}, ${4:ret_len})$0" | |
}, | |
"GetPVarType": { | |
"prefix": "GetPVarType", | |
"body": "GetPVarType(${1:playerid}, ${2:varname[]})$0" | |
}, | |
"SetPlayerChatBubble": { | |
"prefix": "SetPlayerChatBubble", | |
"body": "SetPlayerChatBubble(${1:playerid}, ${2:text[]}, ${3:color}, ${4:Float:drawdistance}, ${5:expiretime})$0" | |
}, | |
"PutPlayerInVehicle": { | |
"prefix": "PutPlayerInVehicle", | |
"body": "PutPlayerInVehicle(${1:playerid}, ${2:vehicleid}, ${3:seatid})$0" | |
}, | |
"GetPlayerVehicleID": { | |
"prefix": "GetPlayerVehicleID", | |
"body": "GetPlayerVehicleID(${1:playerid})$0" | |
}, | |
"GetPlayerVehicleSeat": { | |
"prefix": "GetPlayerVehicleSeat", | |
"body": "GetPlayerVehicleSeat(${1:playerid})$0" | |
}, | |
"RemovePlayerFromVehicle": { | |
"prefix": "RemovePlayerFromVehicle", | |
"body": "RemovePlayerFromVehicle(${1:playerid})$0" | |
}, | |
"TogglePlayerControllable": { | |
"prefix": "TogglePlayerControllable", | |
"body": "TogglePlayerControllable(${1:playerid}, ${2:toggle})$0" | |
}, | |
"PlayerPlaySound": { | |
"prefix": "PlayerPlaySound", | |
"body": "PlayerPlaySound(${1:playerid}, ${2:soundid}, ${3:Float:x}, ${4:Float:y}, ${5:Float:z})$0" | |
}, | |
"ApplyAnimation": { | |
"prefix": "ApplyAnimation", | |
"body": "ApplyAnimation(${1:playerid}, ${2:animlib[]}, ${3:animname[]}, ${4:Float:fDelta}, ${5:loop}, ${6:lockx}, ${7:locky}, ${8:freeze}, ${9:time}, ${10:forcesync = 0})$0" | |
}, | |
"ClearAnimations": { | |
"prefix": "ClearAnimations", | |
"body": "ClearAnimations(${1:playerid}, ${2:forcesync = 0})$0" | |
}, | |
"GetPlayerAnimationIndex": { | |
"prefix": "GetPlayerAnimationIndex", | |
"body": "GetPlayerAnimationIndex(${1:playerid})$0" | |
}, | |
"GetAnimationName": { | |
"prefix": "GetAnimationName", | |
"body": "GetAnimationName(${1:index}, ${2:animlib[]}, ${3:len1}, ${4:animname[]}, ${5:len2})$0" | |
}, | |
"GetPlayerSpecialAction": { | |
"prefix": "GetPlayerSpecialAction", | |
"body": "GetPlayerSpecialAction(${1:playerid})$0" | |
}, | |
"SetPlayerSpecialAction": { | |
"prefix": "SetPlayerSpecialAction", | |
"body": "SetPlayerSpecialAction(${1:playerid}, ${2:actionid})$0" | |
}, | |
"DisableRemoteVehicleCollisions": { | |
"prefix": "DisableRemoteVehicleCollisions", | |
"body": "DisableRemoteVehicleCollisions(${1:playerid}, ${2:disable})$0" | |
}, | |
"SetPlayerCheckpoint": { | |
"prefix": "SetPlayerCheckpoint", | |
"body": "SetPlayerCheckpoint(${1:playerid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z}, ${5:Float:size})$0" | |
}, | |
"DisablePlayerCheckpoint": { | |
"prefix": "DisablePlayerCheckpoint", | |
"body": "DisablePlayerCheckpoint(${1:playerid})$0" | |
}, | |
"SetPlayerRaceCheckpoint": { | |
"prefix": "SetPlayerRaceCheckpoint", | |
"body": "SetPlayerRaceCheckpoint(${1:playerid}, ${2:type}, ${3:Float:x}, ${4:Float:y}, ${5:Float:z}, ${6:Float:nextx}, ${7:Float:nexty}, ${8:Float:nextz}, ${9:Float:size})$0" | |
}, | |
"DisablePlayerRaceCheckpoint": { | |
"prefix": "DisablePlayerRaceCheckpoint", | |
"body": "DisablePlayerRaceCheckpoint(${1:playerid})$0" | |
}, | |
"SetPlayerWorldBounds": { | |
"prefix": "SetPlayerWorldBounds", | |
"body": "SetPlayerWorldBounds(${1:playerid}, ${2:Float:x_max}, ${3:Float:x_min}, ${4:Float:y_max}, ${5:Float:y_min})$0" | |
}, | |
"SetPlayerMarkerForPlayer": { | |
"prefix": "SetPlayerMarkerForPlayer", | |
"body": "SetPlayerMarkerForPlayer(${1:playerid}, ${2:showplayerid}, ${3:color})$0" | |
}, | |
"ShowPlayerNameTagForPlayer": { | |
"prefix": "ShowPlayerNameTagForPlayer", | |
"body": "ShowPlayerNameTagForPlayer(${1:playerid}, ${2:showplayerid}, ${3:show})$0" | |
}, | |
"SetPlayerMapIcon": { | |
"prefix": "SetPlayerMapIcon", | |
"body": "SetPlayerMapIcon(${1:playerid}, ${2:iconid}, ${3:Float:x}, ${4:Float:y}, ${5:Float:z}, ${6:markertype}, ${7:color}, ${8:style = MAPICON_LOCAL})$0" | |
}, | |
"RemovePlayerMapIcon": { | |
"prefix": "RemovePlayerMapIcon", | |
"body": "RemovePlayerMapIcon(${1:playerid}, ${2:iconid})$0" | |
}, | |
"AllowPlayerTeleport": { | |
"prefix": "AllowPlayerTeleport", | |
"body": "AllowPlayerTeleport(${1:playerid}, ${2:allow})$0" | |
}, | |
"SetPlayerCameraPos": { | |
"prefix": "SetPlayerCameraPos", | |
"body": "SetPlayerCameraPos(${1:playerid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"SetPlayerCameraLookAt": { | |
"prefix": "SetPlayerCameraLookAt", | |
"body": "SetPlayerCameraLookAt(${1:playerid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z}, ${5:cut = CAMERA_CUT})$0" | |
}, | |
"SetCameraBehindPlayer": { | |
"prefix": "SetCameraBehindPlayer", | |
"body": "SetCameraBehindPlayer(${1:playerid})$0" | |
}, | |
"GetPlayerCameraPos": { | |
"prefix": "GetPlayerCameraPos", | |
"body": "GetPlayerCameraPos(${1:playerid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"GetPlayerCameraFrontVector": { | |
"prefix": "GetPlayerCameraFrontVector", | |
"body": "GetPlayerCameraFrontVector(${1:playerid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"GetPlayerCameraMode": { | |
"prefix": "GetPlayerCameraMode", | |
"body": "GetPlayerCameraMode(${1:playerid})$0" | |
}, | |
"EnablePlayerCameraTarget": { | |
"prefix": "EnablePlayerCameraTarget", | |
"body": "EnablePlayerCameraTarget(${1:playerid}, ${2:enable})$0" | |
}, | |
"GetPlayerCameraTargetObject": { | |
"prefix": "GetPlayerCameraTargetObject", | |
"body": "GetPlayerCameraTargetObject(${1:playerid})$0" | |
}, | |
"GetPlayerCameraTargetVehicle": { | |
"prefix": "GetPlayerCameraTargetVehicle", | |
"body": "GetPlayerCameraTargetVehicle(${1:playerid})$0" | |
}, | |
"GetPlayerCameraTargetPlayer": { | |
"prefix": "GetPlayerCameraTargetPlayer", | |
"body": "GetPlayerCameraTargetPlayer(${1:playerid})$0" | |
}, | |
"GetPlayerCameraTargetActor": { | |
"prefix": "GetPlayerCameraTargetActor", | |
"body": "GetPlayerCameraTargetActor(${1:playerid})$0" | |
}, | |
"GetPlayerCameraAspectRatio": { | |
"prefix": "GetPlayerCameraAspectRatio", | |
"body": "GetPlayerCameraAspectRatio(${1:playerid})$0" | |
}, | |
"GetPlayerCameraZoom": { | |
"prefix": "GetPlayerCameraZoom", | |
"body": "GetPlayerCameraZoom(${1:playerid})$0" | |
}, | |
"AttachCameraToObject": { | |
"prefix": "AttachCameraToObject", | |
"body": "AttachCameraToObject(${1:playerid}, ${2:objectid})$0" | |
}, | |
"AttachCameraToPlayerObject": { | |
"prefix": "AttachCameraToPlayerObject", | |
"body": "AttachCameraToPlayerObject(${1:playerid}, ${2:playerobjectid})$0" | |
}, | |
"InterpolateCameraPos": { | |
"prefix": "InterpolateCameraPos", | |
"body": "InterpolateCameraPos(${1:playerid}, ${2:Float:FromX}, ${3:Float:FromY}, ${4:Float:FromZ}, ${5:Float:ToX}, ${6:Float:ToY}, ${7:Float:ToZ}, ${8:time}, ${9:cut = CAMERA_CUT})$0" | |
}, | |
"InterpolateCameraLookAt": { | |
"prefix": "InterpolateCameraLookAt", | |
"body": "InterpolateCameraLookAt(${1:playerid}, ${2:Float:FromX}, ${3:Float:FromY}, ${4:Float:FromZ}, ${5:Float:ToX}, ${6:Float:ToY}, ${7:Float:ToZ}, ${8:time}, ${9:cut = CAMERA_CUT})$0" | |
}, | |
"IsPlayerConnected": { | |
"prefix": "IsPlayerConnected", | |
"body": "IsPlayerConnected(${1:playerid})$0" | |
}, | |
"IsPlayerInVehicle": { | |
"prefix": "IsPlayerInVehicle", | |
"body": "IsPlayerInVehicle(${1:playerid}, ${2:vehicleid})$0" | |
}, | |
"IsPlayerInAnyVehicle": { | |
"prefix": "IsPlayerInAnyVehicle", | |
"body": "IsPlayerInAnyVehicle(${1:playerid})$0" | |
}, | |
"IsPlayerInCheckpoint": { | |
"prefix": "IsPlayerInCheckpoint", | |
"body": "IsPlayerInCheckpoint(${1:playerid})$0" | |
}, | |
"IsPlayerInRaceCheckpoint": { | |
"prefix": "IsPlayerInRaceCheckpoint", | |
"body": "IsPlayerInRaceCheckpoint(${1:playerid})$0" | |
}, | |
"SetPlayerVirtualWorld": { | |
"prefix": "SetPlayerVirtualWorld", | |
"body": "SetPlayerVirtualWorld(${1:playerid}, ${2:worldid})$0" | |
}, | |
"GetPlayerVirtualWorld": { | |
"prefix": "GetPlayerVirtualWorld", | |
"body": "GetPlayerVirtualWorld(${1:playerid})$0" | |
}, | |
"EnableStuntBonusForPlayer": { | |
"prefix": "EnableStuntBonusForPlayer", | |
"body": "EnableStuntBonusForPlayer(${1:playerid}, ${2:enable})$0" | |
}, | |
"EnableStuntBonusForAll": { | |
"prefix": "EnableStuntBonusForAll", | |
"body": "EnableStuntBonusForAll(${1:enable})$0" | |
}, | |
"TogglePlayerSpectating": { | |
"prefix": "TogglePlayerSpectating", | |
"body": "TogglePlayerSpectating(${1:playerid}, ${2:toggle})$0" | |
}, | |
"PlayerSpectatePlayer": { | |
"prefix": "PlayerSpectatePlayer", | |
"body": "PlayerSpectatePlayer(${1:playerid}, ${2:targetplayerid}, ${3:mode = SPECTATE_MODE_NORMAL})$0" | |
}, | |
"PlayerSpectateVehicle": { | |
"prefix": "PlayerSpectateVehicle", | |
"body": "PlayerSpectateVehicle(${1:playerid}, ${2:targetvehicleid}, ${3:mode = SPECTATE_MODE_NORMAL})$0" | |
}, | |
"StartRecordingPlayerData": { | |
"prefix": "StartRecordingPlayerData", | |
"body": "StartRecordingPlayerData(${1:playerid}, ${2:recordtype}, ${3:recordname[]})$0" | |
}, | |
"StopRecordingPlayerData": { | |
"prefix": "StopRecordingPlayerData", | |
"body": "StopRecordingPlayerData(${1:playerid})$0" | |
}, | |
"SelectTextDraw": { | |
"prefix": "SelectTextDraw", | |
"body": "SelectTextDraw(${1:playerid}, ${2:hovercolor})$0" | |
}, | |
"CancelSelectTextDraw": { | |
"prefix": "CancelSelectTextDraw", | |
"body": "CancelSelectTextDraw(${1:playerid})$0" | |
}, | |
"CreateExplosionForPlayer": { | |
"prefix": "CreateExplosionForPlayer", | |
"body": "CreateExplosionForPlayer(${1:playerid}, ${2:Float:X}, ${3:Float:Y}, ${4:Float:Z}, ${5:type}, ${6:Float:Radius})$0" | |
}, | |
"print": { | |
"prefix": "print", | |
"body": "print(${1:const string[]})$0" | |
}, | |
"printf": { | |
"prefix": "printf", | |
"body": "printf(${1:const format[]}, ${2:...})$0" | |
}, | |
"format": { | |
"prefix": "format", | |
"body": "format(${1:output[]}, ${2:len}, ${3:const format[]}, ${4:...})$0" | |
}, | |
"SendClientMessage": { | |
"prefix": "SendClientMessage", | |
"body": "SendClientMessage(${1:playerid}, ${2:color}, ${3:const message[]})$0" | |
}, | |
"SendClientMessageToAll": { | |
"prefix": "SendClientMessageToAll", | |
"body": "SendClientMessageToAll(${1:color}, ${2:const message[]})$0" | |
}, | |
"SendPlayerMessageToPlayer": { | |
"prefix": "SendPlayerMessageToPlayer", | |
"body": "SendPlayerMessageToPlayer(${1:playerid}, ${2:senderid}, ${3:const message[]})$0" | |
}, | |
"SendPlayerMessageToAll": { | |
"prefix": "SendPlayerMessageToAll", | |
"body": "SendPlayerMessageToAll(${1:senderid}, ${2:const message[]})$0" | |
}, | |
"SendDeathMessage": { | |
"prefix": "SendDeathMessage", | |
"body": "SendDeathMessage(${1:killer}, ${2:killee}, ${3:weapon})$0" | |
}, | |
"SendDeathMessageToPlayer": { | |
"prefix": "SendDeathMessageToPlayer", | |
"body": "SendDeathMessageToPlayer(${1:playerid}, ${2:killer}, ${3:killee}, ${4:weapon})$0" | |
}, | |
"GameTextForAll": { | |
"prefix": "GameTextForAll", | |
"body": "GameTextForAll(${1:const string[]}, ${2:time}, ${3:style})$0" | |
}, | |
"GameTextForPlayer": { | |
"prefix": "GameTextForPlayer", | |
"body": "GameTextForPlayer(${1:playerid}, ${2:const string[]}, ${3:time}, ${4:style})$0" | |
}, | |
"SetTimer": { | |
"prefix": "SetTimer", | |
"body": "SetTimer(${1:funcname[]}, ${2:interval}, ${3:repeating})$0" | |
}, | |
"SetTimerEx": { | |
"prefix": "SetTimerEx", | |
"body": "SetTimerEx(${1:funcname[]}, ${2:interval}, ${3:repeating}, ${4:const format[]}, ${5:...})$0" | |
}, | |
"KillTimer": { | |
"prefix": "KillTimer", | |
"body": "KillTimer(${1:timerid})$0" | |
}, | |
"GetTickCount": { | |
"prefix": "GetTickCount", | |
"body": "GetTickCount()$0" | |
}, | |
"GetMaxPlayers": { | |
"prefix": "GetMaxPlayers", | |
"body": "GetMaxPlayers()$0" | |
}, | |
"CallRemoteFunction": { | |
"prefix": "CallRemoteFunction", | |
"body": "CallRemoteFunction(${1:const function[]}, ${2:const format[]}, ${3:...})$0" | |
}, | |
"CallLocalFunction": { | |
"prefix": "CallLocalFunction", | |
"body": "CallLocalFunction(${1:const function[]}, ${2:const format[]}, ${3:...})$0" | |
}, | |
"VectorSize": { | |
"prefix": "VectorSize", | |
"body": "VectorSize(${1:Float:x}, ${2:Float:y}, ${3:Float:z})$0" | |
}, | |
"asin": { | |
"prefix": "asin", | |
"body": "asin(${1:Float:value})$0" | |
}, | |
"acos": { | |
"prefix": "acos", | |
"body": "acos(${1:Float:value})$0" | |
}, | |
"atan": { | |
"prefix": "atan", | |
"body": "atan(${1:Float:value})$0" | |
}, | |
"atan2": { | |
"prefix": "atan2", | |
"body": "atan2(${1:Float:x}, ${2:Float:y})$0" | |
}, | |
"GetPlayerPoolSize": { | |
"prefix": "GetPlayerPoolSize", | |
"body": "GetPlayerPoolSize()$0" | |
}, | |
"GetVehiclePoolSize": { | |
"prefix": "GetVehiclePoolSize", | |
"body": "GetVehiclePoolSize()$0" | |
}, | |
"GetActorPoolSize": { | |
"prefix": "GetActorPoolSize", | |
"body": "GetActorPoolSize()$0" | |
}, | |
"SHA256_PassHash": { | |
"prefix": "SHA256_PassHash", | |
"body": "SHA256_PassHash(${1:password[]}, ${2:salt[]}, ${3:ret_hash[]}, ${4:ret_hash_len})$0" | |
}, | |
"SetSVarInt": { | |
"prefix": "SetSVarInt", | |
"body": "SetSVarInt(${1:varname[]}, ${2:int_value})$0" | |
}, | |
"GetSVarInt": { | |
"prefix": "GetSVarInt", | |
"body": "GetSVarInt(${1:varname[]})$0" | |
}, | |
"SetSVarString": { | |
"prefix": "SetSVarString", | |
"body": "SetSVarString(${1:varname[]}, ${2:string_value[]})$0" | |
}, | |
"GetSVarString": { | |
"prefix": "GetSVarString", | |
"body": "GetSVarString(${1:varname[]}, ${2:string_return[]}, ${3:len})$0" | |
}, | |
"SetSVarFloat": { | |
"prefix": "SetSVarFloat", | |
"body": "SetSVarFloat(${1:varname[]}, ${2:Float:float_value})$0" | |
}, | |
"GetSVarFloat": { | |
"prefix": "GetSVarFloat", | |
"body": "GetSVarFloat(${1:varname[]})$0" | |
}, | |
"DeleteSVar": { | |
"prefix": "DeleteSVar", | |
"body": "DeleteSVar(${1:varname[]})$0" | |
}, | |
"GetSVarsUpperIndex": { | |
"prefix": "GetSVarsUpperIndex", | |
"body": "GetSVarsUpperIndex()$0" | |
}, | |
"GetSVarNameAtIndex": { | |
"prefix": "GetSVarNameAtIndex", | |
"body": "GetSVarNameAtIndex(${1:index}, ${2:ret_varname[]}, ${3:ret_len})$0" | |
}, | |
"GetSVarType": { | |
"prefix": "GetSVarType", | |
"body": "GetSVarType(${1:varname[]})$0" | |
}, | |
"SetGameModeText": { | |
"prefix": "SetGameModeText", | |
"body": "SetGameModeText(${1:const string[]})$0" | |
}, | |
"SetTeamCount": { | |
"prefix": "SetTeamCount", | |
"body": "SetTeamCount(${1:count})$0" | |
}, | |
"AddPlayerClass": { | |
"prefix": "AddPlayerClass", | |
"body": "AddPlayerClass(${1:modelid}, ${2:Float:spawn_x}, ${3:Float:spawn_y}, ${4:Float:spawn_z}, ${5:Float:z_angle}, ${6:weapon1}, ${7:weapon1_ammo}, ${8:weapon2}, ${9:weapon2_ammo}, ${10:weapon3}, ${11:weapon3_ammo})$0" | |
}, | |
"AddPlayerClassEx": { | |
"prefix": "AddPlayerClassEx", | |
"body": "AddPlayerClassEx(${1:teamid}, ${2:modelid}, ${3:Float:spawn_x}, ${4:Float:spawn_y}, ${5:Float:spawn_z}, ${6:Float:z_angle}, ${7:weapon1}, ${8:weapon1_ammo}, ${9:weapon2}, ${10:weapon2_ammo}, ${11:weapon3}, ${12:weapon3_ammo})$0" | |
}, | |
"AddStaticVehicle": { | |
"prefix": "AddStaticVehicle", | |
"body": "AddStaticVehicle(${1:modelid}, ${2:Float:spawn_x}, ${3:Float:spawn_y}, ${4:Float:spawn_z}, ${5:Float:z_angle}, ${6:color1}, ${7:color2})$0" | |
}, | |
"AddStaticVehicleEx": { | |
"prefix": "AddStaticVehicleEx", | |
"body": "AddStaticVehicleEx(${1:modelid}, ${2:Float:spawn_x}, ${3:Float:spawn_y}, ${4:Float:spawn_z}, ${5:Float:z_angle}, ${6:color1}, ${7:color2}, ${8:respawn_delay}, ${9:addsiren=0})$0" | |
}, | |
"AddStaticPickup": { | |
"prefix": "AddStaticPickup", | |
"body": "AddStaticPickup(${1:model}, ${2:type}, ${3:Float:X}, ${4:Float:Y}, ${5:Float:Z}, ${6:virtualworld = 0})$0" | |
}, | |
"CreatePickup": { | |
"prefix": "CreatePickup", | |
"body": "CreatePickup(${1:model}, ${2:type}, ${3:Float:X}, ${4:Float:Y}, ${5:Float:Z}, ${6:virtualworld = 0})$0" | |
}, | |
"DestroyPickup": { | |
"prefix": "DestroyPickup", | |
"body": "DestroyPickup(${1:pickup})$0" | |
}, | |
"ShowNameTags": { | |
"prefix": "ShowNameTags", | |
"body": "ShowNameTags(${1:show})$0" | |
}, | |
"ShowPlayerMarkers": { | |
"prefix": "ShowPlayerMarkers", | |
"body": "ShowPlayerMarkers(${1:mode})$0" | |
}, | |
"GameModeExit": { | |
"prefix": "GameModeExit", | |
"body": "GameModeExit()$0" | |
}, | |
"SetWorldTime": { | |
"prefix": "SetWorldTime", | |
"body": "SetWorldTime(${1:hour})$0" | |
}, | |
"GetWeaponName": { | |
"prefix": "GetWeaponName", | |
"body": "GetWeaponName(${1:weaponid}, ${2:const weapon[]}, ${3:len})$0" | |
}, | |
"EnableTirePopping": { | |
"prefix": "EnableTirePopping", | |
"body": "EnableTirePopping(${1:enable})$0" | |
}, | |
"EnableVehicleFriendlyFire": { | |
"prefix": "EnableVehicleFriendlyFire", | |
"body": "EnableVehicleFriendlyFire()$0" | |
}, | |
"AllowInteriorWeapons": { | |
"prefix": "AllowInteriorWeapons", | |
"body": "AllowInteriorWeapons(${1:allow})$0" | |
}, | |
"SetWeather": { | |
"prefix": "SetWeather", | |
"body": "SetWeather(${1:weatherid})$0" | |
}, | |
"SetGravity": { | |
"prefix": "SetGravity", | |
"body": "SetGravity(${1:Float:gravity})$0" | |
}, | |
"AllowAdminTeleport": { | |
"prefix": "AllowAdminTeleport", | |
"body": "AllowAdminTeleport(${1:allow})$0" | |
}, | |
"SetDeathDropAmount": { | |
"prefix": "SetDeathDropAmount", | |
"body": "SetDeathDropAmount(${1:amount})$0" | |
}, | |
"CreateExplosion": { | |
"prefix": "CreateExplosion", | |
"body": "CreateExplosion(${1:Float:X}, ${2:Float:Y}, ${3:Float:Z}, ${4:type}, ${5:Float:Radius})$0" | |
}, | |
"EnableZoneNames": { | |
"prefix": "EnableZoneNames", | |
"body": "EnableZoneNames(${1:enable})$0" | |
}, | |
"UsePlayerPedAnims": { | |
"prefix": "UsePlayerPedAnims", | |
"body": "UsePlayerPedAnims()$0" | |
}, | |
"DisableInteriorEnterExits": { | |
"prefix": "DisableInteriorEnterExits", | |
"body": "DisableInteriorEnterExits()$0" | |
}, | |
"SetNameTagDrawDistance": { | |
"prefix": "SetNameTagDrawDistance", | |
"body": "SetNameTagDrawDistance(${1:Float:distance})$0" | |
}, | |
"DisableNameTagLOS": { | |
"prefix": "DisableNameTagLOS", | |
"body": "DisableNameTagLOS()$0" | |
}, | |
"LimitGlobalChatRadius": { | |
"prefix": "LimitGlobalChatRadius", | |
"body": "LimitGlobalChatRadius(${1:Float:chat_radius})$0" | |
}, | |
"LimitPlayerMarkerRadius": { | |
"prefix": "LimitPlayerMarkerRadius", | |
"body": "LimitPlayerMarkerRadius(${1:Float:marker_radius})$0" | |
}, | |
"ConnectNPC": { | |
"prefix": "ConnectNPC", | |
"body": "ConnectNPC(${1:name[]}, ${2:script[]})$0" | |
}, | |
"IsPlayerNPC": { | |
"prefix": "IsPlayerNPC", | |
"body": "IsPlayerNPC(${1:playerid})$0" | |
}, | |
"IsPlayerAdmin": { | |
"prefix": "IsPlayerAdmin", | |
"body": "IsPlayerAdmin(${1:playerid})$0" | |
}, | |
"Kick": { | |
"prefix": "Kick", | |
"body": "Kick(${1:playerid})$0" | |
}, | |
"Ban": { | |
"prefix": "Ban", | |
"body": "Ban(${1:playerid})$0" | |
}, | |
"BanEx": { | |
"prefix": "BanEx", | |
"body": "BanEx(${1:playerid}, ${2:const reason[]})$0" | |
}, | |
"SendRconCommand": { | |
"prefix": "SendRconCommand", | |
"body": "SendRconCommand(${1:command[]})$0" | |
}, | |
"GetPlayerNetworkStats": { | |
"prefix": "GetPlayerNetworkStats", | |
"body": "GetPlayerNetworkStats(${1:playerid}, ${2:retstr[]}, ${3:retstr_size})$0" | |
}, | |
"GetNetworkStats": { | |
"prefix": "GetNetworkStats", | |
"body": "GetNetworkStats(${1:retstr[]}, ${2:retstr_size})$0" | |
}, | |
"GetPlayerVersion": { | |
"prefix": "GetPlayerVersion", | |
"body": "GetPlayerVersion(${1:playerid}, ${2:const version[]}, ${3:len})$0" | |
}, | |
"BlockIpAddress": { | |
"prefix": "BlockIpAddress", | |
"body": "BlockIpAddress(${1:ip_address[]}, ${2:timems})$0" | |
}, | |
"UnBlockIpAddress": { | |
"prefix": "UnBlockIpAddress", | |
"body": "UnBlockIpAddress(${1:ip_address[]})$0" | |
}, | |
"GetServerVarAsString": { | |
"prefix": "GetServerVarAsString", | |
"body": "GetServerVarAsString(${1:const varname[]}, ${2:buffer[]}, ${3:len})$0" | |
}, | |
"GetServerVarAsInt": { | |
"prefix": "GetServerVarAsInt", | |
"body": "GetServerVarAsInt(${1:const varname[]})$0" | |
}, | |
"GetServerVarAsBool": { | |
"prefix": "GetServerVarAsBool", | |
"body": "GetServerVarAsBool(${1:const varname[]})$0" | |
}, | |
"GetConsoleVarAsString": { | |
"prefix": "GetConsoleVarAsString", | |
"body": "GetConsoleVarAsString(${1:const varname[]}, ${2:buffer[]}, ${3:len})$0" | |
}, | |
"GetConsoleVarAsInt": { | |
"prefix": "GetConsoleVarAsInt", | |
"body": "GetConsoleVarAsInt(${1:const varname[]})$0" | |
}, | |
"GetConsoleVarAsBool": { | |
"prefix": "GetConsoleVarAsBool", | |
"body": "GetConsoleVarAsBool(${1:const varname[]})$0" | |
}, | |
"GetServerTickRate": { | |
"prefix": "GetServerTickRate", | |
"body": "GetServerTickRate()$0" | |
}, | |
"NetStats_GetConnectedTime": { | |
"prefix": "NetStats_GetConnectedTime", | |
"body": "NetStats_GetConnectedTime(${1:playerid})$0" | |
}, | |
"NetStats_MessagesReceived": { | |
"prefix": "NetStats_MessagesReceived", | |
"body": "NetStats_MessagesReceived(${1:playerid})$0" | |
}, | |
"NetStats_BytesReceived": { | |
"prefix": "NetStats_BytesReceived", | |
"body": "NetStats_BytesReceived(${1:playerid})$0" | |
}, | |
"NetStats_MessagesSent": { | |
"prefix": "NetStats_MessagesSent", | |
"body": "NetStats_MessagesSent(${1:playerid})$0" | |
}, | |
"NetStats_BytesSent": { | |
"prefix": "NetStats_BytesSent", | |
"body": "NetStats_BytesSent(${1:playerid})$0" | |
}, | |
"NetStats_MessagesRecvPerSecond": { | |
"prefix": "NetStats_MessagesRecvPerSecond", | |
"body": "NetStats_MessagesRecvPerSecond(${1:playerid})$0" | |
}, | |
"NetStats_PacketLossPercent": { | |
"prefix": "NetStats_PacketLossPercent", | |
"body": "NetStats_PacketLossPercent(${1:playerid})$0" | |
}, | |
"NetStats_ConnectionStatus": { | |
"prefix": "NetStats_ConnectionStatus", | |
"body": "NetStats_ConnectionStatus(${1:playerid})$0" | |
}, | |
"NetStats_GetIpPort": { | |
"prefix": "NetStats_GetIpPort", | |
"body": "NetStats_GetIpPort(${1:playerid}, ${2:ip_port[]}, ${3:ip_port_len})$0" | |
}, | |
"CreateMenu": { | |
"prefix": "CreateMenu", | |
"body": "CreateMenu(${1:const title[]}, ${2:columns}, ${3:Float:x}, ${4:Float:y}, ${5:Float:col1width}, ${6:Float:col2width = 0.0})$0" | |
}, | |
"DestroyMenu": { | |
"prefix": "DestroyMenu", | |
"body": "DestroyMenu(${1:Menu:menuid})$0" | |
}, | |
"AddMenuItem": { | |
"prefix": "AddMenuItem", | |
"body": "AddMenuItem(${1:Menu:menuid}, ${2:column}, ${3:const menutext[]})$0" | |
}, | |
"SetMenuColumnHeader": { | |
"prefix": "SetMenuColumnHeader", | |
"body": "SetMenuColumnHeader(${1:Menu:menuid}, ${2:column}, ${3:const columnheader[]})$0" | |
}, | |
"ShowMenuForPlayer": { | |
"prefix": "ShowMenuForPlayer", | |
"body": "ShowMenuForPlayer(${1:Menu:menuid}, ${2:playerid})$0" | |
}, | |
"HideMenuForPlayer": { | |
"prefix": "HideMenuForPlayer", | |
"body": "HideMenuForPlayer(${1:Menu:menuid}, ${2:playerid})$0" | |
}, | |
"IsValidMenu": { | |
"prefix": "IsValidMenu", | |
"body": "IsValidMenu(${1:Menu:menuid})$0" | |
}, | |
"DisableMenu": { | |
"prefix": "DisableMenu", | |
"body": "DisableMenu(${1:Menu:menuid})$0" | |
}, | |
"DisableMenuRow": { | |
"prefix": "DisableMenuRow", | |
"body": "DisableMenuRow(${1:Menu:menuid}, ${2:row})$0" | |
}, | |
"GetPlayerMenu": { | |
"prefix": "GetPlayerMenu", | |
"body": "GetPlayerMenu(${1:playerid})$0" | |
}, | |
"TextDrawCreate": { | |
"prefix": "TextDrawCreate", | |
"body": "TextDrawCreate(${1:Float:x}, ${2:Float:y}, ${3:text[]})$0" | |
}, | |
"TextDrawDestroy": { | |
"prefix": "TextDrawDestroy", | |
"body": "TextDrawDestroy(${1:Text:text})$0" | |
}, | |
"TextDrawLetterSize": { | |
"prefix": "TextDrawLetterSize", | |
"body": "TextDrawLetterSize(${1:Text:text}, ${2:Float:x}, ${3:Float:y})$0" | |
}, | |
"TextDrawTextSize": { | |
"prefix": "TextDrawTextSize", | |
"body": "TextDrawTextSize(${1:Text:text}, ${2:Float:x}, ${3:Float:y})$0" | |
}, | |
"TextDrawAlignment": { | |
"prefix": "TextDrawAlignment", | |
"body": "TextDrawAlignment(${1:Text:text}, ${2:alignment})$0" | |
}, | |
"TextDrawColor": { | |
"prefix": "TextDrawColor", | |
"body": "TextDrawColor(${1:Text:text}, ${2:color})$0" | |
}, | |
"TextDrawUseBox": { | |
"prefix": "TextDrawUseBox", | |
"body": "TextDrawUseBox(${1:Text:text}, ${2:use})$0" | |
}, | |
"TextDrawBoxColor": { | |
"prefix": "TextDrawBoxColor", | |
"body": "TextDrawBoxColor(${1:Text:text}, ${2:color})$0" | |
}, | |
"TextDrawSetShadow": { | |
"prefix": "TextDrawSetShadow", | |
"body": "TextDrawSetShadow(${1:Text:text}, ${2:size})$0" | |
}, | |
"TextDrawSetOutline": { | |
"prefix": "TextDrawSetOutline", | |
"body": "TextDrawSetOutline(${1:Text:text}, ${2:size})$0" | |
}, | |
"TextDrawBackgroundColor": { | |
"prefix": "TextDrawBackgroundColor", | |
"body": "TextDrawBackgroundColor(${1:Text:text}, ${2:color})$0" | |
}, | |
"TextDrawFont": { | |
"prefix": "TextDrawFont", | |
"body": "TextDrawFont(${1:Text:text}, ${2:font})$0" | |
}, | |
"TextDrawSetProportional": { | |
"prefix": "TextDrawSetProportional", | |
"body": "TextDrawSetProportional(${1:Text:text}, ${2:set})$0" | |
}, | |
"TextDrawSetSelectable": { | |
"prefix": "TextDrawSetSelectable", | |
"body": "TextDrawSetSelectable(${1:Text:text}, ${2:set})$0" | |
}, | |
"TextDrawShowForPlayer": { | |
"prefix": "TextDrawShowForPlayer", | |
"body": "TextDrawShowForPlayer(${1:playerid}, ${2:Text:text})$0" | |
}, | |
"TextDrawHideForPlayer": { | |
"prefix": "TextDrawHideForPlayer", | |
"body": "TextDrawHideForPlayer(${1:playerid}, ${2:Text:text})$0" | |
}, | |
"TextDrawShowForAll": { | |
"prefix": "TextDrawShowForAll", | |
"body": "TextDrawShowForAll(${1:Text:text})$0" | |
}, | |
"TextDrawHideForAll": { | |
"prefix": "TextDrawHideForAll", | |
"body": "TextDrawHideForAll(${1:Text:text})$0" | |
}, | |
"TextDrawSetString": { | |
"prefix": "TextDrawSetString", | |
"body": "TextDrawSetString(${1:Text:text}, ${2:string[]})$0" | |
}, | |
"TextDrawSetPreviewModel": { | |
"prefix": "TextDrawSetPreviewModel", | |
"body": "TextDrawSetPreviewModel(${1:Text:text}, ${2:modelindex})$0" | |
}, | |
"TextDrawSetPreviewRot": { | |
"prefix": "TextDrawSetPreviewRot", | |
"body": "TextDrawSetPreviewRot(${1:Text:text}, ${2:Float:fRotX}, ${3:Float:fRotY}, ${4:Float:fRotZ}, ${5:Float:fZoom = 1.0})$0" | |
}, | |
"TextDrawSetPreviewVehCol": { | |
"prefix": "TextDrawSetPreviewVehCol", | |
"body": "TextDrawSetPreviewVehCol(${1:Text:text}, ${2:color1}, ${3:color2})$0" | |
}, | |
"GangZoneCreate": { | |
"prefix": "GangZoneCreate", | |
"body": "GangZoneCreate(${1:Float:minx}, ${2:Float:miny}, ${3:Float:maxx}, ${4:Float:maxy})$0" | |
}, | |
"GangZoneDestroy": { | |
"prefix": "GangZoneDestroy", | |
"body": "GangZoneDestroy(${1:zone})$0" | |
}, | |
"GangZoneShowForPlayer": { | |
"prefix": "GangZoneShowForPlayer", | |
"body": "GangZoneShowForPlayer(${1:playerid}, ${2:zone}, ${3:color})$0" | |
}, | |
"GangZoneShowForAll": { | |
"prefix": "GangZoneShowForAll", | |
"body": "GangZoneShowForAll(${1:zone}, ${2:color})$0" | |
}, | |
"GangZoneHideForPlayer": { | |
"prefix": "GangZoneHideForPlayer", | |
"body": "GangZoneHideForPlayer(${1:playerid}, ${2:zone})$0" | |
}, | |
"GangZoneHideForAll": { | |
"prefix": "GangZoneHideForAll", | |
"body": "GangZoneHideForAll(${1:zone})$0" | |
}, | |
"GangZoneFlashForPlayer": { | |
"prefix": "GangZoneFlashForPlayer", | |
"body": "GangZoneFlashForPlayer(${1:playerid}, ${2:zone}, ${3:flashcolor})$0" | |
}, | |
"GangZoneFlashForAll": { | |
"prefix": "GangZoneFlashForAll", | |
"body": "GangZoneFlashForAll(${1:zone}, ${2:flashcolor})$0" | |
}, | |
"GangZoneStopFlashForPlayer": { | |
"prefix": "GangZoneStopFlashForPlayer", | |
"body": "GangZoneStopFlashForPlayer(${1:playerid}, ${2:zone})$0" | |
}, | |
"GangZoneStopFlashForAll": { | |
"prefix": "GangZoneStopFlashForAll", | |
"body": "GangZoneStopFlashForAll(${1:zone})$0" | |
}, | |
"Create3DTextLabel": { | |
"prefix": "Create3DTextLabel", | |
"body": "Create3DTextLabel(${1:text[]}, ${2:color}, ${3:Float:X}, ${4:Float:Y}, ${5:Float:Z}, ${6:Float:DrawDistance}, ${7:virtualworld}, ${8:testLOS=0})$0" | |
}, | |
"Delete3DTextLabel": { | |
"prefix": "Delete3DTextLabel", | |
"body": "Delete3DTextLabel(${1:Text3D:id})$0" | |
}, | |
"Attach3DTextLabelToPlayer": { | |
"prefix": "Attach3DTextLabelToPlayer", | |
"body": "Attach3DTextLabelToPlayer(${1:Text3D:id}, ${2:playerid}, ${3:Float:OffsetX}, ${4:Float:OffsetY}, ${5:Float:OffsetZ})$0" | |
}, | |
"Attach3DTextLabelToVehicle": { | |
"prefix": "Attach3DTextLabelToVehicle", | |
"body": "Attach3DTextLabelToVehicle(${1:Text3D:id}, ${2:vehicleid}, ${3:Float:OffsetX}, ${4:Float:OffsetY}, ${5:Float:OffsetZ})$0" | |
}, | |
"Update3DTextLabelText": { | |
"prefix": "Update3DTextLabelText", | |
"body": "Update3DTextLabelText(${1:Text3D:id}, ${2:color}, ${3:text[]})$0" | |
}, | |
"CreatePlayer3DTextLabel": { | |
"prefix": "CreatePlayer3DTextLabel", | |
"body": "CreatePlayer3DTextLabel(${1:playerid}, ${2:text[]}, ${3:color}, ${4:Float:X}, ${5:Float:Y}, ${6:Float:Z}, ${7:Float:DrawDistance}, ${8:attachedplayer=INVALID_PLAYER_ID}, ${9:attachedvehicle=INVALID_VEHICLE_ID}, ${10:testLOS=0})$0" | |
}, | |
"DeletePlayer3DTextLabel": { | |
"prefix": "DeletePlayer3DTextLabel", | |
"body": "DeletePlayer3DTextLabel(${1:playerid}, ${2:PlayerText3D:id})$0" | |
}, | |
"UpdatePlayer3DTextLabelText": { | |
"prefix": "UpdatePlayer3DTextLabelText", | |
"body": "UpdatePlayer3DTextLabelText(${1:playerid}, ${2:PlayerText3D:id}, ${3:color}, ${4:text[]})$0" | |
}, | |
"ShowPlayerDialog": { | |
"prefix": "ShowPlayerDialog", | |
"body": "ShowPlayerDialog(${1:playerid}, ${2:dialogid}, ${3:style}, ${4:caption[]}, ${5:info[]}, ${6:button1[]}, ${7:button2[]})$0" | |
}, | |
"OnGameModeInit": { | |
"prefix": "OnGameModeInit", | |
"body": "OnGameModeInit()$0" | |
}, | |
"OnGameModeExit": { | |
"prefix": "OnGameModeExit", | |
"body": "OnGameModeExit()$0" | |
}, | |
"OnFilterScriptInit": { | |
"prefix": "OnFilterScriptInit", | |
"body": "OnFilterScriptInit()$0" | |
}, | |
"OnFilterScriptExit": { | |
"prefix": "OnFilterScriptExit", | |
"body": "OnFilterScriptExit()$0" | |
}, | |
"OnPlayerConnect": { | |
"prefix": "OnPlayerConnect", | |
"body": "OnPlayerConnect(${1:playerid})$0" | |
}, | |
"OnPlayerDisconnect": { | |
"prefix": "OnPlayerDisconnect", | |
"body": "OnPlayerDisconnect(${1:playerid}, ${2:reason})$0" | |
}, | |
"OnPlayerSpawn": { | |
"prefix": "OnPlayerSpawn", | |
"body": "OnPlayerSpawn(${1:playerid})$0" | |
}, | |
"OnPlayerDeath": { | |
"prefix": "OnPlayerDeath", | |
"body": "OnPlayerDeath(${1:playerid}, ${2:killerid}, ${3:reason})$0" | |
}, | |
"OnVehicleSpawn": { | |
"prefix": "OnVehicleSpawn", | |
"body": "OnVehicleSpawn(${1:vehicleid})$0" | |
}, | |
"OnVehicleDeath": { | |
"prefix": "OnVehicleDeath", | |
"body": "OnVehicleDeath(${1:vehicleid}, ${2:killerid})$0" | |
}, | |
"OnPlayerCommandText": { | |
"prefix": "OnPlayerCommandText", | |
"body": "OnPlayerCommandText(${1:playerid}, ${2:cmdtext[]})$0" | |
}, | |
"OnPlayerRequestClass": { | |
"prefix": "OnPlayerRequestClass", | |
"body": "OnPlayerRequestClass(${1:playerid}, ${2:classid})$0" | |
}, | |
"OnPlayerEnterVehicle": { | |
"prefix": "OnPlayerEnterVehicle", | |
"body": "OnPlayerEnterVehicle(${1:playerid}, ${2:vehicleid}, ${3:ispassenger})$0" | |
}, | |
"OnPlayerExitVehicle": { | |
"prefix": "OnPlayerExitVehicle", | |
"body": "OnPlayerExitVehicle(${1:playerid}, ${2:vehicleid})$0" | |
}, | |
"OnPlayerStateChange": { | |
"prefix": "OnPlayerStateChange", | |
"body": "OnPlayerStateChange(${1:playerid}, ${2:newstate}, ${3:oldstate})$0" | |
}, | |
"OnPlayerEnterCheckpoint": { | |
"prefix": "OnPlayerEnterCheckpoint", | |
"body": "OnPlayerEnterCheckpoint(${1:playerid})$0" | |
}, | |
"OnPlayerLeaveCheckpoint": { | |
"prefix": "OnPlayerLeaveCheckpoint", | |
"body": "OnPlayerLeaveCheckpoint(${1:playerid})$0" | |
}, | |
"OnPlayerEnterRaceCheckpoint": { | |
"prefix": "OnPlayerEnterRaceCheckpoint", | |
"body": "OnPlayerEnterRaceCheckpoint(${1:playerid})$0" | |
}, | |
"OnPlayerLeaveRaceCheckpoint": { | |
"prefix": "OnPlayerLeaveRaceCheckpoint", | |
"body": "OnPlayerLeaveRaceCheckpoint(${1:playerid})$0" | |
}, | |
"OnRconCommand": { | |
"prefix": "OnRconCommand", | |
"body": "OnRconCommand(${1:cmd[]})$0" | |
}, | |
"OnPlayerRequestSpawn": { | |
"prefix": "OnPlayerRequestSpawn", | |
"body": "OnPlayerRequestSpawn(${1:playerid})$0" | |
}, | |
"OnObjectMoved": { | |
"prefix": "OnObjectMoved", | |
"body": "OnObjectMoved(${1:objectid})$0" | |
}, | |
"OnPlayerObjectMoved": { | |
"prefix": "OnPlayerObjectMoved", | |
"body": "OnPlayerObjectMoved(${1:playerid}, ${2:objectid})$0" | |
}, | |
"OnPlayerPickUpPickup": { | |
"prefix": "OnPlayerPickUpPickup", | |
"body": "OnPlayerPickUpPickup(${1:playerid}, ${2:pickupid})$0" | |
}, | |
"OnVehicleMod": { | |
"prefix": "OnVehicleMod", | |
"body": "OnVehicleMod(${1:playerid}, ${2:vehicleid}, ${3:componentid})$0" | |
}, | |
"OnEnterExitModShop": { | |
"prefix": "OnEnterExitModShop", | |
"body": "OnEnterExitModShop(${1:playerid}, ${2:enterexit}, ${3:interiorid})$0" | |
}, | |
"OnVehiclePaintjob": { | |
"prefix": "OnVehiclePaintjob", | |
"body": "OnVehiclePaintjob(${1:playerid}, ${2:vehicleid}, ${3:paintjobid})$0" | |
}, | |
"OnVehicleRespray": { | |
"prefix": "OnVehicleRespray", | |
"body": "OnVehicleRespray(${1:playerid}, ${2:vehicleid}, ${3:color1}, ${4:color2})$0" | |
}, | |
"OnVehicleDamageStatusUpdate": { | |
"prefix": "OnVehicleDamageStatusUpdate", | |
"body": "OnVehicleDamageStatusUpdate(${1:vehicleid}, ${2:playerid})$0" | |
}, | |
"OnUnoccupiedVehicleUpdate": { | |
"prefix": "OnUnoccupiedVehicleUpdate", | |
"body": "OnUnoccupiedVehicleUpdate(${1:vehicleid}, ${2:playerid}, ${3:passenger_seat}, ${4:Float:new_x}, ${5:Float:new_y}, ${6:Float:new_z}, ${7:Float:vel_x}, ${8:Float:vel_y}, ${9:Float:vel_z})$0" | |
}, | |
"OnPlayerSelectedMenuRow": { | |
"prefix": "OnPlayerSelectedMenuRow", | |
"body": "OnPlayerSelectedMenuRow(${1:playerid}, ${2:row})$0" | |
}, | |
"OnPlayerExitedMenu": { | |
"prefix": "OnPlayerExitedMenu", | |
"body": "OnPlayerExitedMenu(${1:playerid})$0" | |
}, | |
"OnPlayerInteriorChange": { | |
"prefix": "OnPlayerInteriorChange", | |
"body": "OnPlayerInteriorChange(${1:playerid}, ${2:newinteriorid}, ${3:oldinteriorid})$0" | |
}, | |
"OnPlayerKeyStateChange": { | |
"prefix": "OnPlayerKeyStateChange", | |
"body": "OnPlayerKeyStateChange(${1:playerid}, ${2:newkeys}, ${3:oldkeys})$0" | |
}, | |
"OnRconLoginAttempt": { | |
"prefix": "OnRconLoginAttempt", | |
"body": "OnRconLoginAttempt(${1:ip[]}, ${2:password[]}, ${3:success })$0" | |
}, | |
"OnPlayerUpdate": { | |
"prefix": "OnPlayerUpdate", | |
"body": "OnPlayerUpdate(${1:playerid})$0" | |
}, | |
"OnActorStreamIn": { | |
"prefix": "OnActorStreamIn", | |
"body": "OnActorStreamIn(${1:actorid}, ${2:forplayerid})$0" | |
}, | |
"OnActorStreamOut": { | |
"prefix": "OnActorStreamOut", | |
"body": "OnActorStreamOut(${1:actorid}, ${2:forplayerid})$0" | |
}, | |
"OnDialogResponse": { | |
"prefix": "OnDialogResponse", | |
"body": "OnDialogResponse(${1:playerid}, ${2:dialogid}, ${3:response}, ${4:listitem}, ${5:inputtext[]})$0" | |
}, | |
"OnPlayerTakeDamage": { | |
"prefix": "OnPlayerTakeDamage", | |
"body": "OnPlayerTakeDamage(${1:playerid}, ${2:issuerid}, ${3:Float:amount}, ${4:weaponid}, ${5:bodypart})$0" | |
}, | |
"OnPlayerGiveDamage": { | |
"prefix": "OnPlayerGiveDamage", | |
"body": "OnPlayerGiveDamage(${1:playerid}, ${2:damagedid}, ${3:Float:amount}, ${4:weaponid}, ${5:bodypart})$0" | |
}, | |
"OnPlayerGiveDamageActor": { | |
"prefix": "OnPlayerGiveDamageActor", | |
"body": "OnPlayerGiveDamageActor(${1:playerid}, ${2:damaged_actorid}, ${3:Float:amount}, ${4:weaponid}, ${5:bodypart})$0" | |
}, | |
"OnPlayerClickMap": { | |
"prefix": "OnPlayerClickMap", | |
"body": "OnPlayerClickMap(${1:playerid}, ${2:Float:fX}, ${3:Float:fY}, ${4:Float:fZ})$0" | |
}, | |
"OnPlayerClickTextDraw": { | |
"prefix": "OnPlayerClickTextDraw", | |
"body": "OnPlayerClickTextDraw(${1:playerid}, ${2:Text:clickedid})$0" | |
}, | |
"OnPlayerClickPlayerTextDraw": { | |
"prefix": "OnPlayerClickPlayerTextDraw", | |
"body": "OnPlayerClickPlayerTextDraw(${1:playerid}, ${2:PlayerText:playertextid})$0" | |
}, | |
"OnIncomingConnection": { | |
"prefix": "OnIncomingConnection", | |
"body": "OnIncomingConnection(${1:playerid}, ${2:ip_address[]}, ${3:port})$0" | |
}, | |
"OnTrailerUpdate": { | |
"prefix": "OnTrailerUpdate", | |
"body": "OnTrailerUpdate(${1:playerid}, ${2:vehicleid})$0" | |
}, | |
"OnVehicleSirenStateChange": { | |
"prefix": "OnVehicleSirenStateChange", | |
"body": "OnVehicleSirenStateChange(${1:playerid}, ${2:vehicleid}, ${3:newstate})$0" | |
}, | |
"OnPlayerClickPlayer": { | |
"prefix": "OnPlayerClickPlayer", | |
"body": "OnPlayerClickPlayer(${1:playerid}, ${2:clickedplayerid}, ${3:source})$0" | |
}, | |
"OnPlayerEditObject": { | |
"prefix": "OnPlayerEditObject", | |
"body": "OnPlayerEditObject(${1:playerid}, ${2:playerobject}, ${3:objectid}, ${4:response}, ${5:Float:fX}, ${6:Float:fY}, ${7:Float:fZ}, ${8:Float:fRotX}, ${9:Float:fRotY}, ${10:Float:fRotZ })$0" | |
}, | |
"OnPlayerEditAttachedObject": { | |
"prefix": "OnPlayerEditAttachedObject", | |
"body": "OnPlayerEditAttachedObject(${1:playerid}, ${2:response}, ${3:index}, ${4:modelid}, ${5:boneid}, ${6:Float:fOffsetX}, ${7:Float:fOffsetY}, ${8:Float:fOffsetZ}, ${9:Float:fRotX}, ${10:Float:fRotY}, ${11:Float:fRotZ}, ${12:Float:fScaleX}, ${13:Float:fScaleY}, ${14:Float:fScaleZ })$0" | |
}, | |
"OnPlayerSelectObject": { | |
"prefix": "OnPlayerSelectObject", | |
"body": "OnPlayerSelectObject(${1:playerid}, ${2:type}, ${3:objectid}, ${4:modelid}, ${5:Float:fX}, ${6:Float:fY}, ${7:Float:fZ})$0" | |
}, | |
"OnPlayerWeaponShot": { | |
"prefix": "OnPlayerWeaponShot", | |
"body": "OnPlayerWeaponShot(${1:playerid}, ${2:weaponid}, ${3:hittype}, ${4:hitid}, ${5:Float:fX}, ${6:Float:fY}, ${7:Float:fZ})$0" | |
}, | |
"db_open": { | |
"prefix": "db_open", | |
"body": "db_open(${1:name[]})$0" | |
}, | |
"db_close": { | |
"prefix": "db_close", | |
"body": "db_close(${1:DB:db})$0" | |
}, | |
"db_query": { | |
"prefix": "db_query", | |
"body": "db_query(${1:DB:db}, ${2:query[]})$0" | |
}, | |
"db_free_result": { | |
"prefix": "db_free_result", | |
"body": "db_free_result(${1:DBResult:dbresult})$0" | |
}, | |
"db_num_rows": { | |
"prefix": "db_num_rows", | |
"body": "db_num_rows(${1:DBResult:dbresult})$0" | |
}, | |
"db_next_row": { | |
"prefix": "db_next_row", | |
"body": "db_next_row(${1:DBResult:dbresult})$0" | |
}, | |
"db_num_fields": { | |
"prefix": "db_num_fields", | |
"body": "db_num_fields(${1:DBResult:dbresult})$0" | |
}, | |
"db_field_name": { | |
"prefix": "db_field_name", | |
"body": "db_field_name(${1:DBResult:dbresult}, ${2:field}, ${3:result[]}, ${4:maxlength})$0" | |
}, | |
"db_get_field": { | |
"prefix": "db_get_field", | |
"body": "db_get_field(${1:DBResult:dbresult}, ${2:field}, ${3:result[]}, ${4:maxlength})$0" | |
}, | |
"db_get_field_int": { | |
"prefix": "db_get_field_int", | |
"body": "db_get_field_int(${1:DBResult:result}, ${2:field = 0})$0" | |
}, | |
"db_get_field_float": { | |
"prefix": "db_get_field_float", | |
"body": "db_get_field_float(${1:DBResult:result}, ${2:field = 0})$0" | |
}, | |
"db_get_field_assoc": { | |
"prefix": "db_get_field_assoc", | |
"body": "db_get_field_assoc(${1:DBResult:dbresult}, ${2:const field[]}, ${3:result[]}, ${4:maxlength})$0" | |
}, | |
"db_get_field_assoc_int": { | |
"prefix": "db_get_field_assoc_int", | |
"body": "db_get_field_assoc_int(${1:DBResult:result}, ${2:const field[]})$0" | |
}, | |
"db_get_field_assoc_float": { | |
"prefix": "db_get_field_assoc_float", | |
"body": "db_get_field_assoc_float(${1:DBResult:result}, ${2:const field[]})$0" | |
}, | |
"db_get_mem_handle": { | |
"prefix": "db_get_mem_handle", | |
"body": "db_get_mem_handle(${1:DB:db})$0" | |
}, | |
"db_get_result_mem_handle": { | |
"prefix": "db_get_result_mem_handle", | |
"body": "db_get_result_mem_handle(${1:DBResult:result})$0" | |
}, | |
"db_debug_openfiles": { | |
"prefix": "db_debug_openfiles", | |
"body": "db_debug_openfiles()$0" | |
}, | |
"db_debug_openresults": { | |
"prefix": "db_debug_openresults", | |
"body": "db_debug_openresults()$0" | |
}, | |
"CreateVehicle": { | |
"prefix": "CreateVehicle", | |
"body": "CreateVehicle(${1:vehicletype}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z}, ${5:Float:rotation}, ${6:color1}, ${7:color2}, ${8:respawn_delay}, ${9:addsiren=0})$0" | |
}, | |
"DestroyVehicle": { | |
"prefix": "DestroyVehicle", | |
"body": "DestroyVehicle(${1:vehicleid})$0" | |
}, | |
"IsVehicleStreamedIn": { | |
"prefix": "IsVehicleStreamedIn", | |
"body": "IsVehicleStreamedIn(${1:vehicleid}, ${2:forplayerid})$0" | |
}, | |
"GetVehiclePos": { | |
"prefix": "GetVehiclePos", | |
"body": "GetVehiclePos(${1:vehicleid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"SetVehiclePos": { | |
"prefix": "SetVehiclePos", | |
"body": "SetVehiclePos(${1:vehicleid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"GetVehicleZAngle": { | |
"prefix": "GetVehicleZAngle", | |
"body": "GetVehicleZAngle(${1:vehicleid}, ${2:Float:z_angle})$0" | |
}, | |
"GetVehicleRotationQuat": { | |
"prefix": "GetVehicleRotationQuat", | |
"body": "GetVehicleRotationQuat(${1:vehicleid}, ${2:Float:w}, ${3:Float:x}, ${4:Float:y}, ${5:Float:z})$0" | |
}, | |
"GetVehicleDistanceFromPoint": { | |
"prefix": "GetVehicleDistanceFromPoint", | |
"body": "GetVehicleDistanceFromPoint(${1:vehicleid}, ${2:Float:X}, ${3:Float:Y}, ${4:Float:Z})$0" | |
}, | |
"SetVehicleZAngle": { | |
"prefix": "SetVehicleZAngle", | |
"body": "SetVehicleZAngle(${1:vehicleid}, ${2:Float:z_angle})$0" | |
}, | |
"SetVehicleParamsForPlayer": { | |
"prefix": "SetVehicleParamsForPlayer", | |
"body": "SetVehicleParamsForPlayer(${1:vehicleid}, ${2:playerid}, ${3:objective}, ${4:doorslocked})$0" | |
}, | |
"ManualVehicleEngineAndLights": { | |
"prefix": "ManualVehicleEngineAndLights", | |
"body": "ManualVehicleEngineAndLights()$0" | |
}, | |
"SetVehicleParamsEx": { | |
"prefix": "SetVehicleParamsEx", | |
"body": "SetVehicleParamsEx(${1:vehicleid}, ${2:engine}, ${3:lights}, ${4:alarm}, ${5:doors}, ${6:bonnet}, ${7:boot}, ${8:objective})$0" | |
}, | |
"GetVehicleParamsEx": { | |
"prefix": "GetVehicleParamsEx", | |
"body": "GetVehicleParamsEx(${1:vehicleid}, ${2:engine}, ${3:lights}, ${4:alarm}, ${5:doors}, ${6:bonnet}, ${7:boot}, ${8:objective})$0" | |
}, | |
"GetVehicleParamsSirenState": { | |
"prefix": "GetVehicleParamsSirenState", | |
"body": "GetVehicleParamsSirenState(${1:vehicleid})$0" | |
}, | |
"SetVehicleParamsCarDoors": { | |
"prefix": "SetVehicleParamsCarDoors", | |
"body": "SetVehicleParamsCarDoors(${1:vehicleid}, ${2:driver}, ${3:passenger}, ${4:backleft}, ${5:backright})$0" | |
}, | |
"GetVehicleParamsCarDoors": { | |
"prefix": "GetVehicleParamsCarDoors", | |
"body": "GetVehicleParamsCarDoors(${1:vehicleid}, ${2:driver}, ${3:passenger}, ${4:backleft}, ${5:backright})$0" | |
}, | |
"SetVehicleParamsCarWindows": { | |
"prefix": "SetVehicleParamsCarWindows", | |
"body": "SetVehicleParamsCarWindows(${1:vehicleid}, ${2:driver}, ${3:passenger}, ${4:backleft}, ${5:backright})$0" | |
}, | |
"GetVehicleParamsCarWindows": { | |
"prefix": "GetVehicleParamsCarWindows", | |
"body": "GetVehicleParamsCarWindows(${1:vehicleid}, ${2:driver}, ${3:passenger}, ${4:backleft}, ${5:backright})$0" | |
}, | |
"SetVehicleToRespawn": { | |
"prefix": "SetVehicleToRespawn", | |
"body": "SetVehicleToRespawn(${1:vehicleid})$0" | |
}, | |
"LinkVehicleToInterior": { | |
"prefix": "LinkVehicleToInterior", | |
"body": "LinkVehicleToInterior(${1:vehicleid}, ${2:interiorid})$0" | |
}, | |
"AddVehicleComponent": { | |
"prefix": "AddVehicleComponent", | |
"body": "AddVehicleComponent(${1:vehicleid}, ${2:componentid})$0" | |
}, | |
"RemoveVehicleComponent": { | |
"prefix": "RemoveVehicleComponent", | |
"body": "RemoveVehicleComponent(${1:vehicleid}, ${2:componentid})$0" | |
}, | |
"ChangeVehicleColor": { | |
"prefix": "ChangeVehicleColor", | |
"body": "ChangeVehicleColor(${1:vehicleid}, ${2:color1}, ${3:color2})$0" | |
}, | |
"ChangeVehiclePaintjob": { | |
"prefix": "ChangeVehiclePaintjob", | |
"body": "ChangeVehiclePaintjob(${1:vehicleid}, ${2:paintjobid})$0" | |
}, | |
"SetVehicleHealth": { | |
"prefix": "SetVehicleHealth", | |
"body": "SetVehicleHealth(${1:vehicleid}, ${2:Float:health})$0" | |
}, | |
"GetVehicleHealth": { | |
"prefix": "GetVehicleHealth", | |
"body": "GetVehicleHealth(${1:vehicleid}, ${2:Float:health})$0" | |
}, | |
"AttachTrailerToVehicle": { | |
"prefix": "AttachTrailerToVehicle", | |
"body": "AttachTrailerToVehicle(${1:trailerid}, ${2:vehicleid})$0" | |
}, | |
"DetachTrailerFromVehicle": { | |
"prefix": "DetachTrailerFromVehicle", | |
"body": "DetachTrailerFromVehicle(${1:vehicleid})$0" | |
}, | |
"IsTrailerAttachedToVehicle": { | |
"prefix": "IsTrailerAttachedToVehicle", | |
"body": "IsTrailerAttachedToVehicle(${1:vehicleid})$0" | |
}, | |
"GetVehicleTrailer": { | |
"prefix": "GetVehicleTrailer", | |
"body": "GetVehicleTrailer(${1:vehicleid})$0" | |
}, | |
"SetVehicleNumberPlate": { | |
"prefix": "SetVehicleNumberPlate", | |
"body": "SetVehicleNumberPlate(${1:vehicleid}, ${2:numberplate[]})$0" | |
}, | |
"GetVehicleModel": { | |
"prefix": "GetVehicleModel", | |
"body": "GetVehicleModel(${1:vehicleid})$0" | |
}, | |
"GetVehicleComponentInSlot": { | |
"prefix": "GetVehicleComponentInSlot", | |
"body": "GetVehicleComponentInSlot(${1:vehicleid}, ${2:slot})$0" | |
}, | |
"GetVehicleComponentType": { | |
"prefix": "GetVehicleComponentType", | |
"body": "GetVehicleComponentType(${1:component})$0" | |
}, | |
"RepairVehicle": { | |
"prefix": "RepairVehicle", | |
"body": "RepairVehicle(${1:vehicleid})$0" | |
}, | |
"GetVehicleVelocity": { | |
"prefix": "GetVehicleVelocity", | |
"body": "GetVehicleVelocity(${1:vehicleid}, ${2:Float:X}, ${3:Float:Y}, ${4:Float:Z})$0" | |
}, | |
"SetVehicleVelocity": { | |
"prefix": "SetVehicleVelocity", | |
"body": "SetVehicleVelocity(${1:vehicleid}, ${2:Float:X}, ${3:Float:Y}, ${4:Float:Z})$0" | |
}, | |
"SetVehicleAngularVelocity": { | |
"prefix": "SetVehicleAngularVelocity", | |
"body": "SetVehicleAngularVelocity(${1:vehicleid}, ${2:Float:X}, ${3:Float:Y}, ${4:Float:Z})$0" | |
}, | |
"GetVehicleDamageStatus": { | |
"prefix": "GetVehicleDamageStatus", | |
"body": "GetVehicleDamageStatus(${1:vehicleid}, ${2:panels}, ${3:doors}, ${4:lights}, ${5:tires})$0" | |
}, | |
"UpdateVehicleDamageStatus": { | |
"prefix": "UpdateVehicleDamageStatus", | |
"body": "UpdateVehicleDamageStatus(${1:vehicleid}, ${2:panels}, ${3:doors}, ${4:lights}, ${5:tires})$0" | |
}, | |
"GetVehicleModelInfo": { | |
"prefix": "GetVehicleModelInfo", | |
"body": "GetVehicleModelInfo(${1:vehiclemodel}, ${2:infotype}, ${3:Float:X}, ${4:Float:Y}, ${5:Float:Z})$0" | |
}, | |
"SetVehicleVirtualWorld": { | |
"prefix": "SetVehicleVirtualWorld", | |
"body": "SetVehicleVirtualWorld(${1:vehicleid}, ${2:worldid})$0" | |
}, | |
"GetVehicleVirtualWorld": { | |
"prefix": "GetVehicleVirtualWorld", | |
"body": "GetVehicleVirtualWorld(${1:vehicleid})$0" | |
}, | |
"CA_Init": { | |
"prefix": "CA_Init", | |
"body": "CA_Init()$0" | |
}, | |
"CA_RemoveBuilding": { | |
"prefix": "CA_RemoveBuilding", | |
"body": "CA_RemoveBuilding(${1:modelid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z}, ${5:Float:radius})$0" | |
}, | |
"CA_RayCastLine": { | |
"prefix": "CA_RayCastLine", | |
"body": "CA_RayCastLine(${1:Float:StartX}, ${2:Float:StartY}, ${3:Float:StartZ}, ${4:Float:EndX}, ${5:Float:EndY}, ${6:Float:EndZ}, ${7:Float:x}, ${8:Float:y}, ${9:Float:z})$0" | |
}, | |
"CA_RayCastLineID": { | |
"prefix": "CA_RayCastLineID", | |
"body": "CA_RayCastLineID(${1:Float:StartX}, ${2:Float:StartY}, ${3:Float:StartZ}, ${4:Float:EndX}, ${5:Float:EndY}, ${6:Float:EndZ}, ${7:Float:x}, ${8:Float:y}, ${9:Float:z})$0" | |
}, | |
"CA_RayCastLineExtraID": { | |
"prefix": "CA_RayCastLineExtraID", | |
"body": "CA_RayCastLineExtraID(${1:type}, ${2:Float:StartX}, ${3:Float:StartY}, ${4:Float:StartZ}, ${5:Float:EndX}, ${6:Float:EndY}, ${7:Float:EndZ}, ${8:Float:x}, ${9:Float:y}, ${10:Float:z})$0" | |
}, | |
"CA_RayCastMultiLine": { | |
"prefix": "CA_RayCastMultiLine", | |
"body": "CA_RayCastMultiLine(${1:Float:StartX}, ${2:Float:StartY}, ${3:Float:StartZ}, ${4:Float:EndX}, ${5:Float:EndY}, ${6:Float:EndZ}, ${7:Float:retx[]}, ${8:Float:rety[]}, ${9:Float:retz[]}, ${10:Float:retdist[]}, ${11:ModelIDs[]}, ${12:size = sizeof(retx})$0" | |
}, | |
"CA_RayCastLineAngle": { | |
"prefix": "CA_RayCastLineAngle", | |
"body": "CA_RayCastLineAngle(${1:Float:StartX}, ${2:Float:StartY}, ${3:Float:StartZ}, ${4:Float:EndX}, ${5:Float:EndY}, ${6:Float:EndZ}, ${7:Float:x}, ${8:Float:y}, ${9:Float:z}, ${10:Float:rx}, ${11:Float:ry}, ${12:Float:rz})$0" | |
}, | |
"CA_RayCastReflectionVector": { | |
"prefix": "CA_RayCastReflectionVector", | |
"body": "CA_RayCastReflectionVector(${1:Float:startx}, ${2:Float:starty}, ${3:Float:startz}, ${4:Float:endx}, ${5:Float:endy}, ${6:Float:endz}, ${7:Float:x}, ${8:Float:y}, ${9:Float:z}, ${10:Float:nx}, ${11:Float:ny}, ${12:Float:nz})$0" | |
}, | |
"CA_RayCastLineNormal": { | |
"prefix": "CA_RayCastLineNormal", | |
"body": "CA_RayCastLineNormal(${1:Float:startx}, ${2:Float:starty}, ${3:Float:startz}, ${4:Float:endx}, ${5:Float:endy}, ${6:Float:endz}, ${7:Float:x}, ${8:Float:y}, ${9:Float:z}, ${10:Float:nx}, ${11:Float:ny}, ${12:Float:nz})$0" | |
}, | |
"CA_ContactTest": { | |
"prefix": "CA_ContactTest", | |
"body": "CA_ContactTest(${1:modelid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z}, ${5:Float:rx}, ${6:Float:ry}, ${7:Float:rz})$0" | |
}, | |
"CA_EulerToQuat": { | |
"prefix": "CA_EulerToQuat", | |
"body": "CA_EulerToQuat(${1:Float:rx}, ${2:Float:ry}, ${3:Float:rz}, ${4:Float:x}, ${5:Float:y}, ${6:Float:z}, ${7:Float:w})$0" | |
}, | |
"CA_QuatToEuler": { | |
"prefix": "CA_QuatToEuler", | |
"body": "CA_QuatToEuler(${1:Float:x}, ${2:Float:y}, ${3:Float:z}, ${4:Float:w}, ${5:Float:rx}, ${6:Float:ry}, ${7:Float:rz})$0" | |
}, | |
"CA_GetModelBoundingSphere": { | |
"prefix": "CA_GetModelBoundingSphere", | |
"body": "CA_GetModelBoundingSphere(${1:modelid}, ${2:Float:offx}, ${3:Float:offy}, ${4:Float:offz}, ${5:Float:radius})$0" | |
}, | |
"CA_GetModelBoundingBox": { | |
"prefix": "CA_GetModelBoundingBox", | |
"body": "CA_GetModelBoundingBox(${1:modelid}, ${2:Float:minx}, ${3:Float:miny}, ${4:Float:minz}, ${5:Float:maxx}, ${6:Float:maxy}, ${7:Float:maxz})$0" | |
}, | |
"CA_SetObjectExtraID": { | |
"prefix": "CA_SetObjectExtraID", | |
"body": "CA_SetObjectExtraID(${1:index}, ${2:type}, ${3:data})$0" | |
}, | |
"CA_GetObjectExtraID": { | |
"prefix": "CA_GetObjectExtraID", | |
"body": "CA_GetObjectExtraID(${1:index}, ${2:type})$0" | |
}, | |
"CA_RayCastLineEx": { | |
"prefix": "CA_RayCastLineEx", | |
"body": "CA_RayCastLineEx(${1:Float:StartX}, ${2:Float:StartY}, ${3:Float:StartZ}, ${4:Float:EndX}, ${5:Float:EndY}, ${6:Float:EndZ}, ${7:Float:x}, ${8:Float:y}, ${9:Float:z}, ${10:Float:rx}, ${11:Float:ry}, ${12:Float:rz}, ${13:Float:rw}, ${14:Float:cx}, ${15:Float:cy}, ${16:Float:cz})$0" | |
}, | |
"CA_RayCastLineAngleEx": { | |
"prefix": "CA_RayCastLineAngleEx", | |
"body": "CA_RayCastLineAngleEx(${1:Float:StartX}, ${2:Float:StartY}, ${3:Float:StartZ}, ${4:Float:EndX}, ${5:Float:EndY}, ${6:Float:EndZ}, ${7:Float:x}, ${8:Float:y}, ${9:Float:z}, ${10:Float:rx}, ${11:Float:ry}, ${12:Float:rz}, ${13:Float:ocx}, ${14:Float:ocy}, ${15:Float:ocz}, ${16:Float:orx}, ${17:Float:ory}, ${18:Float:orz})$0" | |
}, | |
"CA_CreateObject": { | |
"prefix": "CA_CreateObject", | |
"body": "CA_CreateObject(${1:modelid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z}, ${5:Float:rx}, ${6:Float:ry}, ${7:Float:rz}, ${8:bool:add = false})$0" | |
}, | |
"CA_DestroyObject": { | |
"prefix": "CA_DestroyObject", | |
"body": "CA_DestroyObject(${1:index})$0" | |
}, | |
"CA_SetObjectPos": { | |
"prefix": "CA_SetObjectPos", | |
"body": "CA_SetObjectPos(${1:index}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"CA_SetObjectRot": { | |
"prefix": "CA_SetObjectRot", | |
"body": "CA_SetObjectRot(${1:index}, ${2:Float:rx}, ${3:Float:ry}, ${4:Float:rz})$0" | |
}, | |
"CA_OnFilterScriptExit": { | |
"prefix": "CA_OnFilterScriptExit", | |
"body": "CA_OnFilterScriptExit()$0" | |
}, | |
"CA_OnGameModeExit": { | |
"prefix": "CA_OnGameModeExit", | |
"body": "CA_OnGameModeExit()$0" | |
}, | |
"heapspace": { | |
"prefix": "heapspace", | |
"body": "heapspace()$0" | |
}, | |
"funcidx": { | |
"prefix": "funcidx", | |
"body": "funcidx(${1:const name[]})$0" | |
}, | |
"numargs": { | |
"prefix": "numargs", | |
"body": "numargs()$0" | |
}, | |
"getarg": { | |
"prefix": "getarg", | |
"body": "getarg(${1:arg}, ${2:index=0})$0" | |
}, | |
"setarg": { | |
"prefix": "setarg", | |
"body": "setarg(${1:arg}, ${2:index=0}, ${3:value})$0" | |
}, | |
"tolower": { | |
"prefix": "tolower", | |
"body": "tolower(${1:c})$0" | |
}, | |
"toupper": { | |
"prefix": "toupper", | |
"body": "toupper(${1:c})$0" | |
}, | |
"swapchars": { | |
"prefix": "swapchars", | |
"body": "swapchars(${1:c})$0" | |
}, | |
"random": { | |
"prefix": "random", | |
"body": "random(${1:max})$0" | |
}, | |
"min": { | |
"prefix": "min", | |
"body": "min(${1:value1}, ${2:value2})$0" | |
}, | |
"max": { | |
"prefix": "max", | |
"body": "max(${1:value1}, ${2:value2})$0" | |
}, | |
"clamp": { | |
"prefix": "clamp", | |
"body": "clamp(${1:value}, ${2:min=cellmin}, ${3:max=cellmax})$0" | |
}, | |
"getproperty": { | |
"prefix": "getproperty", | |
"body": "getproperty(${1:id=0}, ${2:const name[]=\"\"}, ${3:value=cellmin}, ${4:string[]=\"\"})$0" | |
}, | |
"setproperty": { | |
"prefix": "setproperty", | |
"body": "setproperty(${1:id=0}, ${2:const name[]=\"\"}, ${3:value=cellmin}, ${4:const string[]=\"\"})$0" | |
}, | |
"deleteproperty": { | |
"prefix": "deleteproperty", | |
"body": "deleteproperty(${1:id=0}, ${2:const name[]=\"\"}, ${3:value=cellmin})$0" | |
}, | |
"existproperty": { | |
"prefix": "existproperty", | |
"body": "existproperty(${1:id=0}, ${2:const name[]=\"\"}, ${3:value=cellmin})$0" | |
}, | |
"PrintAmxBacktrace": { | |
"prefix": "PrintAmxBacktrace", | |
"body": "PrintAmxBacktrace()$0" | |
}, | |
"PrintNativeBacktrace": { | |
"prefix": "PrintNativeBacktrace", | |
"body": "PrintNativeBacktrace()$0" | |
}, | |
"GetAmxBacktrace": { | |
"prefix": "GetAmxBacktrace", | |
"body": "GetAmxBacktrace(${1:string[]}, ${2:size = sizeof(string})$0" | |
}, | |
"GetNativeBacktrace": { | |
"prefix": "GetNativeBacktrace", | |
"body": "GetNativeBacktrace(${1:string[]}, ${2:size = sizeof(string})$0" | |
}, | |
"OnRuntimeError": { | |
"prefix": "OnRuntimeError", | |
"body": "OnRuntimeError(${1:code}, ${2:bool:suppress})$0" | |
}, | |
"IsCrashDetectPresent": { | |
"prefix": "IsCrashDetectPresent", | |
"body": "IsCrashDetectPresent()$0" | |
}, | |
"sendstring": { | |
"prefix": "sendstring", | |
"body": "sendstring(${1:const message[]}, ${2:const destination[]=\"\"})$0" | |
}, | |
"sendpacket": { | |
"prefix": "sendpacket", | |
"body": "sendpacket(${1:const packet[]}, ${2:size}, ${3:const destination[]=\"\"})$0" | |
}, | |
"listenport": { | |
"prefix": "listenport", | |
"body": "listenport(${1:port})$0" | |
}, | |
"receivestring": { | |
"prefix": "receivestring", | |
"body": "receivestring(${1:const message[]}, ${2:const source[]})$0" | |
}, | |
"receivepacket": { | |
"prefix": "receivepacket", | |
"body": "receivepacket(${1:const packet[]}, ${2:size}, ${3:const source[]})$0" | |
}, | |
"djCount": { | |
"prefix": "djCount", | |
"body": "djCount(${1:file[]}, ${2:path[]}, ${3:use_cached_value=true})$0" | |
}, | |
"djIsSet": { | |
"prefix": "djIsSet", | |
"body": "djIsSet(${1:file[]}, ${2:path[]}, ${3:use_cached_value=true})$0" | |
}, | |
"djUnset": { | |
"prefix": "djUnset", | |
"body": "djUnset(${1:file[]}, ${2:path[]}, ${3:use_cached_value=true})$0" | |
}, | |
"djAppend": { | |
"prefix": "djAppend", | |
"body": "djAppend(${1:file[]}, ${2:path[]}, ${3:value[]}, ${4:use_cached_value=true})$0" | |
}, | |
"djSet": { | |
"prefix": "djSet", | |
"body": "djSet(${1:file[]}, ${2:path[]}, ${3:new_value[]}, ${4:use_cached_value=true})$0" | |
}, | |
"djSetInt": { | |
"prefix": "djSetInt", | |
"body": "djSetInt(${1:file[]}, ${2:path[]}, ${3:new_value}, ${4:use_cached_value=true})$0" | |
}, | |
"djSetFloat": { | |
"prefix": "djSetFloat", | |
"body": "djSetFloat(${1:file[]}, ${2:path[]}, ${3:Float:new_value}, ${4:use_cached_value=true})$0" | |
}, | |
"dj": { | |
"prefix": "dj", | |
"body": "dj(${1:file[]}, ${2:path[]}, ${3:use_cached_value=true})$0" | |
}, | |
"djInt": { | |
"prefix": "djInt", | |
"body": "djInt(${1:file[]}, ${2:path[]}, ${3:use_cached_value=true})$0" | |
}, | |
"djFloat": { | |
"prefix": "djFloat", | |
"body": "djFloat(${1:file[]}, ${2:path[]}, ${3:use_cached_value=true})$0" | |
}, | |
"djAutocommit": { | |
"prefix": "djAutocommit", | |
"body": "djAutocommit(${1:toggle})$0" | |
}, | |
"djCommit": { | |
"prefix": "djCommit", | |
"body": "djCommit(${1:file[]})$0" | |
}, | |
"djRevert": { | |
"prefix": "djRevert", | |
"body": "djRevert(${1:file[]})$0" | |
}, | |
"djStyled": { | |
"prefix": "djStyled", | |
"body": "djStyled(${1:toggle})$0" | |
}, | |
"djCreateFile": { | |
"prefix": "djCreateFile", | |
"body": "djCreateFile(${1:file[]})$0" | |
}, | |
"djRemoveFile": { | |
"prefix": "djRemoveFile", | |
"body": "djRemoveFile(${1:file[]})$0" | |
}, | |
"OnDialogPerformed": { | |
"prefix": "OnDialogPerformed", | |
"body": "OnDialogPerformed(${1:playerid}, ${2:dialog[]}, ${3:response}, ${4:success})$0" | |
}, | |
"Dialog_Opened": { | |
"prefix": "Dialog_Opened", | |
"body": "Dialog_Opened(${1:playerid})$0" | |
}, | |
"Dialog_Close": { | |
"prefix": "Dialog_Close", | |
"body": "Dialog_Close(${1:playerid})$0" | |
}, | |
"Dialog_Show": { | |
"prefix": "Dialog_Show", | |
"body": "Dialog_Show(${1:playerid}, ${2:function[]}, ${3:style}, ${4:caption[]}, ${5:info[]}, ${6:button1[]}, ${7:button2[]}, ${8:...})$0" | |
}, | |
"Dialog": { | |
"prefix": "Dialog", | |
"body": "Dialog:${1:name}(${2:params})$0" | |
}, | |
"fopen": { | |
"prefix": "fopen", | |
"body": "fopen(${1:const name[]}, ${2:filemode: mode = io_readwrite})$0" | |
}, | |
"fclose": { | |
"prefix": "fclose", | |
"body": "fclose(${1:File: handle})$0" | |
}, | |
"ftemp": { | |
"prefix": "ftemp", | |
"body": "ftemp()$0" | |
}, | |
"fremove": { | |
"prefix": "fremove", | |
"body": "fremove(${1:const name[]})$0" | |
}, | |
"fwrite": { | |
"prefix": "fwrite", | |
"body": "fwrite(${1:File: handle}, ${2:const string[]})$0" | |
}, | |
"fread": { | |
"prefix": "fread", | |
"body": "fread(${1:File: handle}, ${2:string[]}, ${3:size = sizeof string}, ${4:bool: pack = false})$0" | |
}, | |
"fputchar": { | |
"prefix": "fputchar", | |
"body": "fputchar(${1:File: handle}, ${2:value}, ${3:bool: utf8 = true})$0" | |
}, | |
"fgetchar": { | |
"prefix": "fgetchar", | |
"body": "fgetchar(${1:File: handle}, ${2:value}, ${3:bool: utf8 = true})$0" | |
}, | |
"fblockwrite": { | |
"prefix": "fblockwrite", | |
"body": "fblockwrite(${1:File: handle}, ${2:const buffer[]}, ${3:size = sizeof buffer})$0" | |
}, | |
"fblockread": { | |
"prefix": "fblockread", | |
"body": "fblockread(${1:File: handle}, ${2:buffer[]}, ${3:size = sizeof buffer})$0" | |
}, | |
"fseek": { | |
"prefix": "fseek", | |
"body": "fseek(${1:File: handle}, ${2:position = 0}, ${3:seek_whence: whence = seek_start})$0" | |
}, | |
"flength": { | |
"prefix": "flength", | |
"body": "flength(${1:File: handle})$0" | |
}, | |
"fexist": { | |
"prefix": "fexist", | |
"body": "fexist(${1:const pattern[]})$0" | |
}, | |
"fmatch": { | |
"prefix": "fmatch", | |
"body": "fmatch(${1:name[]}, ${2:const pattern[]}, ${3:index = 0}, ${4:size = sizeof name})$0" | |
}, | |
"file_move": { | |
"prefix": "file_move", | |
"body": "file_move(${1:file[]}, ${2:destination[]})$0" | |
}, | |
"file_copy": { | |
"prefix": "file_copy", | |
"body": "file_copy(${1:file[]}, ${2:destination[]})$0" | |
}, | |
"file_delete": { | |
"prefix": "file_delete", | |
"body": "file_delete(${1:file[]})$0" | |
}, | |
"file_create": { | |
"prefix": "file_create", | |
"body": "file_create(${1:file[]})$0" | |
}, | |
"file_write": { | |
"prefix": "file_write", | |
"body": "file_write(${1:file[]}, ${2:text[]}, ${3:mode[] = \"a\"})$0" | |
}, | |
"file_read": { | |
"prefix": "file_read", | |
"body": "file_read(${1:file[]}, ${2:storage[]}, ${3:size = sizeof(storage})$0" | |
}, | |
"file_log": { | |
"prefix": "file_log", | |
"body": "file_log()$0" | |
}, | |
"file_exists": { | |
"prefix": "file_exists", | |
"body": "file_exists(${1:file[]})$0" | |
}, | |
"f_open": { | |
"prefix": "f_open", | |
"body": "f_open(${1:file[]}, ${2:mode[] = \"r\"})$0" | |
}, | |
"f_close": { | |
"prefix": "f_close", | |
"body": "f_close(${1:File: file})$0" | |
}, | |
"f_read": { | |
"prefix": "f_read", | |
"body": "f_read(${1:File: file}, ${2:storage[]}, ${3:size = sizeof(storage})$0" | |
}, | |
"f_write": { | |
"prefix": "f_write", | |
"body": "f_write(${1:File: file}, ${2:string[]})$0" | |
}, | |
"dir_create": { | |
"prefix": "dir_create", | |
"body": "dir_create(${1:directory[]})$0" | |
}, | |
"dir_delete": { | |
"prefix": "dir_delete", | |
"body": "dir_delete(${1:directory[]})$0" | |
}, | |
"dir_exists": { | |
"prefix": "dir_exists", | |
"body": "dir_exists(${1:directory[]})$0" | |
}, | |
"dir_open": { | |
"prefix": "dir_open", | |
"body": "dir_open(${1:directory[]})$0" | |
}, | |
"dir_close": { | |
"prefix": "dir_close", | |
"body": "dir_close(${1:dir:handle})$0" | |
}, | |
"dir_list": { | |
"prefix": "dir_list", | |
"body": "dir_list(${1:dir:handle}, ${2:storage[]}, ${3:type}, ${4:length = sizeof(storage})$0" | |
}, | |
"float": { | |
"prefix": "float", | |
"body": "float(${1:value})$0" | |
}, | |
"floatstr": { | |
"prefix": "floatstr", | |
"body": "floatstr(${1:const string[]})$0" | |
}, | |
"floatmul": { | |
"prefix": "floatmul", | |
"body": "floatmul(${1:Float:oper1}, ${2:Float:oper2})$0" | |
}, | |
"floatdiv": { | |
"prefix": "floatdiv", | |
"body": "floatdiv(${1:Float:dividend}, ${2:Float:divisor})$0" | |
}, | |
"floatadd": { | |
"prefix": "floatadd", | |
"body": "floatadd(${1:Float:oper1}, ${2:Float:oper2})$0" | |
}, | |
"floatsub": { | |
"prefix": "floatsub", | |
"body": "floatsub(${1:Float:oper1}, ${2:Float:oper2})$0" | |
}, | |
"floatfract": { | |
"prefix": "floatfract", | |
"body": "floatfract(${1:Float:value})$0" | |
}, | |
"floatround": { | |
"prefix": "floatround", | |
"body": "floatround(${1:Float:value}, ${2:floatround_method:method=floatround_round})$0" | |
}, | |
"floatcmp": { | |
"prefix": "floatcmp", | |
"body": "floatcmp(${1:Float:oper1}, ${2:Float:oper2})$0" | |
}, | |
"floatsqroot": { | |
"prefix": "floatsqroot", | |
"body": "floatsqroot(${1:Float:value})$0" | |
}, | |
"floatpower": { | |
"prefix": "floatpower", | |
"body": "floatpower(${1:Float:value}, ${2:Float:exponent})$0" | |
}, | |
"floatlog": { | |
"prefix": "floatlog", | |
"body": "floatlog(${1:Float:value}, ${2:Float:base=10.0})$0" | |
}, | |
"floatsin": { | |
"prefix": "floatsin", | |
"body": "floatsin(${1:Float:value}, ${2:anglemode:mode=radian})$0" | |
}, | |
"floatcos": { | |
"prefix": "floatcos", | |
"body": "floatcos(${1:Float:value}, ${2:anglemode:mode=radian})$0" | |
}, | |
"floattan": { | |
"prefix": "floattan", | |
"body": "floattan(${1:Float:value}, ${2:anglemode:mode=radian})$0" | |
}, | |
"floatabs": { | |
"prefix": "floatabs", | |
"body": "floatabs(${1:Float:value})$0" | |
}, | |
"GetPlayerCountry": { | |
"prefix": "GetPlayerCountry", | |
"body": "GetPlayerCountry(${1:playerid}, ${2:string[]}, ${3:const len = sizeof(string})$0" | |
}, | |
"GetPlayerISP": { | |
"prefix": "GetPlayerISP", | |
"body": "GetPlayerISP(${1:playerid}, ${2:string[]}, ${3:const len = sizeof(string})$0" | |
}, | |
"GetPlayerCity": { | |
"prefix": "GetPlayerCity", | |
"body": "GetPlayerCity(${1:playerid}, ${2:string[]}, ${3:const len = sizeof(string})$0" | |
}, | |
"GetPlayerGMT": { | |
"prefix": "GetPlayerGMT", | |
"body": "GetPlayerGMT(${1:playerid})$0" | |
}, | |
"GetPlayerProxy": { | |
"prefix": "GetPlayerProxy", | |
"body": "GetPlayerProxy(${1:playerid})$0" | |
}, | |
"GetIPCountry": { | |
"prefix": "GetIPCountry", | |
"body": "GetIPCountry(${1:ip[]}, ${2:dest[]}, ${3:const len = sizeof(dest})$0" | |
}, | |
"GetIPISP": { | |
"prefix": "GetIPISP", | |
"body": "GetIPISP(${1:ip[]}, ${2:dest[]}, ${3:const len = sizeof(dest})$0" | |
}, | |
"GetIPCity": { | |
"prefix": "GetIPCity", | |
"body": "GetIPCity(${1:ip[]}, ${2:dest[]}, ${3:const len = sizeof(dest})$0" | |
}, | |
"GetIPGMT": { | |
"prefix": "GetIPGMT", | |
"body": "GetIPGMT(${1:ip[]})$0" | |
}, | |
"GetIPProxy": { | |
"prefix": "GetIPProxy", | |
"body": "GetIPProxy(${1:ip[]})$0" | |
}, | |
"SetGVarInt": { | |
"prefix": "SetGVarInt", | |
"body": "SetGVarInt(${1:const name[]}, ${2:value}, ${3:id = 0})$0" | |
}, | |
"GetGVarInt": { | |
"prefix": "GetGVarInt", | |
"body": "GetGVarInt(${1:const name[]}, ${2:id = 0})$0" | |
}, | |
"SetGVarString": { | |
"prefix": "SetGVarString", | |
"body": "SetGVarString(${1:const name[]}, ${2:const value[]}, ${3:id = 0})$0" | |
}, | |
"GetGVarString": { | |
"prefix": "GetGVarString", | |
"body": "GetGVarString(${1:const name[]}, ${2:dest[]}, ${3:maxlength = sizeof dest}, ${4:id = 0})$0" | |
}, | |
"SetGVarFloat": { | |
"prefix": "SetGVarFloat", | |
"body": "SetGVarFloat(${1:const name[]}, ${2:Float:value}, ${3:id = 0})$0" | |
}, | |
"GetGVarFloat": { | |
"prefix": "GetGVarFloat", | |
"body": "GetGVarFloat(${1:const name[]}, ${2:id = 0})$0" | |
}, | |
"DeleteGVar": { | |
"prefix": "DeleteGVar", | |
"body": "DeleteGVar(${1:const name[]}, ${2:id = 0})$0" | |
}, | |
"GetGVarsUpperIndex": { | |
"prefix": "GetGVarsUpperIndex", | |
"body": "GetGVarsUpperIndex(${1:id = 0})$0" | |
}, | |
"GetGVarNameAtIndex": { | |
"prefix": "GetGVarNameAtIndex", | |
"body": "GetGVarNameAtIndex(${1:index}, ${2:dest[]}, ${3:maxlength = sizeof dest}, ${4:id = 0})$0" | |
}, | |
"GetGVarType": { | |
"prefix": "GetGVarType", | |
"body": "GetGVarType(${1:const name[]}, ${2:id = 0})$0" | |
}, | |
"IRC_Connect": { | |
"prefix": "IRC_Connect", | |
"body": "IRC_Connect(${1:const server[]}, ${2:port}, ${3:const nickname[]}, ${4:const realname[]}, ${5:const username[]}, ${6:bool:ssl = false}, ${7:const localip[] = \"\"}, ${8:const serverpassword[] = \"\"})$0" | |
}, | |
"IRC_Quit": { | |
"prefix": "IRC_Quit", | |
"body": "IRC_Quit(${1:botid}, ${2:const message[] = \"\"})$0" | |
}, | |
"IRC_JoinChannel": { | |
"prefix": "IRC_JoinChannel", | |
"body": "IRC_JoinChannel(${1:botid}, ${2:const channel[]}, ${3:const key[] = \"\"})$0" | |
}, | |
"IRC_PartChannel": { | |
"prefix": "IRC_PartChannel", | |
"body": "IRC_PartChannel(${1:botid}, ${2:const channel[]}, ${3:const message[] = \"\"})$0" | |
}, | |
"IRC_ChangeNick": { | |
"prefix": "IRC_ChangeNick", | |
"body": "IRC_ChangeNick(${1:botid}, ${2:const nick[]})$0" | |
}, | |
"IRC_SetMode": { | |
"prefix": "IRC_SetMode", | |
"body": "IRC_SetMode(${1:botid}, ${2:const target[]}, ${3:const mode[]})$0" | |
}, | |
"IRC_Say": { | |
"prefix": "IRC_Say", | |
"body": "IRC_Say(${1:botid}, ${2:const target[]}, ${3:const message[]})$0" | |
}, | |
"IRC_Notice": { | |
"prefix": "IRC_Notice", | |
"body": "IRC_Notice(${1:botid}, ${2:const target[]}, ${3:const message[]})$0" | |
}, | |
"IRC_IsUserOnChannel": { | |
"prefix": "IRC_IsUserOnChannel", | |
"body": "IRC_IsUserOnChannel(${1:botid}, ${2:const channel[]}, ${3:const user[]})$0" | |
}, | |
"IRC_InviteUser": { | |
"prefix": "IRC_InviteUser", | |
"body": "IRC_InviteUser(${1:botid}, ${2:const channel[]}, ${3:const user[]})$0" | |
}, | |
"IRC_KickUser": { | |
"prefix": "IRC_KickUser", | |
"body": "IRC_KickUser(${1:botid}, ${2:const channel[]}, ${3:const user[]}, ${4:const message[] = \"\"})$0" | |
}, | |
"IRC_GetUserChannelMode": { | |
"prefix": "IRC_GetUserChannelMode", | |
"body": "IRC_GetUserChannelMode(${1:botid}, ${2:const channel[]}, ${3:const user[]}, ${4:dest[]})$0" | |
}, | |
"IRC_GetChannelUserList": { | |
"prefix": "IRC_GetChannelUserList", | |
"body": "IRC_GetChannelUserList(${1:botid}, ${2:const channel[]}, ${3:dest[]}, ${4:maxlength = sizeof dest})$0" | |
}, | |
"IRC_SetChannelTopic": { | |
"prefix": "IRC_SetChannelTopic", | |
"body": "IRC_SetChannelTopic(${1:botid}, ${2:const channel[]}, ${3:const topic[]})$0" | |
}, | |
"IRC_RequestCTCP": { | |
"prefix": "IRC_RequestCTCP", | |
"body": "IRC_RequestCTCP(${1:botid}, ${2:const user[]}, ${3:const message[]})$0" | |
}, | |
"IRC_ReplyCTCP": { | |
"prefix": "IRC_ReplyCTCP", | |
"body": "IRC_ReplyCTCP(${1:botid}, ${2:const user[]}, ${3:const message[]})$0" | |
}, | |
"IRC_SendRaw": { | |
"prefix": "IRC_SendRaw", | |
"body": "IRC_SendRaw(${1:botid}, ${2:const message[]})$0" | |
}, | |
"IRC_CreateGroup": { | |
"prefix": "IRC_CreateGroup", | |
"body": "IRC_CreateGroup()$0" | |
}, | |
"IRC_DestroyGroup": { | |
"prefix": "IRC_DestroyGroup", | |
"body": "IRC_DestroyGroup(${1:groupid})$0" | |
}, | |
"IRC_AddToGroup": { | |
"prefix": "IRC_AddToGroup", | |
"body": "IRC_AddToGroup(${1:groupid}, ${2:botid})$0" | |
}, | |
"IRC_RemoveFromGroup": { | |
"prefix": "IRC_RemoveFromGroup", | |
"body": "IRC_RemoveFromGroup(${1:groupid}, ${2:botid})$0" | |
}, | |
"IRC_GroupSay": { | |
"prefix": "IRC_GroupSay", | |
"body": "IRC_GroupSay(${1:groupid}, ${2:const target[]}, ${3:const message[]})$0" | |
}, | |
"IRC_GroupNotice": { | |
"prefix": "IRC_GroupNotice", | |
"body": "IRC_GroupNotice(${1:groupid}, ${2:const target[]}, ${3:const message[]})$0" | |
}, | |
"IRC_SetIntData": { | |
"prefix": "IRC_SetIntData", | |
"body": "IRC_SetIntData(${1:botid}, ${2:data}, ${3:value})$0" | |
}, | |
"IRC_OnConnect": { | |
"prefix": "IRC_OnConnect", | |
"body": "IRC_OnConnect(${1:botid}, ${2:ip[]}, ${3:port})$0" | |
}, | |
"IRC_OnDisconnect": { | |
"prefix": "IRC_OnDisconnect", | |
"body": "IRC_OnDisconnect(${1:botid}, ${2:ip[]}, ${3:port}, ${4:reason[]})$0" | |
}, | |
"IRC_OnConnectAttempt": { | |
"prefix": "IRC_OnConnectAttempt", | |
"body": "IRC_OnConnectAttempt(${1:botid}, ${2:ip[]}, ${3:port})$0" | |
}, | |
"IRC_OnConnectAttemptFail": { | |
"prefix": "IRC_OnConnectAttemptFail", | |
"body": "IRC_OnConnectAttemptFail(${1:botid}, ${2:ip[]}, ${3:port}, ${4:reason[]})$0" | |
}, | |
"IRC_OnJoinChannel": { | |
"prefix": "IRC_OnJoinChannel", | |
"body": "IRC_OnJoinChannel(${1:botid}, ${2:channel[]})$0" | |
}, | |
"IRC_OnLeaveChannel": { | |
"prefix": "IRC_OnLeaveChannel", | |
"body": "IRC_OnLeaveChannel(${1:botid}, ${2:channel[]}, ${3:message[]})$0" | |
}, | |
"IRC_OnInvitedToChannel": { | |
"prefix": "IRC_OnInvitedToChannel", | |
"body": "IRC_OnInvitedToChannel(${1:botid}, ${2:channel[]}, ${3:invitinguser[]}, ${4:invitinghost[]})$0" | |
}, | |
"IRC_OnKickedFromChannel": { | |
"prefix": "IRC_OnKickedFromChannel", | |
"body": "IRC_OnKickedFromChannel(${1:botid}, ${2:channel[]}, ${3:oppeduser[]}, ${4:oppedhost[]}, ${5:message[]})$0" | |
}, | |
"IRC_OnUserDisconnect": { | |
"prefix": "IRC_OnUserDisconnect", | |
"body": "IRC_OnUserDisconnect(${1:botid}, ${2:user[]}, ${3:host[]}, ${4:message[]})$0" | |
}, | |
"IRC_OnUserJoinChannel": { | |
"prefix": "IRC_OnUserJoinChannel", | |
"body": "IRC_OnUserJoinChannel(${1:botid}, ${2:channel[]}, ${3:user[]}, ${4:host[]})$0" | |
}, | |
"IRC_OnUserLeaveChannel": { | |
"prefix": "IRC_OnUserLeaveChannel", | |
"body": "IRC_OnUserLeaveChannel(${1:botid}, ${2:channel[]}, ${3:user[]}, ${4:host[]}, ${5:message[]})$0" | |
}, | |
"IRC_OnUserKickedFromChannel": { | |
"prefix": "IRC_OnUserKickedFromChannel", | |
"body": "IRC_OnUserKickedFromChannel(${1:botid}, ${2:channel[]}, ${3:kickeduser[]}, ${4:oppeduser[]}, ${5:oppedhost[]}, ${6:message[]})$0" | |
}, | |
"IRC_OnUserNickChange": { | |
"prefix": "IRC_OnUserNickChange", | |
"body": "IRC_OnUserNickChange(${1:botid}, ${2:oldnick[]}, ${3:newnick[]}, ${4:host[]})$0" | |
}, | |
"IRC_OnUserSetChannelMode": { | |
"prefix": "IRC_OnUserSetChannelMode", | |
"body": "IRC_OnUserSetChannelMode(${1:botid}, ${2:channel[]}, ${3:user[]}, ${4:host[]}, ${5:mode[]})$0" | |
}, | |
"IRC_OnUserSetChannelTopic": { | |
"prefix": "IRC_OnUserSetChannelTopic", | |
"body": "IRC_OnUserSetChannelTopic(${1:botid}, ${2:channel[]}, ${3:user[]}, ${4:host[]}, ${5:topic[]})$0" | |
}, | |
"IRC_OnUserSay": { | |
"prefix": "IRC_OnUserSay", | |
"body": "IRC_OnUserSay(${1:botid}, ${2:recipient[]}, ${3:user[]}, ${4:host[]}, ${5:message[]})$0" | |
}, | |
"IRC_OnUserNotice": { | |
"prefix": "IRC_OnUserNotice", | |
"body": "IRC_OnUserNotice(${1:botid}, ${2:recipient[]}, ${3:user[]}, ${4:host[]}, ${5:message[]})$0" | |
}, | |
"IRC_OnUserRequestCTCP": { | |
"prefix": "IRC_OnUserRequestCTCP", | |
"body": "IRC_OnUserRequestCTCP(${1:botid}, ${2:user[]}, ${3:host[]}, ${4:message[]})$0" | |
}, | |
"IRC_OnUserReplyCTCP": { | |
"prefix": "IRC_OnUserReplyCTCP", | |
"body": "IRC_OnUserReplyCTCP(${1:botid}, ${2:user[]}, ${3:host[]}, ${4:message[]})$0" | |
}, | |
"IRC_OnReceiveNumeric": { | |
"prefix": "IRC_OnReceiveNumeric", | |
"body": "IRC_OnReceiveNumeric(${1:botid}, ${2:numeric}, ${3:message[]})$0" | |
}, | |
"IRC_OnReceiveRaw": { | |
"prefix": "IRC_OnReceiveRaw", | |
"body": "IRC_OnReceiveRaw(${1:botid}, ${2:message[]})$0" | |
}, | |
"IRC_IsVoice": { | |
"prefix": "IRC_IsVoice", | |
"body": "IRC_IsVoice(${1:botid}, ${2:channel[]}, ${3:user[]})$0" | |
}, | |
"IRC_IsHalfop": { | |
"prefix": "IRC_IsHalfop", | |
"body": "IRC_IsHalfop(${1:botid}, ${2:channel[]}, ${3:user[]})$0" | |
}, | |
"IRC_IsOp": { | |
"prefix": "IRC_IsOp", | |
"body": "IRC_IsOp(${1:botid}, ${2:channel[]}, ${3:user[]})$0" | |
}, | |
"IRC_IsAdmin": { | |
"prefix": "IRC_IsAdmin", | |
"body": "IRC_IsAdmin(${1:botid}, ${2:channel[]}, ${3:user[]})$0" | |
}, | |
"IRC_IsOwner": { | |
"prefix": "IRC_IsOwner", | |
"body": "IRC_IsOwner(${1:botid}, ${2:channel[]}, ${3:user[]})$0" | |
}, | |
"GetPlayerHost": { | |
"prefix": "GetPlayerHost", | |
"body": "GetPlayerHost(${1:%1})$0" | |
}, | |
"GetPlayerCountryCode": { | |
"prefix": "GetPlayerCountryCode", | |
"body": "GetPlayerCountryCode(${3:%1})$0" | |
}, | |
"GetPlayerCountryName": { | |
"prefix": "GetPlayerCountryName", | |
"body": "GetPlayerCountryName(${4:%1})$0" | |
}, | |
"GetPlayerCountryRegion": { | |
"prefix": "GetPlayerCountryRegion", | |
"body": "GetPlayerCountryRegion(${5:%1})$0" | |
}, | |
"IsProxyUser": { | |
"prefix": "IsProxyUser", | |
"body": "IsProxyUser(${6:%1})$0" | |
}, | |
"OnLookupResponse": { | |
"prefix": "OnLookupResponse", | |
"body": "OnLookupResponse(${1:sessionid}, ${2:response}, ${3:data[]})$0" | |
}, | |
"LookupPlayerIP": { | |
"prefix": "LookupPlayerIP", | |
"body": "LookupPlayerIP(${1:playerid})$0" | |
}, | |
"GetPlayerFromSession": { | |
"prefix": "GetPlayerFromSession", | |
"body": "GetPlayerFromSession(${1:sessionid})$0" | |
}, | |
"DisplayLookupData": { | |
"prefix": "DisplayLookupData", | |
"body": "DisplayLookupData(${1:playerid}, ${2:targetid})$0" | |
}, | |
"strmidex": { | |
"prefix": "strmidex", | |
"body": "strmidex(${1:dest[]}, ${2:const src[]}, ${3:start}, ${4:end}, ${5:maxlength=sizeof dest})$0" | |
}, | |
"cleardata": { | |
"prefix": "cleardata", | |
"body": "cleardata(${1:src[]})$0" | |
}, | |
"mS_GetNumberOfPages": { | |
"prefix": "mS_GetNumberOfPages", | |
"body": "mS_GetNumberOfPages(${1:ListID})$0" | |
}, | |
"mS_GetNumberOfPagesEx": { | |
"prefix": "mS_GetNumberOfPagesEx", | |
"body": "mS_GetNumberOfPagesEx(${1:playerid})$0" | |
}, | |
"mS_GetAmountOfListItems": { | |
"prefix": "mS_GetAmountOfListItems", | |
"body": "mS_GetAmountOfListItems(${1:ListID})$0" | |
}, | |
"mS_GetAmountOfListItemsEx": { | |
"prefix": "mS_GetAmountOfListItemsEx", | |
"body": "mS_GetAmountOfListItemsEx(${1:playerid})$0" | |
}, | |
"mS_GetPlayerCurrentListID": { | |
"prefix": "mS_GetPlayerCurrentListID", | |
"body": "mS_GetPlayerCurrentListID(${1:playerid})$0" | |
}, | |
"mS_CreateCurrentPageTextDraw": { | |
"prefix": "mS_CreateCurrentPageTextDraw", | |
"body": "mS_CreateCurrentPageTextDraw(${1:playerid}, ${2:Float:Xpos}, ${3:Float:Ypos})$0" | |
}, | |
"mS_CreatePlayerDialogButton": { | |
"prefix": "mS_CreatePlayerDialogButton", | |
"body": "mS_CreatePlayerDialogButton(${1:playerid}, ${2:Float:Xpos}, ${3:Float:Ypos}, ${4:Float:Width}, ${5:Float:Height}, ${6:button_text[]})$0" | |
}, | |
"mS_CreatePlayerHeaderTextDraw": { | |
"prefix": "mS_CreatePlayerHeaderTextDraw", | |
"body": "mS_CreatePlayerHeaderTextDraw(${1:playerid}, ${2:Float:Xpos}, ${3:Float:Ypos}, ${4:header_text[]})$0" | |
}, | |
"mS_CreatePlayerBGTextDraw": { | |
"prefix": "mS_CreatePlayerBGTextDraw", | |
"body": "mS_CreatePlayerBGTextDraw(${1:playerid}, ${2:Float:Xpos}, ${3:Float:Ypos}, ${4:Float:Width}, ${5:Float:Height}, ${6:bgcolor})$0" | |
}, | |
"mS_CreateMPTextDraw": { | |
"prefix": "mS_CreateMPTextDraw", | |
"body": "mS_CreateMPTextDraw(${1:playerid}, ${2:modelindex}, ${3:Float:Xpos}, ${4:Float:Ypos}, ${5:Float:Xrot}, ${6:Float:Yrot}, ${7:Float:Zrot}, ${8:Float:mZoom}, ${9:Float:width}, ${10:Float:height}, ${11:bgcolor})$0" | |
}, | |
"mS_DestroyPlayerMPs": { | |
"prefix": "mS_DestroyPlayerMPs", | |
"body": "mS_DestroyPlayerMPs(${1:playerid})$0" | |
}, | |
"mS_ShowPlayerMPs": { | |
"prefix": "mS_ShowPlayerMPs", | |
"body": "mS_ShowPlayerMPs(${1:playerid})$0" | |
}, | |
"mS_UpdatePageTextDraw": { | |
"prefix": "mS_UpdatePageTextDraw", | |
"body": "mS_UpdatePageTextDraw(${1:playerid})$0" | |
}, | |
"ShowModelSelectionMenu": { | |
"prefix": "ShowModelSelectionMenu", | |
"body": "ShowModelSelectionMenu(${1:playerid}, ${2:ListID}, ${3:header_text[]}, ${4:dialogBGcolor = 0x4A5A6BBB}, ${5:previewBGcolor = 0x88888899 }, ${6:tdSelectionColor = 0xFFFF00AA})$0" | |
}, | |
"ShowModelSelectionMenuEx": { | |
"prefix": "ShowModelSelectionMenuEx", | |
"body": "ShowModelSelectionMenuEx(${1:playerid}, ${2:items_array[]}, ${3:item_amount}, ${4:header_text[]}, ${5:extraid}, ${6:Float:Xrot = 0.0}, ${7:Float:Yrot = 0.0}, ${8:Float:Zrot = 0.0}, ${9:Float:mZoom = 1.0}, ${10:dialogBGcolor = 0x4A5A6BBB}, ${11:previewBGcolor = 0x88888899 }, ${12:tdSelectionColor = 0xFFFF00AA})$0" | |
}, | |
"HideModelSelectionMenu": { | |
"prefix": "HideModelSelectionMenu", | |
"body": "HideModelSelectionMenu(${1:playerid})$0" | |
}, | |
"mS_DestroySelectionMenu": { | |
"prefix": "mS_DestroySelectionMenu", | |
"body": "mS_DestroySelectionMenu(${1:playerid})$0" | |
}, | |
"SendMail": { | |
"prefix": "SendMail", | |
"body": "SendMail(${1:const szReceiver[ ]}, ${2:const szSenderMail[ ]}, ${3:const szSenderName[ ]}, ${4:const szSubject[ ]}, ${5:const szMessage[ ] })$0" | |
}, | |
"OnMailScriptResponse": { | |
"prefix": "OnMailScriptResponse", | |
"body": "OnMailScriptResponse(${1:iIndex}, ${2:iResponseCode}, ${3:const szData[ ] })$0" | |
}, | |
"StringURLEncode": { | |
"prefix": "StringURLEncode", | |
"body": "StringURLEncode(${1:szString[ ]}, ${2:iSize = sizeof( szString })$0" | |
}, | |
"SortDeepArray": { | |
"prefix": "SortDeepArray", | |
"body": "SortDeepArray(${1:array[][]}, ${2:sort_index}, ${3:order = SORT_ASC}, ${4:ignorecase = false})$0" | |
}, | |
"modio_push": { | |
"prefix": "modio_push", | |
"body": "modio_push(${1:file[]}, ${2:tag}, ${3:length}, ${4:data[]}, ${5:forcewrite = false}, ${6:forceclose = true}, ${7:autowrite = true})$0" | |
}, | |
"modio_register_write": { | |
"prefix": "modio_register_write", | |
"body": "modio_register_write(${1:file[]})$0" | |
}, | |
"modio_getsession_write": { | |
"prefix": "modio_getsession_write", | |
"body": "modio_getsession_write(${1:file[]})$0" | |
}, | |
"modio_close_session_write": { | |
"prefix": "modio_close_session_write", | |
"body": "modio_close_session_write(${1:session})$0" | |
}, | |
"modio_read": { | |
"prefix": "modio_read", | |
"body": "modio_read(${1:file[]}, ${2:tag}, ${3:length}, ${4:data[]}, ${5:forceclose = false}, ${6:autoclose = true})$0" | |
}, | |
"modio_register_read": { | |
"prefix": "modio_register_read", | |
"body": "modio_register_read(${1:file[]})$0" | |
}, | |
"modio_getsession_read": { | |
"prefix": "modio_getsession_read", | |
"body": "modio_getsession_read(${1:file[]})$0" | |
}, | |
"pb_percent": { | |
"prefix": "pb_percent", | |
"body": "pb_percent(${1:Float:x}, ${2:Float:widthorheight}, ${3:Float:max}, ${4:Float:value}, ${5:direction})$0" | |
}, | |
"CreatePlayerProgressBar": { | |
"prefix": "CreatePlayerProgressBar", | |
"body": "CreatePlayerProgressBar(${1:playerid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:width = 55.5}, ${5:Float:height = 3.2}, ${6:colour = 0xFF1C1CFF}, ${7:Float:max = 100.0}, ${8:direction = BAR_DIRECTION_RIGHT})$0" | |
}, | |
"DestroyPlayerProgressBar": { | |
"prefix": "DestroyPlayerProgressBar", | |
"body": "DestroyPlayerProgressBar(${1:playerid}, ${2:PlayerBar:barid})$0" | |
}, | |
"ShowPlayerProgressBar": { | |
"prefix": "ShowPlayerProgressBar", | |
"body": "ShowPlayerProgressBar(${1:playerid}, ${2:PlayerBar:barid})$0" | |
}, | |
"HidePlayerProgressBar": { | |
"prefix": "HidePlayerProgressBar", | |
"body": "HidePlayerProgressBar(${1:playerid}, ${2:PlayerBar:barid})$0" | |
}, | |
"IsValidPlayerProgressBar": { | |
"prefix": "IsValidPlayerProgressBar", | |
"body": "IsValidPlayerProgressBar(${1:playerid}, ${2:PlayerBar:barid})$0" | |
}, | |
"GetPlayerProgressBarPos": { | |
"prefix": "GetPlayerProgressBarPos", | |
"body": "GetPlayerProgressBarPos(${1:playerid}, ${2:PlayerBar:barid}, ${3:Float:x}, ${4:Float:y})$0" | |
}, | |
"SetPlayerProgressBarPos": { | |
"prefix": "SetPlayerProgressBarPos", | |
"body": "SetPlayerProgressBarPos(${1:playerid}, ${2:PlayerBar:barid}, ${3:Float:x}, ${4:Float:y})$0" | |
}, | |
"GetPlayerProgressBarWidth": { | |
"prefix": "GetPlayerProgressBarWidth", | |
"body": "GetPlayerProgressBarWidth(${1:playerid}, ${2:PlayerBar:barid})$0" | |
}, | |
"SetPlayerProgressBarWidth": { | |
"prefix": "SetPlayerProgressBarWidth", | |
"body": "SetPlayerProgressBarWidth(${1:playerid}, ${2:PlayerBar:barid}, ${3:Float:width})$0" | |
}, | |
"GetPlayerProgressBarHeight": { | |
"prefix": "GetPlayerProgressBarHeight", | |
"body": "GetPlayerProgressBarHeight(${1:playerid}, ${2:PlayerBar:barid})$0" | |
}, | |
"SetPlayerProgressBarHeight": { | |
"prefix": "SetPlayerProgressBarHeight", | |
"body": "SetPlayerProgressBarHeight(${1:playerid}, ${2:PlayerBar:barid}, ${3:Float:height})$0" | |
}, | |
"GetPlayerProgressBarColour": { | |
"prefix": "GetPlayerProgressBarColour", | |
"body": "GetPlayerProgressBarColour(${1:playerid}, ${2:PlayerBar:barid})$0" | |
}, | |
"SetPlayerProgressBarColour": { | |
"prefix": "SetPlayerProgressBarColour", | |
"body": "SetPlayerProgressBarColour(${1:playerid}, ${2:PlayerBar:barid}, ${3:colour})$0" | |
}, | |
"GetPlayerProgressBarMaxValue": { | |
"prefix": "GetPlayerProgressBarMaxValue", | |
"body": "GetPlayerProgressBarMaxValue(${1:playerid}, ${2:PlayerBar:barid})$0" | |
}, | |
"SetPlayerProgressBarMaxValue": { | |
"prefix": "SetPlayerProgressBarMaxValue", | |
"body": "SetPlayerProgressBarMaxValue(${1:playerid}, ${2:PlayerBar:barid}, ${3:Float:max})$0" | |
}, | |
"SetPlayerProgressBarValue": { | |
"prefix": "SetPlayerProgressBarValue", | |
"body": "SetPlayerProgressBarValue(${1:playerid}, ${2:PlayerBar:barid}, ${3:Float:value})$0" | |
}, | |
"GetPlayerProgressBarValue": { | |
"prefix": "GetPlayerProgressBarValue", | |
"body": "GetPlayerProgressBarValue(${1:playerid}, ${2:PlayerBar:barid})$0" | |
}, | |
"GetPlayerProgressBarDirection": { | |
"prefix": "GetPlayerProgressBarDirection", | |
"body": "GetPlayerProgressBarDirection(${1:playerid}, ${2:PlayerBar:barid})$0" | |
}, | |
"SetPlayerProgressBarDirection": { | |
"prefix": "SetPlayerProgressBarDirection", | |
"body": "SetPlayerProgressBarDirection(${1:playerid}, ${2:PlayerBar:barid}, ${3:direction})$0" | |
}, | |
"y_timers: ptask": { | |
"prefix": "ptask", | |
"body": "ptask ${1:name}[${2:delay}](playerid) \n{\n\t${3}\n}$0" | |
}, | |
"SmartCMD command": { | |
"prefix": "command", | |
"body": "COMMAND$<{2:flags}>:${1:name}(cmdid, playerid, params[]) {\n\t\n\t${4}\n\treturn CMD_SUCCESS;\n}$0" | |
}, | |
"DoesCommandExist": { | |
"prefix": "DoesCommandExist", | |
"body": "DoesCommandExist(${1:cmdid})$0" | |
}, | |
"GetCommandID": { | |
"prefix": "GetCommandID", | |
"body": "GetCommandID(${1:const cmd[]})$0" | |
}, | |
"GetCommandName": { | |
"prefix": "GetCommandName", | |
"body": "GetCommandName(${1:cmdid}, ${2:cmd[]}, ${3:len = sizeof(cmd})$0" | |
}, | |
"GetAlternateCommands": { | |
"prefix": "GetAlternateCommands", | |
"body": "GetAlternateCommands(${1:cmdid}, ${2:cmdidlist[]})$0" | |
}, | |
"IsCommandAlternate": { | |
"prefix": "IsCommandAlternate", | |
"body": "IsCommandAlternate(${1:cmdid})$0" | |
}, | |
"GetCommandFunctionID": { | |
"prefix": "GetCommandFunctionID", | |
"body": "GetCommandFunctionID(${1:cmdid})$0" | |
}, | |
"GetPointingCommandFunctionID": { | |
"prefix": "GetPointingCommandFunctionID", | |
"body": "GetPointingCommandFunctionID(${1:cmdid})$0" | |
}, | |
"GetPointingCommandID": { | |
"prefix": "GetPointingCommandID", | |
"body": "GetPointingCommandID(${1:cmdid})$0" | |
}, | |
"GetCommandFunctionName": { | |
"prefix": "GetCommandFunctionName", | |
"body": "GetCommandFunctionName(${1:cmdid}, ${2:dest[]}, ${3:len = sizeof(dest})$0" | |
}, | |
"GetEnabledCommandCount": { | |
"prefix": "GetEnabledCommandCount", | |
"body": "GetEnabledCommandCount()$0" | |
}, | |
"GetDisabledCommandCount": { | |
"prefix": "GetDisabledCommandCount", | |
"body": "GetDisabledCommandCount()$0" | |
}, | |
"GetTotalCommandCount": { | |
"prefix": "GetTotalCommandCount", | |
"body": "GetTotalCommandCount()$0" | |
}, | |
"EnableCommand": { | |
"prefix": "EnableCommand", | |
"body": "EnableCommand(${1:cmdid})$0" | |
}, | |
"DisableCommand": { | |
"prefix": "DisableCommand", | |
"body": "DisableCommand(${1:cmdid})$0" | |
}, | |
"IsCommandEnabled": { | |
"prefix": "IsCommandEnabled", | |
"body": "IsCommandEnabled(${1:cmdid})$0" | |
}, | |
"SetCommandFlags": { | |
"prefix": "SetCommandFlags", | |
"body": "SetCommandFlags(${1:cmdid}, ${2:flags})$0" | |
}, | |
"GetCommandFlags": { | |
"prefix": "GetCommandFlags", | |
"body": "GetCommandFlags(${1:cmdid})$0" | |
}, | |
"SetPointingCommandIDToSelf": { | |
"prefix": "SetPointingCommandIDToSelf", | |
"body": "SetPointingCommandIDToSelf(${1:cmdid})$0" | |
}, | |
"ReassignCommandFunction": { | |
"prefix": "ReassignCommandFunction", | |
"body": "ReassignCommandFunction(${1:cmdid}, ${2:const funcname[]}, ${3:bool:updateCID = false}, ${4:bool:updatePFT = false})$0" | |
}, | |
"EmulateCommandEx": { | |
"prefix": "EmulateCommandEx", | |
"body": "EmulateCommandEx(${1:cmdid}, ${2:playerid}, ${3:params[]})$0" | |
}, | |
"EmulateCommand": { | |
"prefix": "EmulateCommand", | |
"body": "EmulateCommand(${1:playerid}, ${2:cmdtext[]})$0" | |
}, | |
"ExecuteCommand": { | |
"prefix": "ExecuteCommand", | |
"body": "ExecuteCommand(${1:const cmd[]}, ${2:command_mode}, ${3:playerid}, ${4:success}, ${5:params[]=\"\"})$0" | |
}, | |
"socket_create": { | |
"prefix": "socket_create", | |
"body": "socket_create(${1:pType:TCP})$0" | |
}, | |
"socket_bind": { | |
"prefix": "socket_bind", | |
"body": "socket_bind(${1:Socket:id}, ${2:ip[]})$0" | |
}, | |
"socket_connect": { | |
"prefix": "socket_connect", | |
"body": "socket_connect(${1:Socket:id}, ${2:host[]}, ${3:port})$0" | |
}, | |
"socket_listen": { | |
"prefix": "socket_listen", | |
"body": "socket_listen(${1:Socket:id}, ${2:port})$0" | |
}, | |
"socket_stop_listen": { | |
"prefix": "socket_stop_listen", | |
"body": "socket_stop_listen(${1:Socket:id})$0" | |
}, | |
"socket_destroy": { | |
"prefix": "socket_destroy", | |
"body": "socket_destroy(${1:Socket:id})$0" | |
}, | |
"socket_send": { | |
"prefix": "socket_send", | |
"body": "socket_send(${1:Socket:id}, ${2:data[]}, ${3:len})$0" | |
}, | |
"socket_sendto": { | |
"prefix": "socket_sendto", | |
"body": "socket_sendto(${1:Socket:id}, ${2:const ip[]}, ${3:port}, ${4:data[]}, ${5:len})$0" | |
}, | |
"socket_send_array": { | |
"prefix": "socket_send_array", | |
"body": "socket_send_array(${1:Socket:id}, ${2:data[]}, ${3:size=sizeof(data})$0" | |
}, | |
"is_socket_valid": { | |
"prefix": "is_socket_valid", | |
"body": "is_socket_valid(${1:Socket:id})$0" | |
}, | |
"socket_set_max_connections": { | |
"prefix": "socket_set_max_connections", | |
"body": "socket_set_max_connections(${1:Socket:id}, ${2:max_remote_clients})$0" | |
}, | |
"socket_close_remote_client": { | |
"prefix": "socket_close_remote_client", | |
"body": "socket_close_remote_client(${1:Socket:id}, ${2:remote_clientid})$0" | |
}, | |
"socket_sendto_remote_client": { | |
"prefix": "socket_sendto_remote_client", | |
"body": "socket_sendto_remote_client(${1:Socket:id}, ${2:remote_clientid}, ${3:data[]})$0" | |
}, | |
"socket_remote_client_connected": { | |
"prefix": "socket_remote_client_connected", | |
"body": "socket_remote_client_connected(${1:Socket:id}, ${2:remote_clientid})$0" | |
}, | |
"get_remote_client_ip": { | |
"prefix": "get_remote_client_ip", | |
"body": "get_remote_client_ip(${1:Socket:id}, ${2:remote_clientid}, ${3:ip[]})$0" | |
}, | |
"ssl_init": { | |
"prefix": "ssl_init", | |
"body": "ssl_init()$0" | |
}, | |
"ssl_create_context": { | |
"prefix": "ssl_create_context", | |
"body": "ssl_create_context(${1:Socket:id}, ${2:method})$0" | |
}, | |
"ssl_connect": { | |
"prefix": "ssl_connect", | |
"body": "ssl_connect(${1:Socket:id})$0" | |
}, | |
"ssl_load_cert_into_context": { | |
"prefix": "ssl_load_cert_into_context", | |
"body": "ssl_load_cert_into_context(${1:Socket:id}, ${2:const certificate[]}, ${3:const private_key[]})$0" | |
}, | |
"ssl_shutdown": { | |
"prefix": "ssl_shutdown", | |
"body": "ssl_shutdown(${1:Socket:id})$0" | |
}, | |
"ssl_get_peer_certificate": { | |
"prefix": "ssl_get_peer_certificate", | |
"body": "ssl_get_peer_certificate(${1:Socket:id}, ${2:method}, ${3:subject[]}, ${4:issuer[]}, ${5:remote_clientid = 0xFFFF})$0" | |
}, | |
"ssl_set_accept_timeout": { | |
"prefix": "ssl_set_accept_timeout", | |
"body": "ssl_set_accept_timeout(${1:Socket:id}, ${2:interval})$0" | |
}, | |
"ssl_set_mode": { | |
"prefix": "ssl_set_mode", | |
"body": "ssl_set_mode(${1:Socket:id}, ${2:mode})$0" | |
}, | |
"onUDPReceiveData": { | |
"prefix": "onUDPReceiveData", | |
"body": "onUDPReceiveData(${1:Socket:id}, ${2:data[]}, ${3:data_len}, ${4:remote_client_ip[]}, ${5:remote_client_port})$0" | |
}, | |
"onSocketAnswer": { | |
"prefix": "onSocketAnswer", | |
"body": "onSocketAnswer(${1:Socket:id}, ${2:data[]}, ${3:data_len})$0" | |
}, | |
"onSocketClose": { | |
"prefix": "onSocketClose", | |
"body": "onSocketClose(${1:Socket:id})$0" | |
}, | |
"onSocketReceiveData": { | |
"prefix": "onSocketReceiveData", | |
"body": "onSocketReceiveData(${1:Socket:id}, ${2:remote_clientid}, ${3:data[]}, ${4:data_len})$0" | |
}, | |
"onSocketRemoteConnect": { | |
"prefix": "onSocketRemoteConnect", | |
"body": "onSocketRemoteConnect(${1:Socket:id}, ${2:remote_client[]}, ${3:remote_clientid})$0" | |
}, | |
"onSocketRemoteDisconnect": { | |
"prefix": "onSocketRemoteDisconnect", | |
"body": "onSocketRemoteDisconnect(${1:Socket:id}, ${2:remote_clientid})$0" | |
}, | |
"db_query_hook": { | |
"prefix": "db_query_hook", | |
"body": "db_query_hook(${1:iTagOf3 = tagof(_bAutoRelease})$0" | |
}, | |
"db_escape_string": { | |
"prefix": "db_escape_string", | |
"body": "db_escape_string(${1:szString[]}, ${2:szEnclosing[] = \"'\"}, ${3:iSize = sizeof(szString})$0" | |
}, | |
"db_is_persistent": { | |
"prefix": "db_is_persistent", | |
"body": "db_is_persistent(${1:DB:db})$0" | |
}, | |
"db_is_valid_persistent": { | |
"prefix": "db_is_valid_persistent", | |
"body": "db_is_valid_persistent(${1:DB:db})$0" | |
}, | |
"db_is_table_exists": { | |
"prefix": "db_is_table_exists", | |
"body": "db_is_table_exists(${1:DB:db}, ${2:szTable[]})$0" | |
}, | |
"db_rewind": { | |
"prefix": "db_rewind", | |
"body": "db_rewind(${1:DBResult:dbrResult})$0" | |
}, | |
"db_exec": { | |
"prefix": "db_exec", | |
"body": "db_exec(${1:DB:db}, ${2:szQuery[]})$0" | |
}, | |
"db_insert": { | |
"prefix": "db_insert", | |
"body": "db_insert(${1:DB:db}, ${2:szQuery[]})$0" | |
}, | |
"db_get_struct_info": { | |
"prefix": "db_get_struct_info", | |
"body": "db_get_struct_info(${1:DB:db}, ${2:;_}, ${3:e_SQLITE3}:iOffset})$0" | |
}, | |
"db_set_struct_info": { | |
"prefix": "db_set_struct_info", | |
"body": "db_set_struct_info(${1:DB:db}, ${2:;_}, ${3:e_SQLITE3}:iOffset}, ${4:iValue})$0" | |
}, | |
"db_set_row_index": { | |
"prefix": "db_set_row_index", | |
"body": "db_set_row_index(${1:DBResult:dbrResult}, ${2:iRow})$0" | |
}, | |
"db_get_row_index": { | |
"prefix": "db_get_row_index", | |
"body": "db_get_row_index(${1:DBResult:dbrResult})$0" | |
}, | |
"db_open_persistent": { | |
"prefix": "db_open_persistent", | |
"body": "db_open_persistent(${1:szName[]})$0" | |
}, | |
"db_close_hook": { | |
"prefix": "db_close_hook", | |
"body": "db_close_hook(${1:DB:db})$0" | |
}, | |
"db_query_int": { | |
"prefix": "db_query_int", | |
"body": "db_query_int(${1:DB:db}, ${2:szQuery[]}, ${3:iField = 0})$0" | |
}, | |
"db_query_float": { | |
"prefix": "db_query_float", | |
"body": "db_query_float(${1:DB:db}, ${2:szQuery[]}, ${3:iField = 0})$0" | |
}, | |
"db_is_result_freed": { | |
"prefix": "db_is_result_freed", | |
"body": "db_is_result_freed(${1:DBResult:dbrResult})$0" | |
}, | |
"db_free_result_hook": { | |
"prefix": "db_free_result_hook", | |
"body": "db_free_result_hook(${1:DBResult:dbrResult})$0" | |
}, | |
"db_free_persistent": { | |
"prefix": "db_free_persistent", | |
"body": "db_free_persistent(${1:DB:db})$0" | |
}, | |
"db_changes": { | |
"prefix": "db_changes", | |
"body": "db_changes(${1:DB:db})$0" | |
}, | |
"db_begin_transaction": { | |
"prefix": "db_begin_transaction", | |
"body": "db_begin_transaction(${1:DB:db})$0" | |
}, | |
"db_end_transaction": { | |
"prefix": "db_end_transaction", | |
"body": "db_end_transaction(${1:DB:db})$0" | |
}, | |
"db_set_asynchronous": { | |
"prefix": "db_set_asynchronous", | |
"body": "db_set_asynchronous(${1:DB:db}, ${2:bool:bSet = true})$0" | |
}, | |
"db_set_synchronous": { | |
"prefix": "db_set_synchronous", | |
"body": "db_set_synchronous(${1:DB:db}, ${2:DB::e_SYNCHRONOUS_MODE:iValue})$0" | |
}, | |
"db_attach_memory_db": { | |
"prefix": "db_attach_memory_db", | |
"body": "db_attach_memory_db(${1:DB:db}, ${2:szName[]})$0" | |
}, | |
"db_detach_memory_db": { | |
"prefix": "db_detach_memory_db", | |
"body": "db_detach_memory_db(${1:DB:db}, ${2:szName[]})$0" | |
}, | |
"db_total_changes": { | |
"prefix": "db_total_changes", | |
"body": "db_total_changes(${1:DB:db})$0" | |
}, | |
"db_last_insert_rowid": { | |
"prefix": "db_last_insert_rowid", | |
"body": "db_last_insert_rowid(${1:DB:db})$0" | |
}, | |
"db_field_is_null": { | |
"prefix": "db_field_is_null", | |
"body": "db_field_is_null(${1:DBResult:dbrResult}, ${2:iField})$0" | |
}, | |
"db_autofree_result": { | |
"prefix": "db_autofree_result", | |
"body": "db_autofree_result(${1:DBResult:dbrResult})$0" | |
}, | |
"db_prepare": { | |
"prefix": "db_prepare", | |
"body": "db_prepare(${1:DB:db}, ${2:szQuery[]})$0" | |
}, | |
"stmt_bind_value": { | |
"prefix": "stmt_bind_value", | |
"body": "stmt_bind_value(${1:&DBStatement:stStatement}, ${2:iParam}, ${3:DBDataType:iType}, ${4:;Float}, ${5:_}:...})$0" | |
}, | |
"stmt_bind_result_field": { | |
"prefix": "stmt_bind_result_field", | |
"body": "stmt_bind_result_field(${1:&DBStatement:stStatement}, ${2:iField}, ${3:DBDataType:iType}, ${4:;Float}, ${5:_}:...})$0" | |
}, | |
"stmt_skip_row": { | |
"prefix": "stmt_skip_row", | |
"body": "stmt_skip_row(${1:&DBStatement:stStatement})$0" | |
}, | |
"stmt_fetch_row": { | |
"prefix": "stmt_fetch_row", | |
"body": "stmt_fetch_row(${1:&DBStatement:stStatement})$0" | |
}, | |
"stmt_rows_left": { | |
"prefix": "stmt_rows_left", | |
"body": "stmt_rows_left(${1:&DBStatement:stStatement})$0" | |
}, | |
"stmt_execute": { | |
"prefix": "stmt_execute", | |
"body": "stmt_execute(${1:&DBStatement:stStatement}, ${2:bool:bStoreResult = true}, ${3:bool:bAutoFreeResult = true})$0" | |
}, | |
"stmt_free_result": { | |
"prefix": "stmt_free_result", | |
"body": "stmt_free_result(${1:&DBStatement:stStatement})$0" | |
}, | |
"stmt_close": { | |
"prefix": "stmt_close", | |
"body": "stmt_close(${1:&DBStatement:stStatement})$0" | |
}, | |
"stmt_autoclose": { | |
"prefix": "stmt_autoclose", | |
"body": "stmt_autoclose(${1:&DBStatement:stStatement})$0" | |
}, | |
"db_get_last_error": { | |
"prefix": "db_get_last_error", | |
"body": "db_get_last_error()$0" | |
}, | |
"db_get_field_hook": { | |
"prefix": "db_get_field_hook", | |
"body": "db_get_field_hook(${1:DBResult:dbresult}, ${2:field}, ${3:result[]}, ${4:maxlength = sizeof(result})$0" | |
}, | |
"db_get_field_assoc_hook": { | |
"prefix": "db_get_field_assoc_hook", | |
"body": "db_get_field_assoc_hook(${1:DBResult:dbresult}, ${2:field[]}, ${3:result[]}, ${4:maxlength = sizeof(result})$0" | |
}, | |
"db_dump_table": { | |
"prefix": "db_dump_table", | |
"body": "db_dump_table(${1:DB:db}, ${2:szTable[]}, ${3:szFilename[]})$0" | |
}, | |
"db_print_result": { | |
"prefix": "db_print_result", | |
"body": "db_print_result(${1:DBResult:dbrResult}, ${2:iMaxFieldLength = 40})$0" | |
}, | |
"db_print_query": { | |
"prefix": "db_print_query", | |
"body": "db_print_query(${1:DB:db}, ${2:szQuery[]}, ${3:iMaxFieldLength = 40})$0" | |
}, | |
"sscanf": { | |
"prefix": "sscanf", | |
"body": "sscanf(${1:const data[]}, ${2:const format[]}, ${3:...})$0" | |
}, | |
"unformat": { | |
"prefix": "unformat", | |
"body": "unformat(${1:const data[]}, ${2:const format[]}, ${3:...})$0" | |
}, | |
"Streamer_GetTickRate": { | |
"prefix": "Streamer_GetTickRate", | |
"body": "Streamer_GetTickRate()$0" | |
}, | |
"Streamer_SetTickRate": { | |
"prefix": "Streamer_SetTickRate", | |
"body": "Streamer_SetTickRate(${1:rate})$0" | |
}, | |
"Streamer_GetMaxItems": { | |
"prefix": "Streamer_GetMaxItems", | |
"body": "Streamer_GetMaxItems(${1:type})$0" | |
}, | |
"Streamer_SetMaxItems": { | |
"prefix": "Streamer_SetMaxItems", | |
"body": "Streamer_SetMaxItems(${1:type}, ${2:items})$0" | |
}, | |
"Streamer_GetVisibleItems": { | |
"prefix": "Streamer_GetVisibleItems", | |
"body": "Streamer_GetVisibleItems(${1:type}, ${2:playerid = -1})$0" | |
}, | |
"Streamer_SetVisibleItems": { | |
"prefix": "Streamer_SetVisibleItems", | |
"body": "Streamer_SetVisibleItems(${1:type}, ${2:items}, ${3:playerid = -1})$0" | |
}, | |
"Streamer_GetRadiusMultiplier": { | |
"prefix": "Streamer_GetRadiusMultiplier", | |
"body": "Streamer_GetRadiusMultiplier(${1:type}, ${2:Float:multiplier}, ${3:playerid = -1})$0" | |
}, | |
"Streamer_SetRadiusMultiplier": { | |
"prefix": "Streamer_SetRadiusMultiplier", | |
"body": "Streamer_SetRadiusMultiplier(${1:type}, ${2:Float:multiplier}, ${3:playerid = -1})$0" | |
}, | |
"Streamer_GetTypePriority": { | |
"prefix": "Streamer_GetTypePriority", | |
"body": "Streamer_GetTypePriority(${1:types[]}, ${2:maxtypes = sizeof types})$0" | |
}, | |
"Streamer_SetTypePriority": { | |
"prefix": "Streamer_SetTypePriority", | |
"body": "Streamer_SetTypePriority(${1:const types[]}, ${2:maxtypes = sizeof types})$0" | |
}, | |
"Streamer_GetCellDistance": { | |
"prefix": "Streamer_GetCellDistance", | |
"body": "Streamer_GetCellDistance(${1:Float:distance})$0" | |
}, | |
"Streamer_SetCellDistance": { | |
"prefix": "Streamer_SetCellDistance", | |
"body": "Streamer_SetCellDistance(${1:Float:distance})$0" | |
}, | |
"Streamer_GetCellSize": { | |
"prefix": "Streamer_GetCellSize", | |
"body": "Streamer_GetCellSize(${1:Float:size})$0" | |
}, | |
"Streamer_SetCellSize": { | |
"prefix": "Streamer_SetCellSize", | |
"body": "Streamer_SetCellSize(${1:Float:size})$0" | |
}, | |
"Streamer_ToggleErrorCallback": { | |
"prefix": "Streamer_ToggleErrorCallback", | |
"body": "Streamer_ToggleErrorCallback(${1:toggle})$0" | |
}, | |
"Streamer_IsToggleErrorCallback": { | |
"prefix": "Streamer_IsToggleErrorCallback", | |
"body": "Streamer_IsToggleErrorCallback()$0" | |
}, | |
"Streamer_ProcessActiveItems": { | |
"prefix": "Streamer_ProcessActiveItems", | |
"body": "Streamer_ProcessActiveItems()$0" | |
}, | |
"Streamer_ToggleIdleUpdate": { | |
"prefix": "Streamer_ToggleIdleUpdate", | |
"body": "Streamer_ToggleIdleUpdate(${1:playerid}, ${2:toggle})$0" | |
}, | |
"Streamer_IsToggleIdleUpdate": { | |
"prefix": "Streamer_IsToggleIdleUpdate", | |
"body": "Streamer_IsToggleIdleUpdate(${1:playerid})$0" | |
}, | |
"Streamer_ToggleCameraUpdate": { | |
"prefix": "Streamer_ToggleCameraUpdate", | |
"body": "Streamer_ToggleCameraUpdate(${1:playerid}, ${2:toggle})$0" | |
}, | |
"Streamer_IsToggleCameraUpdate": { | |
"prefix": "Streamer_IsToggleCameraUpdate", | |
"body": "Streamer_IsToggleCameraUpdate(${1:playerid})$0" | |
}, | |
"Streamer_ToggleItemUpdate": { | |
"prefix": "Streamer_ToggleItemUpdate", | |
"body": "Streamer_ToggleItemUpdate(${1:playerid}, ${2:type}, ${3:toggle})$0" | |
}, | |
"Streamer_IsToggleItemUpdate": { | |
"prefix": "Streamer_IsToggleItemUpdate", | |
"body": "Streamer_IsToggleItemUpdate(${1:playerid}, ${2:type})$0" | |
}, | |
"Streamer_Update": { | |
"prefix": "Streamer_Update", | |
"body": "Streamer_Update(${1:playerid}, ${2:type = -1})$0" | |
}, | |
"Streamer_UpdateEx": { | |
"prefix": "Streamer_UpdateEx", | |
"body": "Streamer_UpdateEx(${1:playerid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z}, ${5:worldid = -1}, ${6:interiorid = -1}, ${7:type = -1})$0" | |
}, | |
"Streamer_GetFloatData": { | |
"prefix": "Streamer_GetFloatData", | |
"body": "Streamer_GetFloatData(${1:type}, ${2:STREAMER_ALL_TAGS id}, ${3:data}, ${4:Float:result})$0" | |
}, | |
"Streamer_SetFloatData": { | |
"prefix": "Streamer_SetFloatData", | |
"body": "Streamer_SetFloatData(${1:type}, ${2:STREAMER_ALL_TAGS id}, ${3:data}, ${4:Float:value})$0" | |
}, | |
"Streamer_GetIntData": { | |
"prefix": "Streamer_GetIntData", | |
"body": "Streamer_GetIntData(${1:type}, ${2:STREAMER_ALL_TAGS id}, ${3:data})$0" | |
}, | |
"Streamer_SetIntData": { | |
"prefix": "Streamer_SetIntData", | |
"body": "Streamer_SetIntData(${1:type}, ${2:STREAMER_ALL_TAGS id}, ${3:data}, ${4:value})$0" | |
}, | |
"Streamer_GetArrayData": { | |
"prefix": "Streamer_GetArrayData", | |
"body": "Streamer_GetArrayData(${1:type}, ${2:STREAMER_ALL_TAGS id}, ${3:data}, ${4:dest[]}, ${5:maxdest = sizeof dest})$0" | |
}, | |
"Streamer_SetArrayData": { | |
"prefix": "Streamer_SetArrayData", | |
"body": "Streamer_SetArrayData(${1:type}, ${2:STREAMER_ALL_TAGS id}, ${3:data}, ${4:const src[]}, ${5:maxsrc = sizeof src})$0" | |
}, | |
"Streamer_IsInArrayData": { | |
"prefix": "Streamer_IsInArrayData", | |
"body": "Streamer_IsInArrayData(${1:type}, ${2:STREAMER_ALL_TAGS id}, ${3:data}, ${4:value})$0" | |
}, | |
"Streamer_AppendArrayData": { | |
"prefix": "Streamer_AppendArrayData", | |
"body": "Streamer_AppendArrayData(${1:type}, ${2:STREAMER_ALL_TAGS id}, ${3:data}, ${4:value})$0" | |
}, | |
"Streamer_RemoveArrayData": { | |
"prefix": "Streamer_RemoveArrayData", | |
"body": "Streamer_RemoveArrayData(${1:type}, ${2:STREAMER_ALL_TAGS id}, ${3:data}, ${4:value})$0" | |
}, | |
"Streamer_GetUpperBound": { | |
"prefix": "Streamer_GetUpperBound", | |
"body": "Streamer_GetUpperBound(${1:type})$0" | |
}, | |
"Streamer_GetDistanceToItem": { | |
"prefix": "Streamer_GetDistanceToItem", | |
"body": "Streamer_GetDistanceToItem(${1:Float:x}, ${2:Float:y}, ${3:Float:z}, ${4:type}, ${5:STREAMER_ALL_TAGS id}, ${6:Float:distance}, ${7:dimensions = 3})$0" | |
}, | |
"Streamer_ToggleStaticItem": { | |
"prefix": "Streamer_ToggleStaticItem", | |
"body": "Streamer_ToggleStaticItem(${1:type}, ${2:STREAMER_ALL_TAGS id}, ${3:toggle})$0" | |
}, | |
"Streamer_IsToggleStaticItem": { | |
"prefix": "Streamer_IsToggleStaticItem", | |
"body": "Streamer_IsToggleStaticItem(${1:type}, ${2:STREAMER_ALL_TAGS id})$0" | |
}, | |
"Streamer_GetItemInternalID": { | |
"prefix": "Streamer_GetItemInternalID", | |
"body": "Streamer_GetItemInternalID(${1:playerid}, ${2:type}, ${3:STREAMER_ALL_TAGS streamerid})$0" | |
}, | |
"Streamer_GetItemStreamerID": { | |
"prefix": "Streamer_GetItemStreamerID", | |
"body": "Streamer_GetItemStreamerID(${1:playerid}, ${2:type}, ${3:internalid})$0" | |
}, | |
"Streamer_IsItemVisible": { | |
"prefix": "Streamer_IsItemVisible", | |
"body": "Streamer_IsItemVisible(${1:playerid}, ${2:type}, ${3:STREAMER_ALL_TAGS id})$0" | |
}, | |
"Streamer_DestroyAllVisibleItems": { | |
"prefix": "Streamer_DestroyAllVisibleItems", | |
"body": "Streamer_DestroyAllVisibleItems(${1:playerid}, ${2:type}, ${3:serverwide = 1})$0" | |
}, | |
"Streamer_CountVisibleItems": { | |
"prefix": "Streamer_CountVisibleItems", | |
"body": "Streamer_CountVisibleItems(${1:playerid}, ${2:type}, ${3:serverwide = 1})$0" | |
}, | |
"Streamer_DestroyAllItems": { | |
"prefix": "Streamer_DestroyAllItems", | |
"body": "Streamer_DestroyAllItems(${1:type}, ${2:serverwide = 1})$0" | |
}, | |
"Streamer_CountItems": { | |
"prefix": "Streamer_CountItems", | |
"body": "Streamer_CountItems(${1:type}, ${2:serverwide = 1})$0" | |
}, | |
"CreateDynamicObject": { | |
"prefix": "CreateDynamicObject", | |
"body": "CreateDynamicObject(${1:modelid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z}, ${5:Float:rx}, ${6:Float:ry}, ${7:Float:rz}, ${8:worldid = -1}, ${9:interiorid = -1}, ${10:playerid = -1}, ${11:Float:streamdistance = STREAMER_OBJECT_SD}, ${12:Float:drawdistance = STREAMER_OBJECT_DD}, ${13:STREAMER_TAG_AREA areaid = STREAMER_TAG_AREA -1})$0" | |
}, | |
"DestroyDynamicObject": { | |
"prefix": "DestroyDynamicObject", | |
"body": "DestroyDynamicObject(${1:STREAMER_TAG_OBJECT objectid})$0" | |
}, | |
"IsValidDynamicObject": { | |
"prefix": "IsValidDynamicObject", | |
"body": "IsValidDynamicObject(${1:STREAMER_TAG_OBJECT objectid})$0" | |
}, | |
"SetDynamicObjectPos": { | |
"prefix": "SetDynamicObjectPos", | |
"body": "SetDynamicObjectPos(${1:STREAMER_TAG_OBJECT objectid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"GetDynamicObjectPos": { | |
"prefix": "GetDynamicObjectPos", | |
"body": "GetDynamicObjectPos(${1:STREAMER_TAG_OBJECT objectid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"SetDynamicObjectRot": { | |
"prefix": "SetDynamicObjectRot", | |
"body": "SetDynamicObjectRot(${1:STREAMER_TAG_OBJECT objectid}, ${2:Float:rx}, ${3:Float:ry}, ${4:Float:rz})$0" | |
}, | |
"GetDynamicObjectRot": { | |
"prefix": "GetDynamicObjectRot", | |
"body": "GetDynamicObjectRot(${1:STREAMER_TAG_OBJECT objectid}, ${2:Float:rx}, ${3:Float:ry}, ${4:Float:rz})$0" | |
}, | |
"SetDynamicObjectNoCameraCol": { | |
"prefix": "SetDynamicObjectNoCameraCol", | |
"body": "SetDynamicObjectNoCameraCol(${1:STREAMER_TAG_OBJECT objectid})$0" | |
}, | |
"GetDynamicObjectNoCameraCol": { | |
"prefix": "GetDynamicObjectNoCameraCol", | |
"body": "GetDynamicObjectNoCameraCol(${1:STREAMER_TAG_OBJECT objectid})$0" | |
}, | |
"MoveDynamicObject": { | |
"prefix": "MoveDynamicObject", | |
"body": "MoveDynamicObject(${1:STREAMER_TAG_OBJECT objectid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z}, ${5:Float:speed}, ${6:Float:rx = -1000.0}, ${7:Float:ry = -1000.0}, ${8:Float:rz = -1000.0})$0" | |
}, | |
"StopDynamicObject": { | |
"prefix": "StopDynamicObject", | |
"body": "StopDynamicObject(${1:STREAMER_TAG_OBJECT objectid})$0" | |
}, | |
"IsDynamicObjectMoving": { | |
"prefix": "IsDynamicObjectMoving", | |
"body": "IsDynamicObjectMoving(${1:STREAMER_TAG_OBJECT objectid})$0" | |
}, | |
"AttachCameraToDynamicObject": { | |
"prefix": "AttachCameraToDynamicObject", | |
"body": "AttachCameraToDynamicObject(${1:playerid}, ${2:STREAMER_TAG_OBJECT objectid})$0" | |
}, | |
"AttachDynamicObjectToObject": { | |
"prefix": "AttachDynamicObjectToObject", | |
"body": "AttachDynamicObjectToObject(${1:STREAMER_TAG_OBJECT objectid}, ${2:attachtoid}, ${3:Float:offsetx}, ${4:Float:offsety}, ${5:Float:offsetz}, ${6:Float:rx}, ${7:Float:ry}, ${8:Float:rz}, ${9:syncrotation = 1})$0" | |
}, | |
"AttachDynamicObjectToPlayer": { | |
"prefix": "AttachDynamicObjectToPlayer", | |
"body": "AttachDynamicObjectToPlayer(${1:STREAMER_TAG_OBJECT objectid}, ${2:playerid}, ${3:Float:offsetx}, ${4:Float:offsety}, ${5:Float:offsetz}, ${6:Float:rx}, ${7:Float:ry}, ${8:Float:rz})$0" | |
}, | |
"AttachDynamicObjectToVehicle": { | |
"prefix": "AttachDynamicObjectToVehicle", | |
"body": "AttachDynamicObjectToVehicle(${1:STREAMER_TAG_OBJECT objectid}, ${2:vehicleid}, ${3:Float:offsetx}, ${4:Float:offsety}, ${5:Float:offsetz}, ${6:Float:rx}, ${7:Float:ry}, ${8:Float:rz})$0" | |
}, | |
"EditDynamicObject": { | |
"prefix": "EditDynamicObject", | |
"body": "EditDynamicObject(${1:playerid}, ${2:STREAMER_TAG_OBJECT objectid})$0" | |
}, | |
"IsDynamicObjectMaterialUsed": { | |
"prefix": "IsDynamicObjectMaterialUsed", | |
"body": "IsDynamicObjectMaterialUsed(${1:STREAMER_TAG_OBJECT objectid}, ${2:materialindex})$0" | |
}, | |
"GetDynamicObjectMaterial": { | |
"prefix": "GetDynamicObjectMaterial", | |
"body": "GetDynamicObjectMaterial(${1:STREAMER_TAG_OBJECT objectid}, ${2:materialindex}, ${3:modelid}, ${4:txdname[]}, ${5:texturename[]}, ${6:materialcolor}, ${7:maxtxdname = sizeof txdname}, ${8:maxtexturename = sizeof texturename})$0" | |
}, | |
"SetDynamicObjectMaterial": { | |
"prefix": "SetDynamicObjectMaterial", | |
"body": "SetDynamicObjectMaterial(${1:STREAMER_TAG_OBJECT objectid}, ${2:materialindex}, ${3:modelid}, ${4:const txdname[]}, ${5:const texturename[]}, ${6:materialcolor = 0})$0" | |
}, | |
"IsDynamicObjectMaterialTextUsed": { | |
"prefix": "IsDynamicObjectMaterialTextUsed", | |
"body": "IsDynamicObjectMaterialTextUsed(${1:STREAMER_TAG_OBJECT objectid}, ${2:materialindex})$0" | |
}, | |
"GetDynamicObjectMaterialText": { | |
"prefix": "GetDynamicObjectMaterialText", | |
"body": "GetDynamicObjectMaterialText(${1:STREAMER_TAG_OBJECT objectid}, ${2:materialindex}, ${3:text[]}, ${4:materialsize}, ${5:fontface[]}, ${6:fontsize}, ${7:bold}, ${8:fontcolor}, ${9:backcolor}, ${10:textalignment}, ${11:maxtext = sizeof text}, ${12:maxfontface = sizeof fontface})$0" | |
}, | |
"SetDynamicObjectMaterialText": { | |
"prefix": "SetDynamicObjectMaterialText", | |
"body": "SetDynamicObjectMaterialText(${1:STREAMER_TAG_OBJECT objectid}, ${2:materialindex}, ${3:const text[]}, ${4:materialsize = OBJECT_MATERIAL_SIZE_256x128}, ${5:const fontface[] = \"Arial\"}, ${6:fontsize = 24}, ${7:bold = 1}, ${8:fontcolor = 0xFFFFFFFF}, ${9:backcolor = 0}, ${10:textalignment = 0})$0" | |
}, | |
"CreateDynamicPickup": { | |
"prefix": "CreateDynamicPickup", | |
"body": "CreateDynamicPickup(${1:modelid}, ${2:type}, ${3:Float:x}, ${4:Float:y}, ${5:Float:z}, ${6:worldid = -1}, ${7:interiorid = -1}, ${8:playerid = -1}, ${9:Float:streamdistance = STREAMER_PICKUP_SD}, ${10:STREAMER_TAG_AREA areaid = STREAMER_TAG_AREA -1})$0" | |
}, | |
"DestroyDynamicPickup": { | |
"prefix": "DestroyDynamicPickup", | |
"body": "DestroyDynamicPickup(${1:STREAMER_TAG_PICKUP pickupid})$0" | |
}, | |
"IsValidDynamicPickup": { | |
"prefix": "IsValidDynamicPickup", | |
"body": "IsValidDynamicPickup(${1:STREAMER_TAG_PICKUP pickupid})$0" | |
}, | |
"CreateDynamicCP": { | |
"prefix": "CreateDynamicCP", | |
"body": "CreateDynamicCP(${1:Float:x}, ${2:Float:y}, ${3:Float:z}, ${4:Float:size}, ${5:worldid = -1}, ${6:interiorid = -1}, ${7:playerid = -1}, ${8:Float:streamdistance = STREAMER_CP_SD}, ${9:STREAMER_TAG_AREA areaid = STREAMER_TAG_AREA -1})$0" | |
}, | |
"DestroyDynamicCP": { | |
"prefix": "DestroyDynamicCP", | |
"body": "DestroyDynamicCP(${1:STREAMER_TAG_CP checkpointid})$0" | |
}, | |
"IsValidDynamicCP": { | |
"prefix": "IsValidDynamicCP", | |
"body": "IsValidDynamicCP(${1:STREAMER_TAG_CP checkpointid})$0" | |
}, | |
"TogglePlayerDynamicCP": { | |
"prefix": "TogglePlayerDynamicCP", | |
"body": "TogglePlayerDynamicCP(${1:playerid}, ${2:STREAMER_TAG_CP checkpointid}, ${3:toggle})$0" | |
}, | |
"TogglePlayerAllDynamicCPs": { | |
"prefix": "TogglePlayerAllDynamicCPs", | |
"body": "TogglePlayerAllDynamicCPs(${1:playerid}, ${2:toggle})$0" | |
}, | |
"IsPlayerInDynamicCP": { | |
"prefix": "IsPlayerInDynamicCP", | |
"body": "IsPlayerInDynamicCP(${1:playerid}, ${2:STREAMER_TAG_CP checkpointid})$0" | |
}, | |
"GetPlayerVisibleDynamicCP": { | |
"prefix": "GetPlayerVisibleDynamicCP", | |
"body": "GetPlayerVisibleDynamicCP(${1:playerid})$0" | |
}, | |
"CreateDynamicRaceCP": { | |
"prefix": "CreateDynamicRaceCP", | |
"body": "CreateDynamicRaceCP(${1:type}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z}, ${5:Float:nextx}, ${6:Float:nexty}, ${7:Float:nextz}, ${8:Float:size}, ${9:worldid = -1}, ${10:interiorid = -1}, ${11:playerid = -1}, ${12:Float:streamdistance = STREAMER_RACE_CP_SD}, ${13:STREAMER_TAG_AREA areaid = STREAMER_TAG_AREA -1})$0" | |
}, | |
"DestroyDynamicRaceCP": { | |
"prefix": "DestroyDynamicRaceCP", | |
"body": "DestroyDynamicRaceCP(${1:STREAMER_TAG_RACE_CP checkpointid})$0" | |
}, | |
"IsValidDynamicRaceCP": { | |
"prefix": "IsValidDynamicRaceCP", | |
"body": "IsValidDynamicRaceCP(${1:STREAMER_TAG_RACE_CP checkpointid})$0" | |
}, | |
"TogglePlayerDynamicRaceCP": { | |
"prefix": "TogglePlayerDynamicRaceCP", | |
"body": "TogglePlayerDynamicRaceCP(${1:playerid}, ${2:STREAMER_TAG_RACE_CP checkpointid}, ${3:toggle})$0" | |
}, | |
"TogglePlayerAllDynamicRaceCPs": { | |
"prefix": "TogglePlayerAllDynamicRaceCPs", | |
"body": "TogglePlayerAllDynamicRaceCPs(${1:playerid}, ${2:toggle})$0" | |
}, | |
"IsPlayerInDynamicRaceCP": { | |
"prefix": "IsPlayerInDynamicRaceCP", | |
"body": "IsPlayerInDynamicRaceCP(${1:playerid}, ${2:STREAMER_TAG_RACE_CP checkpointid})$0" | |
}, | |
"GetPlayerVisibleDynamicRaceCP": { | |
"prefix": "GetPlayerVisibleDynamicRaceCP", | |
"body": "GetPlayerVisibleDynamicRaceCP(${1:playerid})$0" | |
}, | |
"CreateDynamicMapIcon": { | |
"prefix": "CreateDynamicMapIcon", | |
"body": "CreateDynamicMapIcon(${1:Float:x}, ${2:Float:y}, ${3:Float:z}, ${4:type}, ${5:color}, ${6:worldid = -1}, ${7:interiorid = -1}, ${8:playerid = -1}, ${9:Float:streamdistance = STREAMER_MAP_ICON_SD}, ${10:style = MAPICON_LOCAL}, ${11:STREAMER_TAG_AREA areaid = STREAMER_TAG_AREA -1})$0" | |
}, | |
"DestroyDynamicMapIcon": { | |
"prefix": "DestroyDynamicMapIcon", | |
"body": "DestroyDynamicMapIcon(${1:STREAMER_TAG_MAP_ICON iconid})$0" | |
}, | |
"IsValidDynamicMapIcon": { | |
"prefix": "IsValidDynamicMapIcon", | |
"body": "IsValidDynamicMapIcon(${1:STREAMER_TAG_MAP_ICON iconid})$0" | |
}, | |
"CreateDynamic3DTextLabel": { | |
"prefix": "CreateDynamic3DTextLabel", | |
"body": "CreateDynamic3DTextLabel(${1:const text[]}, ${2:color}, ${3:Float:x}, ${4:Float:y}, ${5:Float:z}, ${6:Float:drawdistance}, ${7:attachedplayer = INVALID_PLAYER_ID}, ${8:attachedvehicle = INVALID_VEHICLE_ID}, ${9:testlos = 0}, ${10:worldid = -1}, ${11:interiorid = -1}, ${12:playerid = -1}, ${13:Float:streamdistance = STREAMER_3D_TEXT_LABEL_SD}, ${14:STREAMER_TAG_AREA areaid = STREAMER_TAG_AREA -1})$0" | |
}, | |
"DestroyDynamic3DTextLabel": { | |
"prefix": "DestroyDynamic3DTextLabel", | |
"body": "DestroyDynamic3DTextLabel(${1:STREAMER_TAG_3D_TEXT_LABEL id})$0" | |
}, | |
"IsValidDynamic3DTextLabel": { | |
"prefix": "IsValidDynamic3DTextLabel", | |
"body": "IsValidDynamic3DTextLabel(${1:STREAMER_TAG_3D_TEXT_LABEL id})$0" | |
}, | |
"GetDynamic3DTextLabelText": { | |
"prefix": "GetDynamic3DTextLabelText", | |
"body": "GetDynamic3DTextLabelText(${1:STREAMER_TAG_3D_TEXT_LABEL id}, ${2:text[]}, ${3:maxtext = sizeof text})$0" | |
}, | |
"UpdateDynamic3DTextLabelText": { | |
"prefix": "UpdateDynamic3DTextLabelText", | |
"body": "UpdateDynamic3DTextLabelText(${1:STREAMER_TAG_3D_TEXT_LABEL id}, ${2:color}, ${3:const text[]})$0" | |
}, | |
"CreateDynamicCircle": { | |
"prefix": "CreateDynamicCircle", | |
"body": "CreateDynamicCircle(${1:Float:x}, ${2:Float:y}, ${3:Float:size}, ${4:worldid = -1}, ${5:interiorid = -1}, ${6:playerid = -1})$0" | |
}, | |
"CreateDynamicCylinder": { | |
"prefix": "CreateDynamicCylinder", | |
"body": "CreateDynamicCylinder(${1:Float:x}, ${2:Float:y}, ${3:Float:minz}, ${4:Float:maxz}, ${5:Float:size}, ${6:worldid = -1}, ${7:interiorid = -1}, ${8:playerid = -1})$0" | |
}, | |
"CreateDynamicSphere": { | |
"prefix": "CreateDynamicSphere", | |
"body": "CreateDynamicSphere(${1:Float:x}, ${2:Float:y}, ${3:Float:z}, ${4:Float:size}, ${5:worldid = -1}, ${6:interiorid = -1}, ${7:playerid = -1})$0" | |
}, | |
"CreateDynamicRectangle": { | |
"prefix": "CreateDynamicRectangle", | |
"body": "CreateDynamicRectangle(${1:Float:minx}, ${2:Float:miny}, ${3:Float:maxx}, ${4:Float:maxy}, ${5:worldid = -1}, ${6:interiorid = -1}, ${7:playerid = -1})$0" | |
}, | |
"CreateDynamicCuboid": { | |
"prefix": "CreateDynamicCuboid", | |
"body": "CreateDynamicCuboid(${1:Float:minx}, ${2:Float:miny}, ${3:Float:minz}, ${4:Float:maxx}, ${5:Float:maxy}, ${6:Float:maxz}, ${7:worldid = -1}, ${8:interiorid = -1}, ${9:playerid = -1})$0" | |
}, | |
"CreateDynamicCube": { | |
"prefix": "CreateDynamicCube", | |
"body": "CreateDynamicCube(${1:Float:minx}, ${2:Float:miny}, ${3:Float:minz}, ${4:Float:maxx}, ${5:Float:maxy}, ${6:Float:maxz}, ${7:worldid = -1}, ${8:interiorid = -1}, ${9:playerid = -1})$0" | |
}, | |
"CreateDynamicPolygon": { | |
"prefix": "CreateDynamicPolygon", | |
"body": "CreateDynamicPolygon(${1:Float:points[]}, ${2:Float:minz = -FLOAT_INFINITY}, ${3:Float:maxz = FLOAT_INFINITY}, ${4:maxpoints = sizeof points}, ${5:worldid = -1}, ${6:interiorid = -1}, ${7:playerid = -1})$0" | |
}, | |
"DestroyDynamicArea": { | |
"prefix": "DestroyDynamicArea", | |
"body": "DestroyDynamicArea(${1:STREAMER_TAG_AREA areaid})$0" | |
}, | |
"IsValidDynamicArea": { | |
"prefix": "IsValidDynamicArea", | |
"body": "IsValidDynamicArea(${1:STREAMER_TAG_AREA areaid})$0" | |
}, | |
"GetDynamicPolygonPoints": { | |
"prefix": "GetDynamicPolygonPoints", | |
"body": "GetDynamicPolygonPoints(${1:STREAMER_TAG_AREA areaid}, ${2:Float:points[]}, ${3:maxpoints = sizeof points})$0" | |
}, | |
"GetDynamicPolygonNumberPoints": { | |
"prefix": "GetDynamicPolygonNumberPoints", | |
"body": "GetDynamicPolygonNumberPoints(${1:STREAMER_TAG_AREA areaid})$0" | |
}, | |
"TogglePlayerDynamicArea": { | |
"prefix": "TogglePlayerDynamicArea", | |
"body": "TogglePlayerDynamicArea(${1:playerid}, ${2:STREAMER_TAG_AREA areaid}, ${3:toggle})$0" | |
}, | |
"TogglePlayerAllDynamicAreas": { | |
"prefix": "TogglePlayerAllDynamicAreas", | |
"body": "TogglePlayerAllDynamicAreas(${1:playerid}, ${2:toggle})$0" | |
}, | |
"IsPlayerInDynamicArea": { | |
"prefix": "IsPlayerInDynamicArea", | |
"body": "IsPlayerInDynamicArea(${1:playerid}, ${2:STREAMER_TAG_AREA areaid}, ${3:recheck = 0})$0" | |
}, | |
"IsPlayerInAnyDynamicArea": { | |
"prefix": "IsPlayerInAnyDynamicArea", | |
"body": "IsPlayerInAnyDynamicArea(${1:playerid}, ${2:recheck = 0})$0" | |
}, | |
"IsAnyPlayerInDynamicArea": { | |
"prefix": "IsAnyPlayerInDynamicArea", | |
"body": "IsAnyPlayerInDynamicArea(${1:STREAMER_TAG_AREA areaid}, ${2:recheck = 0})$0" | |
}, | |
"IsAnyPlayerInAnyDynamicArea": { | |
"prefix": "IsAnyPlayerInAnyDynamicArea", | |
"body": "IsAnyPlayerInAnyDynamicArea(${1:recheck = 0})$0" | |
}, | |
"GetPlayerDynamicAreas": { | |
"prefix": "GetPlayerDynamicAreas", | |
"body": "GetPlayerDynamicAreas(${1:playerid}, ${2:STREAMER_TAG_AREA areas[]}, ${3:maxareas = sizeof areas})$0" | |
}, | |
"GetPlayerNumberDynamicAreas": { | |
"prefix": "GetPlayerNumberDynamicAreas", | |
"body": "GetPlayerNumberDynamicAreas(${1:playerid})$0" | |
}, | |
"IsPointInDynamicArea": { | |
"prefix": "IsPointInDynamicArea", | |
"body": "IsPointInDynamicArea(${1:STREAMER_TAG_AREA areaid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z})$0" | |
}, | |
"IsPointInAnyDynamicArea": { | |
"prefix": "IsPointInAnyDynamicArea", | |
"body": "IsPointInAnyDynamicArea(${1:Float:x}, ${2:Float:y}, ${3:Float:z})$0" | |
}, | |
"GetDynamicAreasForPoint": { | |
"prefix": "GetDynamicAreasForPoint", | |
"body": "GetDynamicAreasForPoint(${1:Float:x}, ${2:Float:y}, ${3:Float:z}, ${4:STREAMER_TAG_AREA areas[]}, ${5:maxareas = sizeof areas})$0" | |
}, | |
"GetNumberDynamicAreasForPoint": { | |
"prefix": "GetNumberDynamicAreasForPoint", | |
"body": "GetNumberDynamicAreasForPoint(${1:Float:x}, ${2:Float:y}, ${3:Float:z})$0" | |
}, | |
"AttachDynamicAreaToObject": { | |
"prefix": "AttachDynamicAreaToObject", | |
"body": "AttachDynamicAreaToObject(${1:STREAMER_TAG_AREA areaid}, ${2:STREAMER_TAG_OBJECT_ALT objectid}, ${3:type = STREAMER_OBJECT_TYPE_DYNAMIC}, ${4:playerid = INVALID_PLAYER_ID}, ${5:Float:offsetx = 0.0}, ${6:Float:offsety = 0.0}, ${7:Float:offsetz = 0.0})$0" | |
}, | |
"AttachDynamicAreaToPlayer": { | |
"prefix": "AttachDynamicAreaToPlayer", | |
"body": "AttachDynamicAreaToPlayer(${1:STREAMER_TAG_AREA areaid}, ${2:playerid}, ${3:Float:offsetx = 0.0}, ${4:Float:offsety = 0.0}, ${5:Float:offsetz = 0.0})$0" | |
}, | |
"AttachDynamicAreaToVehicle": { | |
"prefix": "AttachDynamicAreaToVehicle", | |
"body": "AttachDynamicAreaToVehicle(${1:STREAMER_TAG_AREA areaid}, ${2:vehicleid}, ${3:Float:offsetx = 0.0}, ${4:Float:offsety = 0.0}, ${5:Float:offsetz = 0.0})$0" | |
}, | |
"CreateDynamicObjectEx": { | |
"prefix": "CreateDynamicObjectEx", | |
"body": "CreateDynamicObjectEx(${1:modelid}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z}, ${5:Float:rx}, ${6:Float:ry}, ${7:Float:rz}, ${8:Float:streamdistance = STREAMER_OBJECT_SD}, ${9:Float:drawdistance = STREAMER_OBJECT_DD}, ${10:worlds[] = { -1 }}, ${11:interiors[] = { -1 }}, ${12:players[] = { -1 }}, ${13:STREAMER_TAG_AREA areas[] = { STREAMER_TAG_AREA -1 }}, ${14:maxworlds = sizeof worlds}, ${15:maxinteriors = sizeof interiors}, ${16:maxplayers = sizeof players}, ${17:maxareas = sizeof areas})$0" | |
}, | |
"CreateDynamicPickupEx": { | |
"prefix": "CreateDynamicPickupEx", | |
"body": "CreateDynamicPickupEx(${1:modelid}, ${2:type}, ${3:Float:x}, ${4:Float:y}, ${5:Float:z}, ${6:Float:streamdistance = STREAMER_PICKUP_SD}, ${7:worlds[] = { -1 }}, ${8:interiors[] = { -1 }}, ${9:players[] = { -1 }}, ${10:STREAMER_TAG_AREA areas[] = { STREAMER_TAG_AREA -1 }}, ${11:maxworlds = sizeof worlds}, ${12:maxinteriors = sizeof interiors}, ${13:maxplayers = sizeof players}, ${14:maxareas = sizeof areas})$0" | |
}, | |
"CreateDynamicCPEx": { | |
"prefix": "CreateDynamicCPEx", | |
"body": "CreateDynamicCPEx(${1:Float:x}, ${2:Float:y}, ${3:Float:z}, ${4:Float:size}, ${5:Float:streamdistance = STREAMER_CP_SD}, ${6:worlds[] = { -1 }}, ${7:interiors[] = { -1 }}, ${8:players[] = { -1 }}, ${9:STREAMER_TAG_AREA areas[] = { STREAMER_TAG_AREA -1 }}, ${10:maxworlds = sizeof worlds}, ${11:maxinteriors = sizeof interiors}, ${12:maxplayers = sizeof players}, ${13:maxareas = sizeof areas})$0" | |
}, | |
"CreateDynamicRaceCPEx": { | |
"prefix": "CreateDynamicRaceCPEx", | |
"body": "CreateDynamicRaceCPEx(${1:type}, ${2:Float:x}, ${3:Float:y}, ${4:Float:z}, ${5:Float:nextx}, ${6:Float:nexty}, ${7:Float:nextz}, ${8:Float:size}, ${9:Float:streamdistance = STREAMER_RACE_CP_SD}, ${10:worlds[] = { -1 }}, ${11:interiors[] = { -1 }}, ${12:players[] = { -1 }}, ${13:STREAMER_TAG_AREA areas[] = { STREAMER_TAG_AREA -1 }}, ${14:maxworlds = sizeof worlds}, ${15:maxinteriors = sizeof interiors}, ${16:maxplayers = sizeof players}, ${17:maxareas = sizeof areas})$0" | |
}, | |
"CreateDynamicMapIconEx": { | |
"prefix": "CreateDynamicMapIconEx", | |
"body": "CreateDynamicMapIconEx(${1:Float:x}, ${2:Float:y}, ${3:Float:z}, ${4:type}, ${5:color}, ${6:style = MAPICON_LOCAL}, ${7:Float:streamdistance = STREAMER_MAP_ICON_SD}, ${8:worlds[] = { -1 }}, ${9:interiors[] = { -1 }}, ${10:players[] = { -1 }}, ${11:STREAMER_TAG_AREA areas[] = { STREAMER_TAG_AREA -1 }}, ${12:maxworlds = sizeof worlds}, ${13:maxinteriors = sizeof interiors}, ${14:maxplayers = sizeof players}, ${15:maxareas = sizeof areas})$0" | |
}, | |
"CreateDynamic3DTextLabelEx": { | |
"prefix": "CreateDynamic3DTextLabelEx", | |
"body": "CreateDynamic3DTextLabelEx(${1:const text[]}, ${2:color}, ${3:Float:x}, ${4:Float:y}, ${5:Float:z}, ${6:Float:drawdistance}, ${7:attachedplayer = INVALID_PLAYER_ID}, ${8:attachedvehicle = INVALID_VEHICLE_ID}, ${9:testlos = 0}, ${10:Float:streamdistance = STREAMER_3D_TEXT_LABEL_SD}, ${11:worlds[] = { -1 }}, ${12:interiors[] = { -1 }}, ${13:players[] = { -1 }}, ${14:STREAMER_TAG_AREA areas[] = { STREAMER_TAG_AREA -1 }}, ${15:maxworlds = sizeof worlds}, ${16:maxinteriors = sizeof interiors}, ${17:maxplayers = sizeof players}, ${18:maxareas = sizeof areas})$0" | |
}, | |
"CreateDynamicCircleEx": { | |
"prefix": "CreateDynamicCircleEx", | |
"body": "CreateDynamicCircleEx(${1:Float:x}, ${2:Float:y}, ${3:Float:size}, ${4:worlds[] = { -1 }}, ${5:interiors[] = { -1 }}, ${6:players[] = { -1 }}, ${7:maxworlds = sizeof worlds}, ${8:maxinteriors = sizeof interiors}, ${9:maxplayers = sizeof players})$0" | |
}, | |
"CreateDynamicCylinderEx": { | |
"prefix": "CreateDynamicCylinderEx", | |
"body": "CreateDynamicCylinderEx(${1:Float:x}, ${2:Float:y}, ${3:Float:minz}, ${4:Float:maxz}, ${5:Float:size}, ${6:worlds[] = { -1 }}, ${7:interiors[] = { -1 }}, ${8:players[] = { -1 }}, ${9:maxworlds = sizeof worlds}, ${10:maxinteriors = sizeof interiors}, ${11:maxplayers = sizeof players})$0" | |
}, | |
"CreateDynamicSphereEx": { | |
"prefix": "CreateDynamicSphereEx", | |
"body": "CreateDynamicSphereEx(${1:Float:x}, ${2:Float:y}, ${3:Float:z}, ${4:Float:size}, ${5:worlds[] = { -1 }}, ${6:interiors[] = { -1 }}, ${7:players[] = { -1 }}, ${8:maxworlds = sizeof worlds}, ${9:maxinteriors = sizeof interiors}, ${10:maxplayers = sizeof players})$0" | |
}, | |
"CreateDynamicRectangleEx": { | |
"prefix": "CreateDynamicRectangleEx", | |
"body": "CreateDynamicRectangleEx(${1:Float:minx}, ${2:Float:miny}, ${3:Float:maxx}, ${4:Float:maxy}, ${5:worlds[] = { -1 }}, ${6:interiors[] = { -1 }}, ${7:players[] = { -1 }}, ${8:maxworlds = sizeof worlds}, ${9:maxinteriors = sizeof interiors}, ${10:maxplayers = sizeof players})$0" | |
}, | |
"CreateDynamicCuboidEx": { | |
"prefix": "CreateDynamicCuboidEx", | |
"body": "CreateDynamicCuboidEx(${1:Float:minx}, ${2:Float:miny}, ${3:Float:minz}, ${4:Float:maxx}, ${5:Float:maxy}, ${6:Float:maxz}, ${7:worlds[] = { -1 }}, ${8:interiors[] = { -1 }}, ${9:players[] = { -1 }}, ${10:maxworlds = sizeof worlds}, ${11:maxinteriors = sizeof interiors}, ${12:maxplayers = sizeof players})$0" | |
}, | |
"CreateDynamicCubeEx": { | |
"prefix": "CreateDynamicCubeEx", | |
"body": "CreateDynamicCubeEx(${1:Float:minx}, ${2:Float:miny}, ${3:Float:minz}, ${4:Float:maxx}, ${5:Float:maxy}, ${6:Float:maxz}, ${7:worlds[] = { -1 }}, ${8:interiors[] = { -1 }}, ${9:players[] = { -1 }}, ${10:maxworlds = sizeof worlds}, ${11:maxinteriors = sizeof interiors}, ${12:maxplayers = sizeof players})$0" | |
}, | |
"CreateDynamicPolygonEx": { | |
"prefix": "CreateDynamicPolygonEx", | |
"body": "CreateDynamicPolygonEx(${1:Float:points[]}, ${2:Float:minz = -FLOAT_INFINITY}, ${3:Float:maxz = FLOAT_INFINITY}, ${4:maxpoints = sizeof points}, ${5:worlds[] = { -1 }}, ${6:interiors[] = { -1 }}, ${7:players[] = { -1 }}, ${8:maxworlds = sizeof worlds}, ${9:maxinteriors = sizeof interiors}, ${10:maxplayers = sizeof players})$0" | |
}, | |
"Streamer_TickRate": { | |
"prefix": "Streamer_TickRate", | |
"body": "Streamer_TickRate(${1:rate})$0" | |
}, | |
"Streamer_MaxItems": { | |
"prefix": "Streamer_MaxItems", | |
"body": "Streamer_MaxItems(${1:type}, ${2:items})$0" | |
}, | |
"Streamer_VisibleItems": { | |
"prefix": "Streamer_VisibleItems", | |
"body": "Streamer_VisibleItems(${1:type}, ${2:items}, ${3:playerid = -1})$0" | |
}, | |
"Streamer_CellDistance": { | |
"prefix": "Streamer_CellDistance", | |
"body": "Streamer_CellDistance(${1:Float:distance})$0" | |
}, | |
"Streamer_CellSize": { | |
"prefix": "Streamer_CellSize", | |
"body": "Streamer_CellSize(${1:Float:size})$0" | |
}, | |
"Streamer_CallbackHook": { | |
"prefix": "Streamer_CallbackHook", | |
"body": "Streamer_CallbackHook(${1:callback}, ${2:...})$0" | |
}, | |
"DestroyAllDynamicObjects": { | |
"prefix": "DestroyAllDynamicObjects", | |
"body": "DestroyAllDynamicObjects()$0" | |
}, | |
"CountDynamicObjects": { | |
"prefix": "CountDynamicObjects", | |
"body": "CountDynamicObjects()$0" | |
}, | |
"DestroyAllDynamicPickups": { | |
"prefix": "DestroyAllDynamicPickups", | |
"body": "DestroyAllDynamicPickups()$0" | |
}, | |
"CountDynamicPickups": { | |
"prefix": "CountDynamicPickups", | |
"body": "CountDynamicPickups()$0" | |
}, | |
"DestroyAllDynamicCPs": { | |
"prefix": "DestroyAllDynamicCPs", | |
"body": "DestroyAllDynamicCPs()$0" | |
}, | |
"CountDynamicCPs": { | |
"prefix": "CountDynamicCPs", | |
"body": "CountDynamicCPs()$0" | |
}, | |
"DestroyAllDynamicRaceCPs": { | |
"prefix": "DestroyAllDynamicRaceCPs", | |
"body": "DestroyAllDynamicRaceCPs()$0" | |
}, | |
"CountDynamicRaceCPs": { | |
"prefix": "CountDynamicRaceCPs", | |
"body": "CountDynamicRaceCPs()$0" | |
}, | |
"DestroyAllDynamicMapIcons": { | |
"prefix": "DestroyAllDynamicMapIcons", | |
"body": "DestroyAllDynamicMapIcons()$0" | |
}, | |
"CountDynamicMapIcons": { | |
"prefix": "CountDynamicMapIcons", | |
"body": "CountDynamicMapIcons()$0" | |
}, | |
"DestroyAllDynamic3DTextLabels": { | |
"prefix": "DestroyAllDynamic3DTextLabels", | |
"body": "DestroyAllDynamic3DTextLabels()$0" | |
}, | |
"CountDynamic3DTextLabels": { | |
"prefix": "CountDynamic3DTextLabels", | |
"body": "CountDynamic3DTextLabels()$0" | |
}, | |
"DestroyAllDynamicAreas": { | |
"prefix": "DestroyAllDynamicAreas", | |
"body": "DestroyAllDynamicAreas()$0" | |
}, | |
"CountDynamicAreas": { | |
"prefix": "CountDynamicAreas", | |
"body": "CountDynamicAreas()$0" | |
}, | |
"OnDynamicObjectMoved": { | |
"prefix": "OnDynamicObjectMoved", | |
"body": "OnDynamicObjectMoved(${1:STREAMER_TAG_OBJECT objectid})$0" | |
}, | |
"OnPlayerEditDynamicObject": { | |
"prefix": "OnPlayerEditDynamicObject", | |
"body": "OnPlayerEditDynamicObject(${1:playerid}, ${2:STREAMER_TAG_OBJECT objectid}, ${3:response}, ${4:Float:x}, ${5:Float:y}, ${6:Float:z}, ${7:Float:rx}, ${8:Float:ry}, ${9:Float:rz})$0" | |
}, | |
"OnPlayerSelectDynamicObject": { | |
"prefix": "OnPlayerSelectDynamicObject", | |
"body": "OnPlayerSelectDynamicObject(${1:playerid}, ${2:STREAMER_TAG_OBJECT objectid}, ${3:modelid}, ${4:Float:x}, ${5:Float:y}, ${6:Float:z})$0" | |
}, | |
"OnPlayerShootDynamicObject": { | |
"prefix": "OnPlayerShootDynamicObject", | |
"body": "OnPlayerShootDynamicObject(${1:playerid}, ${2:weaponid}, ${3:STREAMER_TAG_OBJECT objectid}, ${4:Float:x}, ${5:Float:y}, ${6:Float:z})$0" | |
}, | |
"OnPlayerPickUpDynamicPickup": { | |
"prefix": "OnPlayerPickUpDynamicPickup", | |
"body": "OnPlayerPickUpDynamicPickup(${1:playerid}, ${2:STREAMER_TAG_PICKUP pickupid})$0" | |
}, | |
"OnPlayerEnterDynamicCP": { | |
"prefix": "OnPlayerEnterDynamicCP", | |
"body": "OnPlayerEnterDynamicCP(${1:playerid}, ${2:STREAMER_TAG_CP checkpointid})$0" | |
}, | |
"OnPlayerLeaveDynamicCP": { | |
"prefix": "OnPlayerLeaveDynamicCP", | |
"body": "OnPlayerLeaveDynamicCP(${1:playerid}, ${2:STREAMER_TAG_CP checkpointid})$0" | |
}, | |
"OnPlayerEnterDynamicRaceCP": { | |
"prefix": "OnPlayerEnterDynamicRaceCP", | |
"body": "OnPlayerEnterDynamicRaceCP(${1:playerid}, ${2:STREAMER_TAG_RACE_CP checkpointid})$0" | |
}, | |
"OnPlayerLeaveDynamicRaceCP": { | |
"prefix": "OnPlayerLeaveDynamicRaceCP", | |
"body": "OnPlayerLeaveDynamicRaceCP(${1:playerid}, ${2:STREAMER_TAG_RACE_CP checkpointid})$0" | |
}, | |
"OnPlayerEnterDynamicArea": { | |
"prefix": "OnPlayerEnterDynamicArea", | |
"body": "OnPlayerEnterDynamicArea(${1:playerid}, ${2:STREAMER_TAG_AREA areaid})$0" | |
}, | |
"OnPlayerLeaveDynamicArea": { | |
"prefix": "OnPlayerLeaveDynamicArea", | |
"body": "OnPlayerLeaveDynamicArea(${1:playerid}, ${2:STREAMER_TAG_AREA areaid})$0" | |
}, | |
"Streamer_OnPluginError": { | |
"prefix": "Streamer_OnPluginError", | |
"body": "Streamer_OnPluginError(${1:error[]})$0" | |
}, | |
"strlen": { | |
"prefix": "strlen", | |
"body": "strlen(${1:const string[]})$0" | |
}, | |
"strpack": { | |
"prefix": "strpack", | |
"body": "strpack(${1:dest[]}, ${2:const source[]}, ${3:maxlength=sizeof dest})$0" | |
}, | |
"strunpack": { | |
"prefix": "strunpack", | |
"body": "strunpack(${1:dest[]}, ${2:const source[]}, ${3:maxlength=sizeof dest})$0" | |
}, | |
"strcat": { | |
"prefix": "strcat", | |
"body": "strcat(${1:dest[]}, ${2:const source[]}, ${3:maxlength=sizeof dest})$0" | |
}, | |
"strmid": { | |
"prefix": "strmid", | |
"body": "strmid(${1:dest[]}, ${2:const source[]}, ${3:start}, ${4:end}, ${5:maxlength=sizeof dest})$0" | |
}, | |
"strins": { | |
"prefix": "strins", | |
"body": "strins(${1:string[]}, ${2:const substr[]}, ${3:pos}, ${4:maxlength=sizeof string})$0" | |
}, | |
"strdel": { | |
"prefix": "strdel", | |
"body": "strdel(${1:string[]}, ${2:start}, ${3:end})$0" | |
}, | |
"strcmp": { | |
"prefix": "strcmp", | |
"body": "strcmp(${1:const string1[]}, ${2:const string2[]}, ${3:bool:ignorecase=false}, ${4:length=cellmax})$0" | |
}, | |
"strfind": { | |
"prefix": "strfind", | |
"body": "strfind(${1:const string[]}, ${2:const sub[]}, ${3:bool:ignorecase=false}, ${4:pos=0})$0" | |
}, | |
"strval": { | |
"prefix": "strval", | |
"body": "strval(${1:const string[]})$0" | |
}, | |
"valstr": { | |
"prefix": "valstr", | |
"body": "valstr(${1:dest[]}, ${2:value}, ${3:bool:pack=false})$0" | |
}, | |
"ispacked": { | |
"prefix": "ispacked", | |
"body": "ispacked(${1:const string[]})$0" | |
}, | |
"uudecode": { | |
"prefix": "uudecode", | |
"body": "uudecode(${1:dest[]}, ${2:const source[]}, ${3:maxlength=sizeof dest})$0" | |
}, | |
"uuencode": { | |
"prefix": "uuencode", | |
"body": "uuencode(${1:dest[]}, ${2:const source[]}, ${3:numbytes}, ${4:maxlength=sizeof dest})$0" | |
}, | |
"memcpy": { | |
"prefix": "memcpy", | |
"body": "memcpy(${1:dest[]}, ${2:const source[]}, ${3:index=0}, ${4:numbytes}, ${5:maxlength=sizeof dest})$0" | |
}, | |
"sprintf": { | |
"prefix": "sprintf", | |
"body": "sprintf(${1:const fmat[]}, ${2:...})$0" | |
}, | |
"strgetfirstc": { | |
"prefix": "strgetfirstc", | |
"body": "strgetfirstc(${1:const string[]})$0" | |
}, | |
"strgetc": { | |
"prefix": "strgetc", | |
"body": "strgetc(${1:const string[]}, ${2:index})$0" | |
}, | |
"strsize": { | |
"prefix": "strsize", | |
"body": "strsize(${1:const string[]})$0" | |
}, | |
"isempty": { | |
"prefix": "isempty", | |
"body": "isempty(${1:const string[]})$0" | |
}, | |
"isequal": { | |
"prefix": "isequal", | |
"body": "isequal(${1:const str1[]}, ${2:const str2[]}, ${3:bool:ignorecase = false})$0" | |
}, | |
"strexplode": { | |
"prefix": "strexplode", | |
"body": "strexplode(${1:output[][]}, ${2:const input[]}, ${3:const delimiter[] = !\"}, ${4:limit = cellmax}, ${5:bool:trim = true}, ${6:bool:ignorecase = false}, ${7:size1 = sizeof(output})$0" | |
}, | |
"strimplode": { | |
"prefix": "strimplode", | |
"body": "strimplode(${1:const glue[]}, ${2:output[]}, ${3:maxlength = sizeof(output})$0" | |
}, | |
"strreplace": { | |
"prefix": "strreplace", | |
"body": "strreplace(${1:string[]}, ${2:const search[]}, ${3:const replacement[]}, ${4:bool:ignorecase = false}, ${5:pos = 0}, ${6:limit = -1}, ${7:maxlength = sizeof(string})$0" | |
}, | |
"strtrim": { | |
"prefix": "strtrim", | |
"body": "strtrim(${1:string[]}, ${2:const chars[] = !\"\"}, ${3:string_edges:edge = edge_both})$0" | |
}, | |
"strpad": { | |
"prefix": "strpad", | |
"body": "strpad(${1:string[]}, ${2:length}, ${3:const substr[] = !\" \"}, ${4:string_edges:edge = edge_both}, ${5:bool:trim_first = true}, ${6:const trim_chars[] = !\"\"}, ${7:maxlength = sizeof(string})$0" | |
}, | |
"strwrap": { | |
"prefix": "strwrap", | |
"body": "strwrap(${1:const left[]}, ${2:string[]}, ${3:const right[]}, ${4:maxlength = sizeof(string})$0" | |
}, | |
"strcount": { | |
"prefix": "strcount", | |
"body": "strcount(${1:const string[]}, ${2:const sub[]}, ${3:bool:ignorecase = false}, ${4:bool:count_overlapped = false})$0" | |
}, | |
"strfromliteral": { | |
"prefix": "strfromliteral", | |
"body": "strfromliteral(${1:output[]}, ${2:const input[]}, ${3:pos = 0}, ${4:maxlength = sizeof(output})$0" | |
}, | |
"strtoliteral": { | |
"prefix": "strtoliteral", | |
"body": "strtoliteral(${1:output[]}, ${2:const input[]}, ${3:maxlength = sizeof(output})$0" | |
}, | |
"strfrombin": { | |
"prefix": "strfrombin", | |
"body": "strfrombin(${1:output[]}, ${2:const input[]}, ${3:inputlength = sizeof(input})$0" | |
}, | |
"strtobin": { | |
"prefix": "strtobin", | |
"body": "strtobin(${1:output[]}, ${2:const input[]}, ${3:maxlength = sizeof(output})$0" | |
}, | |
"strcatmid": { | |
"prefix": "strcatmid", | |
"body": "strcatmid(${1:dest[]}, ${2:const source[]}, ${3:start = 0}, ${4:end = -1}, ${5:maxlength = sizeof(dest})$0" | |
}, | |
"utf8encode": { | |
"prefix": "utf8encode", | |
"body": "utf8encode(${1:dest[]}, ${2:const source[]}, ${3:maxlength = sizeof(dest})$0" | |
}, | |
"utf8decode": { | |
"prefix": "utf8decode", | |
"body": "utf8decode(${1:dest[]}, ${2:const source[]}, ${3:maxlength = sizeof(dest})$0" | |
}, | |
"strurldecode": { | |
"prefix": "strurldecode", | |
"body": "strurldecode(${1:output[]}, ${2:const input[]}, ${3:maxlength = sizeof(output})$0" | |
}, | |
"strurlencode": { | |
"prefix": "strurlencode", | |
"body": "strurlencode(${1:output[]}, ${2:const input[]}, ${3:maxlength = sizeof(output})$0" | |
}, | |
"ret_strcatmid": { | |
"prefix": "ret_strcatmid", | |
"body": "ret_strcatmid(${1:const string[]}, ${2:const source[]}, ${3:start = 0}, ${4:end = -1})$0" | |
}, | |
"ret_strfrombin": { | |
"prefix": "ret_strfrombin", | |
"body": "ret_strfrombin(${1:const input[]}, ${2:inputlength = sizeof(input})$0" | |
}, | |
"ret_strimplode": { | |
"prefix": "ret_strimplode", | |
"body": "ret_strimplode(${1:const glue[]}, ${2:...})$0" | |
}, | |
"ret_strreplace": { | |
"prefix": "ret_strreplace", | |
"body": "ret_strreplace(${1:const string[]}, ${2:const search[]}, ${3:const replacement[]}, ${4:bool:ignorecase = false}, ${5:pos = 0}, ${6:limit = -1})$0" | |
}, | |
"ret_strfromliteral": { | |
"prefix": "ret_strfromliteral", | |
"body": "ret_strfromliteral(${1:const input[]}, ${2:pos = 0})$0" | |
}, | |
"ret_strtoliteral": { | |
"prefix": "ret_strtoliteral", | |
"body": "ret_strtoliteral(${1:const input[]}, ${2:bool:paranoid = true})$0" | |
}, | |
"ret_strtrim": { | |
"prefix": "ret_strtrim", | |
"body": "ret_strtrim(${1:const string[]}, ${2:const chars[] = !\"\"}, ${3:string_edges:edge = edge_both})$0" | |
}, | |
"ret_strpad": { | |
"prefix": "ret_strpad", | |
"body": "ret_strpad(${1:const string[]}, ${2:length}, ${3:const substr[] = !\" \"}, ${4:string_edges:edge = edge_both}, ${5:bool:trim_first = true}, ${6:const trim_chars[] = !\"\"})$0" | |
}, | |
"ret_strwrap": { | |
"prefix": "ret_strwrap", | |
"body": "ret_strwrap(${1:const left[]}, ${2:const string[]}, ${3:const right[]})$0" | |
}, | |
"ret_strurldecode": { | |
"prefix": "ret_strurldecode", | |
"body": "ret_strurldecode(${1:const input[]})$0" | |
}, | |
"ret_strurlencode": { | |
"prefix": "ret_strurlencode", | |
"body": "ret_strurlencode(${1:const input[]}, ${2:bool:pack = false})$0" | |
}, | |
"ret_utf8encode": { | |
"prefix": "ret_utf8encode", | |
"body": "ret_utf8encode(${1:const input[]})$0" | |
}, | |
"ret_utf8decode": { | |
"prefix": "ret_utf8decode", | |
"body": "ret_utf8decode(${1:const input[]})$0" | |
}, | |
"ret_strunpack": { | |
"prefix": "ret_strunpack", | |
"body": "ret_strunpack(${1:const source[]})$0" | |
}, | |
"ret_strcat": { | |
"prefix": "ret_strcat", | |
"body": "ret_strcat(${1:const string1[]}, ${2:const string2[]})$0" | |
}, | |
"ret_strmid": { | |
"prefix": "ret_strmid", | |
"body": "ret_strmid(${1:const source[]}, ${2:start}, ${3:end})$0" | |
}, | |
"ret_strins": { | |
"prefix": "ret_strins", | |
"body": "ret_strins(${1:const string[]}, ${2:const substr[]}, ${3:pos}, ${4:maxlength = sizeof(string})$0" | |
}, | |
"ret_strdel": { | |
"prefix": "ret_strdel", | |
"body": "ret_strdel(${1:const string[]}, ${2:start}, ${3:end})$0" | |
}, | |
"ret_valstr": { | |
"prefix": "ret_valstr", | |
"body": "ret_valstr(${1:value}, ${2:bool:pack = false})$0" | |
}, | |
"ret_GetPlayerName": { | |
"prefix": "ret_GetPlayerName", | |
"body": "ret_GetPlayerName(${1:playerid}, ${2:bool:pack = false})$0" | |
}, | |
"y_timers: task": { | |
"prefix": "task", | |
"body": "task ${1:name}[${2:delay}]() \n{\n\t${3}\n}$0" | |
}, | |
"gettime": { | |
"prefix": "gettime", | |
"body": "gettime(${1:hour=0}, ${2:minute=0}, ${3:second=0})$0" | |
}, | |
"getdate": { | |
"prefix": "getdate", | |
"body": "getdate(${1:year=0}, ${2:month=0}, ${3:day=0})$0" | |
}, | |
"tickcount": { | |
"prefix": "tickcount", | |
"body": "tickcount(${1:granularity=0})$0" | |
}, | |
"y_timers: timer": { | |
"prefix": "timer", | |
"body": "timer ${1:name}[${2:delay}](${3:args}) \n{\n\t${4}\n}$0" | |
}, | |
"y_command": { | |
"prefix": "YCMD", | |
"body": "YCMD:${1:command_name}(playerid, params[], help) \n{\n\t${4}\n\treturn 1;\n}$0" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment