Home
Forum
Rules
Search
Login
Register
November 26, 2024, 01:30:32 pm
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Soldat Community Wiki
is the largest database containing articles and information regarding various Soldat subjects.
Official Soldat Forums
Server Talk
Scripting Releases
(Moderators:
chrisgbk
,
Bonecrusher
)
StrtoId
« previous
next »
Pages: [
1
]
Author
Topic: StrtoId (Read 1709 times)
0 Members and 1 Guest are viewing this topic.
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 **
Logged
Bonecrusher
Global Moderator
Veteran
Posts: 1397
High above
Re: StrtoId
«
Reply #1 on:
January 23, 2009, 08:13:34 pm »
yea i love it. SACRASM DETECTED
Logged
Im chill like that
iDante
Veteran
Posts: 1967
Re: StrtoId
«
Reply #2 on:
January 23, 2009, 08:19:40 pm »
useful to have around.
Logged
Pages: [
1
]
« previous
next »
Official Soldat Forums
Server Talk
Scripting Releases
(Moderators:
chrisgbk
,
Bonecrusher
)
StrtoId