Creating a dynamic group system with userfiles and dini - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Creating a dynamic group system with userfiles and dini (
/showthread.php?tid=110367)
Creating a dynamic group system with userfiles and dini -
MisterTickle - 26.11.2009
;
Re: Creating a dynamic group system with userfiles and dini -
miokie - 26.11.2009
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;
}
}
Re: Creating a dynamic group system with userfiles and dini -
saifo997 - 12.01.2010
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?