Skip to content

Commit

Permalink
Fix player ip
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianTerhorst committed Jul 12, 2019
1 parent ad3fe1b commit 8631657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/src/altv-c-api/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ void Player_SetMaxHealth(alt::IPlayer* player, uint16_t maxHealth) {
player->SetMaxHealth(maxHealth);
}

void Player_GetIP(alt::IPlayer* player, const char* ip) {
void Player_GetIP(alt::IPlayer* player, const char*& ip) {
ip = player->GetIP().CStr();
}

Expand Down

0 comments on commit 8631657

Please sign in to comment.