Added variables for common self natives

This commit is contained in:
xM4ddy
2022-05-07 18:27:59 -04:00
parent 07bdd6a927
commit 0832ae4603
19 changed files with 67 additions and 59 deletions

View File

@ -64,7 +64,7 @@ namespace big
{
components::selectable(item["DisplayName"], item["Name"] == search, [&item]
{
const auto location = ENTITY::GET_ENTITY_COORDS(PLAYER::PLAYER_PED_ID(), true);
const auto location = self::pos;
const Vehicle veh = vehicle::spawn(item["Name"], location, 0.f);
if (g->spawn.spawn_inside)