14.07.2016, 16:28
GetPlayerIp itself only returns 0 or 1 depending on whether the player is connected. It cannot be used inline like that. The result is stored in the variable that is passed as the second parameter (playerIP) and it is this value that you will want to use in format().