Author Topic: StrtoId  (Read 1543 times)

0 Members and 1 Guest are viewing this topic.

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
StrtoId
« on: January 23, 2009, 08:01:35 pm »
Script Name: StrtoId
Script Description Gets a player Id out of a string
Author: DorkeyDear
Compile Test: Passed
Core Version: 2.6.3
Hosted by: Soldat Central - http://soldatcentral.com/

Full Description:
function StrtoId(Str: string; Id, PName, IP: boolean): byte;
if Id is true, Str may be values such as \'1\', \'4\', etc.
if PName is true, Str may be values that represent player\'s names
if IP is true, values that represent a player\'s IP may be used

function BasicStr(const Str: string; const Exceptions: set of char): string;
Used to lowercase and only have a-z characters in a string (with given exceptions)





(Size 763 B)
- http://soldatcentral.com/index.php?page=script&f=93 -


** Script hosted by Soldat Central! Please visit the author's script page and Rate this script **

Offline Bonecrusher

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1397
  • High above
    • Zabijaka.pl
Re: StrtoId
« Reply #1 on: January 23, 2009, 08:13:34 pm »
yea i love it. SACRASM DETECTED

Im chill like that

Offline iDante

  • Veteran
  • *****
  • Posts: 1967
Re: StrtoId
« Reply #2 on: January 23, 2009, 08:19:40 pm »
useful to have around.