MCPcopy Create free account
hub / github.com/alliedmodders/sourcemod / GetPlayerResourceEntity

Function GetPlayerResourceEntity

extensions/sdktools/vnatives.cpp:1595–1603  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1593}
1594
1595static cell_t GetPlayerResourceEntity(IPluginContext *pContext, const cell_t *params)
1596{
1597 if (gamehelpers->GetHandleEntity(g_ResourceEntity) != NULL)
1598 {
1599 return g_ResourceEntity.GetEntryIndex();
1600 }
1601
1602 return -1;
1603}
1604
1605static cell_t GivePlayerAmmo(IPluginContext *pContext, const cell_t *params)
1606{

Callers

nothing calls this directly

Calls 1

GetHandleEntityMethod · 0.80

Tested by

no test coverage detected