19.12.2015, 15:29
1. It does not need to be a two dimensional array, remove the second set of square braces.
2. To loop over the array, use:
Remember: you want to check the value of the index, not the index itself.
2. To loop over the array, use:
PHP код:
for(new i; i < sizeof(ForbiddenWeapons); i++)
{
if(GetPlayerWeapon(playerid) == ForbiddenWeapons[i])
{
// stuff
}
}

