I'm sure i'll get this right eventually.
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402250
This commit is contained in:
parent
8a7ced18de
commit
72a1fb06d0
@ -922,7 +922,7 @@ static cell_t ActivateEntity(IPluginContext *pContext, const cell_t *params)
|
||||
static cell_t SetClientInfo(IPluginContext *pContext, const cell_t *params)
|
||||
{
|
||||
IGamePlayer *player = playerhelpers->GetGamePlayer(params[1]);
|
||||
IClient *pClient = iserver->GetClient(params[1]);
|
||||
IClient *pClient = iserver->GetClient(params[1]-1);
|
||||
if (player == NULL || pClient == NULL)
|
||||
{
|
||||
return pContext->ThrowNativeError("Invalid client index %d", params[1]);
|
||||
|
Loading…
Reference in New Issue
Block a user