Creating a dynamic group system with userfiles and dini
#1

;
Reply
#2

This is what I use, strmatch,and think you might be able to use aswell:

pawn Code:
if (strmatch(RandomString[Name],PlayerName(playerid)))
This basically checks if RandomString[Name] is Equal to PlayerName(playerid).

pawn Code:
stock strmatch(const String1[], const String2[])
{
    if ((strcmp(String1, String2, true, strlen(String2)) == 0) && (strlen(String2) == strlen(String1)))
    {
        return true;
    }
    else
    {
        return false;
    }
}
Reply
#3

C:\Documents and Settings\user\Desktop\myown\filterscripts\gang.pwn (64) : warning 203: symbol is never used: "dcmd_cgroup"
C:\Documents and Settings\user\Desktop\myown\filterscripts\gang.pwn (64) : warning 203: symbol is never used: "dcmd_dgroup"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Warnings.
why?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)