Number checking
#1

Hies

I'm creating phone system, and I've stuck on one thing. I need give all players unique number - but how can i do it?
I guess something with:
Код:
	new numb = 1000+ random(9999);
  dini_IntSet("numeriai.ini", "PlayerName(playerid)", numb);
and how to check on the "numb" if the number is'nt in use from "numeriai.ini" file?

Thanks,
Simas.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)