• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Function Get ID by name
#4
(2021-03-16, 01:42 PM)Y_Less Wrote: Use sscanf - `u` already does this.



Of course I use sscanf,but not for this.



For example I have two players in database?

GospodinX (online)

Gospodin (offline)



I want to check is Gospodin online.



If I use sscanf u "Gospodin"

He will get me id of GospodinX but i dont want it.



Am I right?

Problem is with player which have smiliar names..
  Reply


Messages In This Thread
Function Get ID by name - by GospodinX - 2021-03-16, 01:34 PM
RE: Function Get ID by name - by Y_Less - 2021-03-16, 01:42 PM
RE: Function Get ID by name - by GospodinX - 2021-03-16, 04:22 PM
RE: Function Get ID by name - by Radical - 2021-03-16, 03:39 PM
RE: Function Get ID by name - by Y_Less - 2021-03-16, 04:30 PM
RE: Function Get ID by name - by GospodinX - 2021-03-16, 06:39 PM
RE: Function Get ID by name - by Pinch - 2021-03-17, 03:01 AM

Forum Jump: