AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   equali functions (https://forums.alliedmods.net/showthread.php?t=49280)

SAMURAI16 12-31-2006 06:21

equali functions
 
i have some adminmod functions i need need equali amxx functions with them. I will tell what does that functions in adminmod, and if can somebody tell me equali functions in amxx

1) strstripquotes(str) - Strips the quotes from the beginning and ending of str, if they exist. Ignores those in the middle.

2) servertime(sTimeString, iMaxLen, sFormat = "none") - Stores the current time of the server into the string sTimeString of size iMaxLen. If sFormat is "none" a default format is used (e.g. "Wed Jun 30 21:49:08 1993"). sFormat, if specified, is of the form used by the strftime() system call. See the strftime man page or the manual for details.

3) strcpy( dest, source, maxlen ) - Copy the string in source to the string dest. maxlen is the size of the destination array.

I hope to somebody help me

spider853 12-31-2006 09:09

Re: equali functions
 
equali
Core (string.inc) Description
equali - Checks if two strings are equal, case insensitively. Syntax
equali ( const a[], const b[], [ c ] ) Type
Native Notes
If c is specified, c characters are compared only.

SAMURAI16 12-31-2006 09:11

Re: equali functions
 
:|
I want to port that adminmod functions ; i tell you what does on adminmod and i need similar functions to amxx
You understand now ?

|POW|Da_ghost 12-31-2006 09:58

Re: equali functions
 
I got this for number 1 : Code:


Code:
remove_quotes(str)


Edit

Code:
copy( dest[], len, const src[] )

SAMURAI16 12-31-2006 09:59

Re: equali functions
 
Thanks !! a lot

|POW|Da_ghost 12-31-2006 10:05

Re: equali functions
 
Also i edited my first post in this topic.
And for the second one try this http://www.amxmodx.org/funcwiki.php?go=func&id=250


All times are GMT -4. The time now is 22:27.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.