• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] how to get the last digit of a player's IP
#16
(2021-07-16, 08:26 PM)Kwarde Wrote:
Quote:i simply removed the ip[] = "192.168.1.255" variable, and replaced it with the player's ip and now it works perfectly

That was exactly what you should had done in the first place.. I'll make sure to explicitly mention that an eventual next time ;-).



agreed, should have thought a bit better about it, and ultimately, sscanf was the best solution to this problem. that function really helped and i even learned something new from it.
  Reply


Messages In This Thread
RE: how to get the last digit of a player's IP - by mems - 2021-07-16, 08:33 PM

Forum Jump: