fmatch

warning

This function starts with lowercase letter.

Description

Find a filename matching a pattern.

NameDescription
nameThe string to hold the result in, returned as a packed string.
const patternThe pattern that should be matched. May contain wildcards.
indexThe number of the file, in case there are multiple matches.
sizeThe maximum size of parameter name

Returns

true on success, false on failure

Notes

warning

This function does not work in the current SA:MP version!

Related Functions