fixed amb522
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401041
This commit is contained in:
parent
cb77ef5b7d
commit
17ac4f9331
@ -379,6 +379,11 @@ static cell_t CanUserTarget(IPluginContext *pContext, const cell_t *params)
|
||||
int client = params[1];
|
||||
int target = params[2];
|
||||
|
||||
if (client == 0)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
CPlayer *pPlayer = g_Players.GetPlayerByIndex(client);
|
||||
if (!pPlayer)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user