Thread: [Ajuda] Include weapon-config
View Single Post
Old 26/05/2020, 04:57 PM   #2
RodrigoMSR
High-roller
 
RodrigoMSR's Avatar
 
Join Date: Mar 2015
Location: Brazil
Posts: 1,079
Reputation: 140
Default Re: Include weapon-config

Você está passando um issuerid inválido como índice de alguma array na callback OnPlayerDamage.

Ex:
PHP Code:
new Test[MAX_PLAYERS];

Test[issuerid] = 1
Uso correto:
PHP Code:
new Test[MAX_PLAYERS];

if(
issuerid != INVALID_PLAYER_ID)
{
    
Test[issuerid] = 1;

__________________
sttserver.net

RodrigoMSR is online now   Reply With Quote