Fixed dynamic menu reading userid2 as userid
--HG-- branch : sourcemod-1.1.0 extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/sourcemod-1.1.0%401830
This commit is contained in:
parent
4ad308897f
commit
306be48027
@ -333,6 +333,10 @@ public ParamCheck(client)
|
||||
{
|
||||
playermethod = SteamId;
|
||||
}
|
||||
else if (strncmp(method,"userid2",7)==0)
|
||||
{
|
||||
playermethod = UserId2;
|
||||
}
|
||||
else if (strncmp(method,"userid",6)==0)
|
||||
{
|
||||
playermethod = UserId;
|
||||
@ -341,10 +345,6 @@ public ParamCheck(client)
|
||||
{
|
||||
playermethod = IpAddress;
|
||||
}
|
||||
else if (strncmp(method,"userid2",7)==0)
|
||||
{
|
||||
playermethod = UserId2;
|
||||
}
|
||||
else
|
||||
{
|
||||
playermethod = Name;
|
||||
|
Loading…
Reference in New Issue
Block a user