if(PlayerInfo[Mute][playerid] == 1) { SendClientMessage(playerid, TEAM_CYAN_COLOR, " You can't speak, you have been muted !"); return 1; } if(PlayerInfo[PlayerCuffed][playerid] > 0) { SendClientMessage(playerid, COLOR_GREY, " You cannot do this while Cuffed !"); return 1; } GetPlayerName(playerid, sendername, sizeof(sendername)); GiveNameSpace(sendername); new length = strlen(cmdtext); while ((idx < length) && (cmdtext[idx] <= ' ')) { idx++; } new offset = idx; new result[128]; while ((idx < length) && ((idx - offset) < (sizeof(result) - 1))) { result[idx - offset] = cmdtext[idx]; idx++; } result[idx - offset] = EOS; if(!strlen(result))
error 033: array must be indexed (variable "Mute") error 033: array must be indexed (variable "PlayerCuffed")
PlayerInfo[playerid][Mute] ? |
i dont know... whats wrong?! o.O Thats why I need help >.< |
PlayerInfo[playerid][Mute] PlayerInfo[playerid][PlayerCuffed]
PlayerInfo[Mute][playerid] PlayerInfo[PlayerCuffed][playerid]